Added calls to setFluxRequired for p, p_rgh etc. in all solvers which avoids the need to add fluxRequired entries in fvSchemes dictionaries.
75 lines
2.0 KiB
C++
75 lines
2.0 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.*\)" Gauss vanLeer;
|
|
"div\(phir,alpha.*\)" 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.particles,Theta.particles) Gauss limitedLinear 1;
|
|
|
|
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
|
|
|
div((((alpha.air*thermo:rho.air)*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
|
|
|
div((((thermo:rho.particles*nut.particles)*dev2(T(grad(U.particles))))+(((thermo:rho.particles*lambda.particles)*div(phi.particles))*I))) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear uncorrected;
|
|
bounded Gauss linear uncorrected;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default uncorrected;
|
|
bounded uncorrected;
|
|
}
|
|
|
|
wallDist
|
|
{
|
|
method meshWave;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|