Abstract class for barotropic compressibility models. More...
#include <barotropicCompressibilityModel/barotropicCompressibilityModel.H>
Abstract class for barotropic compressibility models.
Definition at line 61 of file barotropicCompressibilityModel.H.
Public Member Functions | |
TypeName ("barotropicCompressibilityModel") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, barotropicCompressibilityModel, dictionary,(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName),(compressibilityProperties, gamma, psiName)) | |
barotropicCompressibilityModel (const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi") | |
Construct from components.
| |
virtual | ~barotropicCompressibilityModel () |
const dictionary & | compressibilityProperties () const |
Return the phase transport properties dictionary.
| |
const volScalarField & | psi () const |
Return the compressibility.
| |
virtual void | correct ()=0 |
Correct the compressibility.
| |
virtual bool | read (const dictionary &compressibilityProperties)=0 |
Read compressibilityProperties dictionary.
| |
Static Public Member Functions | |
static autoPtr < barotropicCompressibilityModel > | New (const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi") |
Return a reference to the selected compressibility model.
| |
Protected Member Functions | |
barotropicCompressibilityModel (const barotropicCompressibilityModel &) | |
Disallow copy construct.
| |
void | operator= (const barotropicCompressibilityModel &) |
Disallow default bitwise assignment.
| |
Protected Attributes | |
dictionary | compressibilityProperties_ |
volScalarField | psi_ |
const volScalarField & | gamma_ |
barotropicCompressibilityModel | ( | const barotropicCompressibilityModel & | ) | [protected]
|
Disallow copy construct.
barotropicCompressibilityModel | ( | const dictionary & | compressibilityProperties, |
const volScalarField & | gamma, | ||
const word & | psiName = "psi"
|
||
) |
Construct from components.
Definition at line 42 of file barotropicCompressibilityModel.C.
virtual ~barotropicCompressibilityModel | ( | ) | [inline, virtual]
|
Definition at line 129 of file barotropicCompressibilityModel.H.
void operator= | ( | const barotropicCompressibilityModel & | ) | [protected]
|
Disallow default bitwise assignment.
TypeName | ( | "barotropicCompressibilityModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
barotropicCompressibilityModel | , | ||
dictionary | , | ||
(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName) | , | ||
(compressibilityProperties, gamma, psiName) | |||
) |
Foam::autoPtr< Foam::barotropicCompressibilityModel > New | ( | const dictionary & | compressibilityProperties, |
const volScalarField & | gamma, | ||
const word & | psiName = "psi"
|
||
) | [static]
|
Return a reference to the selected compressibility model.
Definition at line 32 of file newBarotropicCompressibilityModel.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, and dictionary::lookup().
const dictionary& compressibilityProperties | ( | ) | const [inline]
|
Return the phase transport properties dictionary.
Definition at line 136 of file barotropicCompressibilityModel.H.
References barotropicCompressibilityModel::compressibilityProperties_.
const volScalarField& psi | ( | ) | const [inline]
|
Return the compressibility.
Definition at line 142 of file barotropicCompressibilityModel.H.
References barotropicCompressibilityModel::psi_.
virtual void correct | ( | ) | [pure virtual]
|
bool read | ( | const dictionary & | compressibilityProperties ) | [pure virtual]
|
Read compressibilityProperties dictionary.
Implemented in Chung, linear, and Wallis.
Definition at line 67 of file barotropicCompressibilityModel.C.
Referenced by Wallis::read(), Chung::read(), and linear::read().
dictionary compressibilityProperties_ [protected]
|
Definition at line 68 of file barotropicCompressibilityModel.H.
Referenced by barotropicCompressibilityModel::compressibilityProperties().
volScalarField psi_ [protected]
|
Definition at line 70 of file barotropicCompressibilityModel.H.
Referenced by Wallis::correct(), Chung::correct(), linear::correct(), and barotropicCompressibilityModel::psi().
const volScalarField& gamma_ [protected]
|
Definition at line 71 of file barotropicCompressibilityModel.H.
Referenced by Wallis::correct(), Chung::correct(), and linear::correct().