Kunz cavitation model. More...
Public Member Functions | |
TypeName ("Kunz") | |
Runtime type information. More... | |
Kunz (const dictionary &dict, const compressibleTwoPhases &phases) | |
Construct for phases. More... | |
virtual | ~Kunz () |
Destructor. More... | |
virtual Pair< tmp< volScalarField::Internal > > | mDotcvAlphal () const |
Return the mass condensation and vaporisation rates as a. More... | |
virtual Pair< tmp< volScalarField::Internal > > | mDotcvP () const |
Return the mass condensation and vaporisation rates as coefficients. More... | |
virtual void | correct () |
Correct the Kunz phaseChange model. More... | |
virtual bool | read (const dictionary &dict) |
Read the dictionary and update. More... | |
Public Member Functions inherited from cavitationModel | |
TypeName ("cavitation") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, cavitationModel, dictionary,(const dictionary &dict, const compressibleTwoPhases &phases),(dict, phases)) | |
cavitationModel (const dictionary &dict, const compressibleTwoPhases &phases) | |
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... | |
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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from cavitationModel | |
static autoPtr< cavitationModel > | New (const dictionary &dict, const compressibleTwoPhases &phases) |
Protected Member Functions inherited from cavitationModel | |
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 rhoThermo & | thermol () const |
Return the liquid thermo. More... | |
const rhoThermo & | 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 inherited from cavitationModel | |
const compressibleTwoPhases & | phases_ |
Phases. More... | |
const bool | liquidIndex_ |
Index of the liquid. More... | |
autoPtr< saturationPressureModel > | saturationModel_ |
The saturation pressure model. More... | |
Kunz cavitation model.
Slightly modified so that the condensation term is switched off when the pressure is less than the saturation vapour pressure. This change allows the condensation term to be formulated as a coefficient multiplying (p - p_sat) so that it can be included as an implicit term in the pressure equation.
Reference:
Kunz, R. F., Boger, D. A., Stinebring, D. R., Chyczewski, T. S., Lindau, J. W., Gibeling, H. J., ... & Govindan, T. (2000). A preconditioned Navier–Stokes method for two-phase flows with application to cavitation prediction. Computers & Fluids, 29(8), 849-875.
Usage:
Property | Description | Required | Default value |
---|---|---|---|
liquid | Name of the liquid phase | yes | |
pSat | Saturation vapor pressure | yes | |
Uinf | Free-stream velocity | yes | |
tInf | Vaporisation/condensation time scale | yes | |
Cv | Vapourisation rate coefficient | yes | |
Cc | Condensation rate coefficient | yes |
Example:
model Kunz; liquid liquid; pSat 2300; UInf 20; tInf 0.005; // L = 0.1 m Cv 1000; Cc 1000;
Kunz | ( | const dictionary & | dict, |
const compressibleTwoPhases & | phases | ||
) |
Construct for phases.
Definition at line 46 of file Kunz.C.
References Kunz::correct().
TypeName | ( | "Kunz" | ) |
Runtime type information.
|
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
Implements cavitationModel.
Definition at line 82 of file Kunz.C.
References Foam::max(), Foam::min(), p, and Foam::sqr().
|
virtual |
Return the mass condensation and vaporisation rates as coefficients.
to multiply (p - pSat)
Implements cavitationModel.
Definition at line 105 of file Kunz.C.
References Foam::max(), Foam::min(), Foam::neg(), p, Foam::pos0(), and Foam::sqr().
|
virtual |
Correct the Kunz phaseChange model.
Implements cavitationModel.
Definition at line 132 of file Kunz.C.
Referenced by Kunz::Kunz().
|
virtual |
Read the dictionary and update.
Implements cavitationModel.
Definition at line 136 of file Kunz.C.
References dict, and cavitationModel::read().