40 #ifndef pressureControl_H 41 #define pressureControl_H 88 const bool pRefRequired =
true
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
scalar refValue() const
Return the pressure reference level.
bool limit(volScalarField &p) const
Limit the pressure if necessary and return true if so.
Provides controls for the pressure reference is closed-volume simulations and a general method for li...
pressureControl(const volScalarField &p, const volScalarField &rho, const dictionary &dict, const bool pRefRequired=true)
Construct from the SIMPLE/PIMPLE sub-dictionary.
label refCell() const
Return the cell in which the reference pressure is set.