Description🔗
The prghPressure is a boundary condition that provides static pressure
condition for p_rgh, calculated as:
where:
| Property | Description |
|---|---|
| \(p_{rgh}\) | Pseudo hydrostatic pressure [Pa] |
| \(p\) | Static pressure [Pa] |
| \(h\) | Height in the opposite direction to gravity |
| \(h_{ref}\) | Reference height in the opposite direction to gravity |
| \(\rho\) | Density |
| \(g\) | 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 prghPressure;
p <scalarField>;
// Optional entries
rho <word>;
// Inherited entries
...
}
where:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
type |
Type name: prghPressure
|
word | yes | - |
p |
Static pressure | scalarField | yes | - |
rho |
Name of density field | word | no | rho |
The inherited entries are elaborated in:
Further information🔗
Tutorial:
Source code:
API:
History:
- Introduced in version 2.3.0
