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 |
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.
Definition at line 50 of file pressureControl.H.
pressureControl | ( | const volScalarField & | p, |
const volScalarField & | rho, | ||
const dictionary & | dict, | ||
const bool | pRefRequired = true |
||
) |
Definition at line 27 of file pressureControl.C.
References dict, Foam::dimDensity, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, Foam::Info, IOWarningInFunction, Foam::max(), Foam::min(), Foam::nl, p, pMin, reduce(), rho, rhoMax, rhoMin, and Foam::setRefCell().
|
inline |
Definition at line 23 of file pressureControlI.H.
|
inline |
Definition at line 29 of file pressureControlI.H.
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().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.