Added calls to setFluxRequired for p, p_rgh etc. in all solvers which avoids the need to add fluxRequired entries in fvSchemes dictionaries.
63 lines
1.7 KiB
C++
63 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default Euler;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
|
|
div(phi,alpha.air) Gauss vanLeer;
|
|
div(phir,alpha.air) Gauss vanLeer;
|
|
|
|
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
|
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
|
|
|
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
|
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
|
"div\(alphaPhi.*,p\)" Gauss limitedLinear 1;
|
|
"div\(alphaRhoPhi.*,k.*\)" Gauss limitedLinear 1;
|
|
|
|
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear uncorrected;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default uncorrected;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|