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 31 of file pressureReference.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, p, and Foam::setRefCell().
pressureReference | ( | const volScalarField & | p, |
const dictionary & | dict, | ||
const bool | pRefRequired = true |
||
) |
Construct from the simple/pimple sub-dictionary.
Definition at line 111 of file pressureReference.C.
|
inline |
Return the cell in which the reference pressure is set.
Definition at line 28 of file pressureReferenceI.H.
Referenced by Foam::fv::CorrectPhi(), incompressibleDenseParticleFluid::correctPressure(), incompressibleFluid::correctPressure(), and main().
|
inline |
Return the pressure reference level.
Definition at line 34 of file pressureReferenceI.H.
Referenced by incompressibleDenseParticleFluid::correctPressure(), incompressibleFluid::correctPressure(), and main().