55 lines
1.5 KiB
C++
Executable file
55 lines
1.5 KiB
C++
Executable file
/*--------------------------------*- 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;
|
|
location "0";
|
|
object p;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [1 -1 -2 0 0 0 0];
|
|
|
|
internalField uniform 101325;
|
|
|
|
boundaryField
|
|
{
|
|
outlet
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 101325;
|
|
}
|
|
|
|
sides
|
|
{
|
|
type uniformDensityHydrostaticPressure;
|
|
rho 1.2;
|
|
pRefValue 101325;
|
|
pRefPoint (0 0 0);
|
|
value $internalField;
|
|
}
|
|
base
|
|
{
|
|
type buoyantPressure;
|
|
value $internalField;
|
|
}
|
|
inlet
|
|
{
|
|
type buoyantPressure;
|
|
value $internalField;
|
|
}
|
|
frontBack
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|