pressureReference Class Reference

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...
 

Detailed Description

Provides controls for the pressure reference in closed-volume simulations.

Source files

Definition at line 50 of file pressureReference.H.

Constructor & Destructor Documentation

◆ pressureReference() [1/2]

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().

Here is the call graph for this function:

◆ pressureReference() [2/2]

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.

Member Function Documentation

◆ refCell()

Foam::label refCell ( ) const
inline

Return the cell in which the reference pressure is set.

Definition at line 28 of file pressureReferenceI.H.

◆ refValue()

Foam::scalar refValue ( ) const
inline

Return the pressure reference level.

Definition at line 34 of file pressureReferenceI.H.


The documentation for this class was generated from the following files: