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.
145 lines
2.8 KiB
C++
145 lines
2.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.6 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
object pmh;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [1 -1 -2 0 0 0 0];
|
|
|
|
internalField uniform 0;
|
|
|
|
boundaryField
|
|
{
|
|
SYMP3
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
INLE1
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
OUTL9
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
OUTL10
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
OUTL11
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
OUTL12
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL6
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL8
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL61
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL62
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL63
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL64
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL65
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL66
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL67
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL68
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL69
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL7
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
WALL70
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 0;
|
|
}
|
|
|
|
OUTL15
|
|
{
|
|
type fixedValue;
|
|
value uniform 0;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|