Merkle Class Reference

Merkle cavitation model. More...

Inheritance diagram for Merkle:
Collaboration diagram for Merkle:

Public Member Functions

 TypeName ("Merkle")
 Runtime type information. More...
 
 Merkle (const dictionary &dict, const compressibleTwoPhases &phases)
 Construct for phases. More...
 
virtual ~Merkle ()
 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 Merkle 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::InternalpSat1 () const
 Return the saturation vapour pressure for phase 1. More...
 
tmp< volScalarField::InternalpSat2 () 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< cavitationModelNew (const dictionary &dict, const compressibleTwoPhases &phases)
 
- Protected Member Functions inherited from cavitationModel
const volScalarField::Internalalphal () const
 Return the liquid density. More...
 
const volScalarField::Internalalphav () const
 Return the vapour density. More...
 
const volScalarField::Internalrhol () const
 Return the liquid density. More...
 
const volScalarField::Internalrhov () const
 Return the vapour density. More...
 
const rhoThermothermol () const
 Return the liquid thermo. More...
 
const rhoThermothermov () const
 Return the vapour thermo. More...
 
tmp< volScalarField::InternalpSatl () const
 Return the saturation vapour pressure for the liquid. More...
 
tmp< volScalarField::InternalpSatv () const
 Return the saturation vapour pressure for the vapour. More...
 
- Protected Attributes inherited from cavitationModel
const compressibleTwoPhasesphases_
 Phases. More...
 
const bool liquidIndex_
 Index of the liquid. More...
 
autoPtr< saturationPressureModelsaturationModel_
 The saturation pressure model. More...
 

Detailed Description

Merkle cavitation model.

Reference:

    Markle, C. L. (1998).
    Computational modeling of the dynamics of sheet cavitation.
    In Proc. 3rd International Symposium on Cavitation
    (Vol. 2, pp. 307-311).

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       Merkle;

        liquid      liquid;

        pSat        2300;

        UInf        20;
        tInf        0.005;  // L = 0.1 m
        Cv          1e-3;
        Cc          80;
Source files

Definition at line 120 of file Merkle.H.

Constructor & Destructor Documentation

◆ Merkle()

Merkle ( const dictionary dict,
const compressibleTwoPhases phases 
)

Construct for phases.

Definition at line 46 of file Merkle.C.

References Merkle::correct().

Here is the call graph for this function:

◆ ~Merkle()

virtual ~Merkle ( )
inlinevirtual

Destructor.

Definition at line 166 of file Merkle.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Merkle"  )

Runtime type information.

◆ mDotcvAlphal()

Foam::Pair< Foam::tmp< Foam::volScalarField::Internal > > mDotcvAlphal ( ) const
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 77 of file Merkle.C.

References Foam::max(), Foam::min(), and p.

Here is the call graph for this function:

◆ mDotcvP()

Foam::Pair< Foam::tmp< Foam::volScalarField::Internal > > mDotcvP ( ) const
virtual

Return the mass condensation and vaporisation rates as coefficients.

to multiply (p - pSat)

Implements cavitationModel.

Definition at line 90 of file Merkle.C.

References Foam::max(), Foam::min(), Foam::neg(), p, and Foam::pos0().

Here is the call graph for this function:

◆ correct()

void correct ( )
virtual

Correct the Merkle phaseChange model.

Implements cavitationModel.

Definition at line 112 of file Merkle.C.

Referenced by Merkle::Merkle().

Here is the caller graph for this function:

◆ read()

bool read ( const dictionary dict)
virtual

Read the dictionary and update.

Implements cavitationModel.

Definition at line 116 of file Merkle.C.

References dict, and cavitationModel::read().

Here is the call graph for this function:

The documentation for this class was generated from the following files: