

Public Member Functions | |
| TypeName ("cavitation") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, cavitationModel, dictionary,(const dictionary &dict, const compressibleTwoPhases &phases, const label liquidIndex),(dict, phases, liquidIndex)) | |
| cavitationModel (const dictionary &dict, const compressibleTwoPhases &phases, const label liquidIndex) | |
| Construct for phases. More... | |
| virtual | ~cavitationModel () |
| Destructor. More... | |
| tmp< volScalarField::Internal > | pSat1 () const |
| Return the saturation vapour pressure for phase 1. More... | |
| tmp< volScalarField::Internal > | pSat2 () const |
| Return the saturation vapour pressure for phase 2. More... | |
| virtual Pair< tmp< volScalarField::Internal > > | mDotcvAlphal () 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 compressibleTwoPhases &phases, const label liquidIndex=-1) |
Protected Member Functions | |
| const volScalarField::Internal & | alphal () const |
| Return the liquid density. More... | |
| const volScalarField::Internal & | alphav () const |
| Return the vapour density. More... | |
| const volScalarField::Internal & | rhol () const |
| Return the liquid density. More... | |
| const volScalarField::Internal & | rhov () const |
| Return the vapour density. More... | |
| const rhoFluidThermo & | thermol () const |
| Return the liquid thermo. More... | |
| const rhoFluidThermo & | thermov () const |
| Return the vapour thermo. More... | |
| tmp< volScalarField::Internal > | pSatl () const |
| Return the saturation vapour pressure for the liquid. More... | |
| tmp< volScalarField::Internal > | pSatv () const |
| Return the saturation vapour pressure for the vapour. More... | |
Protected Attributes | |
| const compressibleTwoPhases & | phases_ |
| Phases. More... | |
| const bool | liquidIndex_ |
| Index of the liquid. More... | |
| autoPtr< saturationPressureModel > | saturationModel_ |
| The saturation pressure model. More... | |
Definition at line 53 of file cavitationModel.H.
| cavitationModel | ( | const dictionary & | dict, |
| const compressibleTwoPhases & | phases, | ||
| const label | liquidIndex | ||
| ) |
Construct for phases.
Definition at line 44 of file cavitationModel.C.
|
inlinevirtual |
Destructor.
Definition at line 163 of file cavitationModel.H.
|
inlineprotected |
Return the liquid density.
Definition at line 72 of file cavitationModel.H.
References twoPhases::alpha(), cavitationModel::liquidIndex_, and cavitationModel::phases_.

|
inlineprotected |
Return the vapour density.
Definition at line 78 of file cavitationModel.H.
References twoPhases::alpha(), cavitationModel::liquidIndex_, and cavitationModel::phases_.

|
inlineprotected |
Return the liquid density.
Definition at line 84 of file cavitationModel.H.
References cavitationModel::liquidIndex_, cavitationModel::phases_, and compressibleTwoPhases::rho().

|
inlineprotected |
Return the vapour density.
Definition at line 90 of file cavitationModel.H.
References cavitationModel::liquidIndex_, cavitationModel::phases_, and compressibleTwoPhases::rho().

|
inlineprotected |
Return the liquid thermo.
Definition at line 96 of file cavitationModel.H.
References cavitationModel::liquidIndex_, cavitationModel::phases_, and compressibleTwoPhases::thermo().
Referenced by cavitationModel::pSatl().


|
inlineprotected |
Return the vapour thermo.
Definition at line 102 of file cavitationModel.H.
References cavitationModel::liquidIndex_, cavitationModel::phases_, and compressibleTwoPhases::thermo().
Referenced by cavitationModel::pSatv().


|
inlineprotected |
Return the saturation vapour pressure for the liquid.
Definition at line 108 of file cavitationModel.H.
References cavitationModel::saturationModel_, Foam::T(), and cavitationModel::thermol().
Referenced by cavitationModel::pSat1(), and cavitationModel::pSat2().


|
inlineprotected |
Return the saturation vapour pressure for the vapour.
Definition at line 114 of file cavitationModel.H.
References cavitationModel::saturationModel_, Foam::T(), and cavitationModel::thermov().
Referenced by cavitationModel::pSat1(), and cavitationModel::pSat2().


| TypeName | ( | "cavitation" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| cavitationModel | , | ||
| dictionary | , | ||
| (const dictionary &dict, const compressibleTwoPhases &phases, const label liquidIndex) | , | ||
| (dict, phases, liquidIndex) | |||
| ) |
|
static |
Definition at line 31 of file cavitationModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::Info, and Foam::nl.

|
inline |
Return the saturation vapour pressure for phase 1.
Definition at line 170 of file cavitationModel.H.
References cavitationModel::liquidIndex_, cavitationModel::pSatl(), and cavitationModel::pSatv().

|
inline |
Return the saturation vapour pressure for phase 2.
Definition at line 176 of file cavitationModel.H.
References cavitationModel::liquidIndex_, cavitationModel::pSatl(), and cavitationModel::pSatv().

|
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, Saito, Merkle, and Kunz.
|
pure virtual |
Return the mass condensation and vaporisation rates as coefficients.
to multiply (p - pSat)
Implemented in SchnerrSauer, Saito, 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 192 of file cavitationModel.H.
|
inline |
Return the mass transfer rates of the two phases as coefficients to.
multiply (p - pSat)
Definition at line 199 of file cavitationModel.H.
|
pure virtual |
Correct the cavitation model.
Implemented in SchnerrSauer, Saito, Merkle, and Kunz.
|
pure virtual |
Read the dictionary and update.
Implemented in SchnerrSauer, Saito, Merkle, and Kunz.
Definition at line 62 of file cavitationModel.C.
References dict, and saturationPressureModel::New().
Referenced by Kunz::read(), Merkle::read(), Saito::read(), and SchnerrSauer::read().


|
protected |
Phases.
Definition at line 60 of file cavitationModel.H.
Referenced by cavitationModel::alphal(), cavitationModel::alphav(), cavitationModel::rhol(), cavitationModel::rhov(), cavitationModel::thermol(), and cavitationModel::thermov().
|
protected |
Index of the liquid.
Definition at line 63 of file cavitationModel.H.
Referenced by cavitationModel::alphal(), cavitationModel::alphav(), cavitationModel::pSat1(), cavitationModel::pSat2(), cavitationModel::rhol(), cavitationModel::rhov(), cavitationModel::thermol(), and cavitationModel::thermov().
|
protected |
The saturation pressure model.
Definition at line 66 of file cavitationModel.H.
Referenced by cavitationModel::pSatl(), and cavitationModel::pSatv().