prghTotalPressure
Description
The prghTotalPressure is a boundary condition that provides
static pressure condition for p_rgh, calculated as:
where:
| Property | Description |
|---|---|
| Pseudo hydrostatic pressure [Pa] | |
| Static pressure [Pa] | |
| Total pressure [Pa] | |
| Height in the opposite direction to gravity | |
| Reference height in the opposite direction to gravity | |
| Density | |
| Acceleration 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 prghTotalPressure;
p0 <scalarField>;
// Optional entries
rho <word>;
phi <word>;
U <word>;
// Inherited entries
...
}
where:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
type | Type name: prghTotalPressure | word | yes | - |
p0 | Total pressure field | word | yes | - |
rho | Name of density field | word | no | rho |
phi | Name of flux field | word | no | phi |
U | Name of velocity field | word | no | U |
The inherited entries are elaborated in:
Further information
Tutorial:
Source code:
API:
History: Introduced in version 2.4.0