The FOAM file format has not changed from version 2.0 in many years and so there is no longer a need for the 'version' entry in the FoamFile header to be required and to reduce unnecessary clutter it is now optional, defaulting to the current file format 2.0.
69 lines
1.5 KiB
C++
69 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
// For transient, replace steadyState, e.g. with Euler
|
|
default steadyState;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
|
|
limited cellLimited Gauss linear 1;
|
|
grad(U) $limited;
|
|
grad(k) $limited;
|
|
grad(omega) $limited;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
|
|
// For transient, remove "bounded"
|
|
div(phi,U) bounded Gauss linearUpwind limited;
|
|
|
|
// For transient, remove "bounded"
|
|
turbulence bounded Gauss limitedLinear 1;
|
|
div(phi,k) $turbulence;
|
|
div(phi,omega) $turbulence;
|
|
div(phi,epsilon) $turbulence;
|
|
|
|
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear corrected;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default corrected;
|
|
}
|
|
|
|
wallDist
|
|
{
|
|
method meshWave;
|
|
}
|
|
|
|
// ************************************************************************* //
|