73 lines
1.6 KiB
C++
73 lines
1.6 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 steady-state, use the bounded form of advection schemes
|
|
#ifeq $!ddtSchemes/default steadyState
|
|
div(phi,U) bounded Gauss linearUpwind limited;
|
|
turbulence bounded Gauss limitedLinear 1;
|
|
#else
|
|
div(phi,U) Gauss linearUpwind limited;
|
|
turbulence Gauss limitedLinear 1;
|
|
#endif
|
|
|
|
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;
|
|
}
|
|
|
|
// ************************************************************************* //
|