mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
While p and pmh (pd in OpenFOAM-1.5.?) are equivalent on orthogonal meshes they are not on non-orthogonal meshes and the difference is very important for buoyancy-dominated flows such as settling. settlingFoam is now written in terms of pmh (static pressure minus hydrostatic pressure) which used to be called pd but that confused too may people.
66 lines
1.6 KiB
C++
66 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.6 |
|
|
| \\ / 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,U) Gauss limitedLinearV 1;
|
|
div(phi,k) Gauss limitedLinear 1;
|
|
div(phi,epsilon) Gauss limitedLinear 1;
|
|
div(phiAlpha,Alpha) Gauss limitedLinear01 1;
|
|
div(phiVdj,Vdj) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default none;
|
|
laplacian(muEff,U) Gauss linear corrected;
|
|
laplacian((rho*(1|A(U))),pmh) Gauss linear corrected;
|
|
laplacian(DkEff,k) Gauss linear corrected;
|
|
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
|
laplacian(mut,Alpha) Gauss linear corrected;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default corrected;
|
|
}
|
|
|
|
fluxRequired
|
|
{
|
|
default no;
|
|
pmh ;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|