SchnerrSauer Class Reference

SchnerrSauer cavitation model. More...

Inheritance diagram for SchnerrSauer:
Collaboration diagram for SchnerrSauer:

Public Member Functions

 TypeName ("SchnerrSauer")
 Runtime type information. More...
 
 SchnerrSauer (const dictionary &dict, const incompressibleTwoPhases &phases)
 Construct for phases. More...
 
virtual ~SchnerrSauer ()
 Destructor. More...
 
virtual Pair< tmp< volScalarField::Internal > > mDotcvAlpha () 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 SchnerrSauer phaseChange model. More...
 
virtual bool read (const dictionary &dict)
 Read the dictionary and update. More...
 
- Public Member Functions inherited from cavitationModel
 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 dimensionedScalarpSat () const
 Return the saturation vapour pressure. 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 incompressibleTwoPhases &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 dimensionedScalarrhol () const
 Return the liquid density. More...
 
const dimensionedScalarrhov () const
 Return the vapour density. More...
 
- Protected Attributes inherited from cavitationModel
const incompressibleTwoPhasesphases_
 Mixture properties. More...
 
const bool liquidIndex_
 Index of the liquid. More...
 
dimensionedScalar pSat_
 Saturation vapour pressure. More...
 

Detailed Description

SchnerrSauer cavitation model.

Reference:

    Schnerr, G. H., & Sauer, J. (2001, May).
    Physical and numerical modeling of unsteady cavitation dynamics.
    In Fourth international conference on multiphase flow (Vol. 1).
    New Orleans, LO, USA: ICMF New Orleans.

Usage:

Property Description Required Default value
liquid Name of the liquid phase yes
pSat Saturation vapor pressure yes
Uinf Free-stream velocity yes
n Bubble number density yes
dNuc Nucleation site diameter yes
Cv Vapourisation rate coefficient yes
Cc Condensation rate coefficient yes

Example:

        model       SchnerrSauer;

        liquid      liquid;

        pSat        2300;

        n           1.6e+13;
        dNuc        2e-6;
        Cv          1;
        Cc          1;
Source files

Definition at line 124 of file SchnerrSauer.H.

Constructor & Destructor Documentation

◆ SchnerrSauer()

SchnerrSauer ( const dictionary dict,
const incompressibleTwoPhases phases 
)

Construct for phases.

Definition at line 49 of file SchnerrSauer.C.

References SchnerrSauer::correct().

Here is the call graph for this function:

◆ ~SchnerrSauer()

virtual ~SchnerrSauer ( )
inlinevirtual

Destructor.

Definition at line 177 of file SchnerrSauer.H.

Member Function Documentation

◆ TypeName()

TypeName ( "SchnerrSauer"  )

Runtime type information.

◆ mDotcvAlpha()

Foam::Pair< Foam::tmp< Foam::volScalarField::Internal > > mDotcvAlpha ( ) 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 117 of file SchnerrSauer.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 138 of file SchnerrSauer.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 SchnerrSauer phaseChange model.

Implements cavitationModel.

Definition at line 160 of file SchnerrSauer.C.

Referenced by SchnerrSauer::SchnerrSauer().

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 164 of file SchnerrSauer.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: