Abstract base class for cavitation models. More...
Public Member Functions | |
TypeName ("cavitationModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, cavitationModel, dictionary,(const dictionary &dict, const incompressibleTwoPhases &phases),(dict, phases)) | |
cavitationModel (const dictionary &dict, const incompressibleTwoPhases &phases) | |
Construct for phases. More... | |
virtual | ~cavitationModel () |
Destructor. More... | |
const dimensionedScalar & | pSat () const |
Return the saturation vapour pressure. More... | |
virtual Pair< tmp< volScalarField::Internal > > | mDotcvAlpha () const =0 |
Return the mass condensation and vaporisation rates as a. More... | |
virtual Pair< tmp< volScalarField::Internal > > | mDotcvP () const =0 |
Return the mass condensation and vaporisation rates as coefficients. More... | |
Pair< tmp< volScalarField::Internal > > | mDot12Alpha () const |
Return the mass transfer rates of the two phases as coefficients to. More... | |
Pair< tmp< volScalarField::Internal > > | mDot12P () const |
Return the mass transfer rates of the two phases as coefficients to. More... | |
virtual void | correct ()=0 |
Correct the cavitation model. More... | |
virtual bool | read (const dictionary &dict)=0 |
Read the dictionary and update. More... | |
Static Public Member Functions | |
static autoPtr< cavitationModel > | New (const dictionary &dict, const incompressibleTwoPhases &phases) |
Protected Member Functions | |
const volScalarField::Internal & | alphal () const |
Return the liquid density. More... | |
const volScalarField::Internal & | alphav () const |
Return the vapour density. More... | |
const dimensionedScalar & | rhol () const |
Return the liquid density. More... | |
const dimensionedScalar & | rhov () const |
Return the vapour density. More... | |
Protected Attributes | |
const incompressibleTwoPhases & | phases_ |
Mixture properties. More... | |
const bool | liquidIndex_ |
Index of the liquid. More... | |
dimensionedScalar | pSat_ |
Saturation vapour pressure. More... | |
Abstract base class for cavitation models.
Definition at line 50 of file cavitationModel.H.
cavitationModel | ( | const dictionary & | dict, |
const incompressibleTwoPhases & | phases | ||
) |
Construct for phases.
Definition at line 40 of file cavitationModel.C.
|
inlinevirtual |
Destructor.
Definition at line 133 of file cavitationModel.H.
|
inlineprotected |
Return the liquid density.
Definition at line 69 of file cavitationModel.H.
References twoPhases::alpha(), cavitationModel::liquidIndex_, and cavitationModel::phases_.
|
inlineprotected |
Return the vapour density.
Definition at line 75 of file cavitationModel.H.
References twoPhases::alpha(), cavitationModel::liquidIndex_, and cavitationModel::phases_.
|
inlineprotected |
Return the liquid density.
Definition at line 81 of file cavitationModel.H.
References cavitationModel::liquidIndex_, cavitationModel::phases_, and incompressibleTwoPhases::rho().
|
inlineprotected |
Return the vapour density.
Definition at line 87 of file cavitationModel.H.
References cavitationModel::liquidIndex_, cavitationModel::phases_, and incompressibleTwoPhases::rho().
TypeName | ( | "cavitationModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
cavitationModel | , | ||
dictionary | , | ||
(const dictionary &dict, const incompressibleTwoPhases &phases) | , | ||
(dict, phases) | |||
) |
|
static |
Definition at line 30 of file cavitationModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and Foam::nl.
|
inline |
Return the saturation vapour pressure.
Definition at line 140 of file cavitationModel.H.
References cavitationModel::pSat_.
|
pure virtual |
Return the mass condensation and vaporisation rates as a.
coefficient to multiply alphav for the condensation rate and a coefficient to multiply alphal for the vaporisation rate
Implemented in SchnerrSauer, Merkle, and Kunz.
|
pure virtual |
Return the mass condensation and vaporisation rates as coefficients.
to multiply (p - pSat)
Implemented in SchnerrSauer, Merkle, and Kunz.
|
inline |
Return the mass transfer rates of the two phases as coefficients to.
multiply the volume fraction of the other phase
Definition at line 156 of file cavitationModel.H.
|
inline |
Return the mass transfer rates of the two phases as coefficients to.
multiply (p - pSat)
Definition at line 163 of file cavitationModel.H.
|
pure virtual |
Correct the cavitation model.
Implemented in SchnerrSauer, Merkle, and Kunz.
|
pure virtual |
Read the dictionary and update.
Implemented in SchnerrSauer, Merkle, and Kunz.
Definition at line 54 of file cavitationModel.C.
References dict, and dictionary::lookup().
Referenced by Kunz::read(), Merkle::read(), and SchnerrSauer::read().
|
protected |
Mixture properties.
Definition at line 57 of file cavitationModel.H.
Referenced by cavitationModel::alphal(), cavitationModel::alphav(), cavitationModel::rhol(), and cavitationModel::rhov().
|
protected |
Index of the liquid.
Definition at line 60 of file cavitationModel.H.
Referenced by cavitationModel::alphal(), cavitationModel::alphav(), cavitationModel::rhol(), and cavitationModel::rhov().
|
protected |
Saturation vapour pressure.
Definition at line 63 of file cavitationModel.H.
Referenced by cavitationModel::pSat().