Skip to main content

prghPressure

Description

The prghPressure is a boundary condition that provides static pressure condition for p_rgh, calculated as:

prgh=pρg(hhref) p_{rgh} = p - \rho g (h - h_{ref})

where:

PropertyDescription
prghp_{rgh}Pseudo hydrostatic pressure [Pa]
ppStatic pressure [Pa]
hhHeight in the opposite direction to gravity
hrefh_{ref}Reference height in the opposite direction to gravity
ρ\rhoDensity
ggAcceleration due to gravity [m/s^2]

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type prghPressure;
p <scalarField>;

// Optional entries
rho <word>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: prghPressurewordyes-
pStatic pressurescalarFieldyes-
rhoName of density fieldwordnorho

The inherited entries are elaborated in:

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.3.0