Public Member Functions | List of all members
pressureControl Class Reference

Provides controls for the pressure reference is closed-volume simulations and a general method for limiting the pressure during the startup of steady-state simulations. More...

Public Member Functions

 pressureControl (const volScalarField &p, const volScalarField &rho, const dictionary &dict, const bool pRefRequired=true)
 
label refCell () const
 
scalar refValue () const
 
bool limit (volScalarField &p) const
 

Detailed Description

Provides controls for the pressure reference is closed-volume simulations and a general method for limiting the pressure during the startup of steady-state simulations.

Source files

Definition at line 50 of file pressureControl.H.

Constructor & Destructor Documentation

◆ pressureControl()

pressureControl ( const volScalarField p,
const volScalarField rho,
const dictionary dict,
const bool  pRefRequired = true 
)

Member Function Documentation

◆ refCell()

Foam::label refCell ( ) const
inline

Definition at line 23 of file pressureControlI.H.

◆ refValue()

Foam::scalar refValue ( ) const
inline

Definition at line 29 of file pressureControlI.H.

◆ limit()

bool limit ( volScalarField p) const

Definition at line 224 of file pressureControl.C.

References Foam::endl(), Foam::Info, Foam::max(), Foam::min(), p, pMin, and dimensioned::value().

Here is the call graph for this function:

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