Abstract class for barotropic compressibility models. More...
Public Member Functions | |
TypeName ("barotropicCompressibilityModel") | |
Runtime type information. More... | |
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. More... | |
virtual | ~barotropicCompressibilityModel () |
Destructor. More... | |
const dictionary & | compressibilityProperties () const |
Return the phase transport properties dictionary. More... | |
const volScalarField & | psi () const |
Return the compressibility. More... | |
virtual void | correct ()=0 |
Correct the compressibility. More... | |
virtual bool | read (const dictionary &compressibilityProperties)=0 |
Read compressibilityProperties dictionary. More... | |
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. More... | |
Protected Member Functions | |
barotropicCompressibilityModel (const barotropicCompressibilityModel &) | |
Disallow copy construct. More... | |
void | operator= (const barotropicCompressibilityModel &) |
Disallow default bitwise assignment. More... | |
Protected Attributes | |
dictionary | compressibilityProperties_ |
volScalarField | psi_ |
const volScalarField & | gamma_ |
Abstract class for barotropic compressibility models.
Definition at line 61 of file barotropicCompressibilityModel.H.
|
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.
References barotropicCompressibilityModel::read().
|
inlinevirtual |
Destructor.
Definition at line 128 of file barotropicCompressibilityModel.H.
|
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) | |||
) |
|
static |
Return a reference to the selected compressibility model.
Definition at line 32 of file barotropicCompressibilityModelNew.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), and Foam::nl.
|
inline |
Return the phase transport properties dictionary.
Definition at line 135 of file barotropicCompressibilityModel.H.
References barotropicCompressibilityModel::compressibilityProperties_.
|
inline |
Return the compressibility.
Definition at line 141 of file barotropicCompressibilityModel.H.
References barotropicCompressibilityModel::correct(), barotropicCompressibilityModel::psi_, and barotropicCompressibilityModel::read().
|
pure virtual |
Correct the compressibility.
Implemented in Chung, Wallis, and linear.
Referenced by barotropicCompressibilityModel::psi().
|
pure virtual |
Read compressibilityProperties dictionary.
Implemented in Chung, Wallis, and linear.
Definition at line 67 of file barotropicCompressibilityModel.C.
Referenced by barotropicCompressibilityModel::barotropicCompressibilityModel(), barotropicCompressibilityModel::psi(), linear::read(), Wallis::read(), and Chung::read().
|
protected |
Definition at line 68 of file barotropicCompressibilityModel.H.
Referenced by barotropicCompressibilityModel::compressibilityProperties().
|
protected |
Definition at line 70 of file barotropicCompressibilityModel.H.
Referenced by barotropicCompressibilityModel::psi().
|
protected |
Definition at line 71 of file barotropicCompressibilityModel.H.