Provides controls for the pressure reference in closed-volume simulations. More...
Public Member Functions | |
pressureReference (const volScalarField &p, const volScalarField &pRef, const dictionary &dict, const bool pRefRequired=true) | |
Construct from the simple/pimple sub-dictionary. More... | |
pressureReference (const volScalarField &p, const dictionary &dict, const bool pRefRequired=true) | |
Construct from the simple/pimple sub-dictionary. More... | |
label | refCell () const |
Return the cell in which the reference pressure is set. More... | |
scalar | refValue () const |
Return the pressure reference level. More... | |
Provides controls for the pressure reference in closed-volume simulations.
Definition at line 50 of file pressureReference.H.
pressureReference | ( | const volScalarField & | p, |
const volScalarField & | pRef, | ||
const dictionary & | dict, | ||
const bool | pRefRequired = true |
||
) |
Construct from the simple/pimple sub-dictionary.
supporting the pressure and derived pressure fields (e.g. p_rgh)
Definition at line 32 of file pressureReference.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::found(), dictionary::lookup(), and Foam::setRefCell().
pressureReference | ( | const volScalarField & | p, |
const dictionary & | dict, | ||
const bool | pRefRequired = true |
||
) |
Construct from the simple/pimple sub-dictionary.
Definition at line 112 of file pressureReference.C.
|
inline |
Return the cell in which the reference pressure is set.
Definition at line 28 of file pressureReferenceI.H.
|
inline |
Return the pressure reference level.
Definition at line 34 of file pressureReferenceI.H.