fixedPressureCompressibleDensity
Description
The fixedPressureCompressibleDensity is a pressure boundary condition that
calculates a (liquid) compressible density as a function of pressure and
fluid properties.
The governing equations are as follows:
where:
| Property | Description |
|---|---|
| Density [kg/m^3] | |
| Saturation liquid density [kg/m^3] | |
| Liquid compressibility [-] | |
| Pressure [Pa] | |
| Saturation pressure [Pa] |
The variables and are retrieved from the
thermodynamicProperties dictionary.
Usage
The condition requires entries in both the boundary and field files.
Boundary file
<patchName>
{
type patch;
...
}
Field file
<patchName>
{
// Mandatory entries
type fixedPressureCompressibleDensity;
// Optional entries
p <word>;
// Inherited entries
...
}
where:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
type | Type name: fixedPressureCompressibleDensity | word | yes | - |
p | Name of pressure field | word | no | p |
The inherited entries are elaborated in:
Further information
Tutorial:
- N/A
Source code:
API:
History: Introduced in version 1.6