openfoam/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/0.org/p_gh

46 lines
1.2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p_gh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
freeSurface
{
type waveSurfacePressure;
value uniform 0;
}
walls
{
type zeroGradient;
}
floatingObject
{
type fixedFluxPressure;
value uniform 0;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //