uniformDensityHydrostaticPressure
Description
The uniformDensityHydrostaticPressure is a boundary condition that
provides a hydrostatic pressure condition, calculated as:
where:
| Property | Description |
|---|---|
| Hydrostatic pressure [Pa] | |
| Reference pressure [Pa] | |
| Reference point in Cartesian coordinates | |
| Density (assumed uniform) | |
| 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 uniformDensityHydrostaticPressure;
rho <scalar>;
pRefValue <scalar>;
pRefPoint <vector>;
// Inherited entries
...
}
where:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
type | Type name: uniformDensityHydrostaticPressure | word | yes | - |
rho | Value of density | scalar | yes | - |
pRefValue | Reference pressure [Pa] | scalar | yes | - |
pRefPoint | Reference pressure location | vector | yes | - |
The inherited entries are elaborated in:
Further information
Tutorial:
- N/A
Source code:
API:
History: Introduced in version 1.6