alphatPhaseChangeWallFunctionFvPatchScalarField Class Referenceabstract

Abstract base-class for all alphatWallFunctions supporting phase-change. More...

Inheritance diagram for alphatPhaseChangeWallFunctionFvPatchScalarField:
Collaboration diagram for alphatPhaseChangeWallFunctionFvPatchScalarField:

Public Member Functions

 TypeName ("compressible::alphatPhaseChangeWallFunction")
 Runtime type information. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &)
 Copy constructor. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
bool activePhasePair (const phasePairKey &) const
 Is there phase change mass transfer for this phasePair. More...
 
const scalarFielddmdtf () const
 Return the rate of phase-change. More...
 
const scalarFielddmdtf (const phasePairKey &) const
 Return the rate of phase-change for specific phase pair. More...
 
const scalarFielddmdtLf () const
 Return the enthalpy source due to phase-change. More...
 
const scalarFielddmdtLf (const phasePairKey &) const
 Return the rate of phase-change for specific phase pair. More...
 
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object. More...
 
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField. More...
 
virtual void updateCoeffs ()=0
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from alphatPhaseJayatillekeWallFunctionFvPatchScalarField
 TypeName ("compressible::alphatPhaseJayatillekeWallFunction")
 Runtime type information. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseJayatillekeWallFunctionFvPatchScalarField &)
 Copy constructor. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
tmp< scalarFieldcalcAlphat (const scalarField &prevAlphat) const
 Evaluate the turbulent thermal diffusivity. More...
 

Protected Attributes

const word otherPhaseName_
 Name of the other phase. More...
 
const scalar relax_
 Relaxation factor. More...
 
scalarField dmdtf_
 Rate of phase-change. More...
 
scalarField dmdtLf_
 Latent heat of the phase-change. More...
 
- Protected Attributes inherited from alphatPhaseJayatillekeWallFunctionFvPatchScalarField
scalar Prt_
 Turbulent Prandtl number. More...
 

Additional Inherited Members

- Protected Member Functions inherited from alphatPhaseJayatillekeWallFunctionFvPatchScalarField
tmp< scalarFieldPsmooth (const scalarField &Prat) const
 'P' function More...
 
tmp< scalarFieldyPlusTherm (const nutWallFunctionFvPatchScalarField &nutw, const scalarField &P, const scalarField &Prat) const
 Calculate y+ at the edge of the thermal laminar sublayer. More...
 
- Static Protected Attributes inherited from alphatPhaseJayatillekeWallFunctionFvPatchScalarField
static scalar maxExp_
 
static scalar tolerance_
 
static label maxIters_
 

Detailed Description

Abstract base-class for all alphatWallFunctions supporting phase-change.

See also
Foam::alphatPhaseJayatillekeWallFunctionFvPatchScalarField
Source files

Definition at line 54 of file alphatPhaseChangeWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatPhaseChangeWallFunctionFvPatchScalarField() [1/5]

Construct from patch and internal field.

◆ alphatPhaseChangeWallFunctionFvPatchScalarField() [2/5]

alphatPhaseChangeWallFunctionFvPatchScalarField ( const fvPatch ,
const DimensionedField< scalar, volMesh > &  ,
const dictionary  
)

Construct from patch, internal field and dictionary.

◆ alphatPhaseChangeWallFunctionFvPatchScalarField() [3/5]

◆ alphatPhaseChangeWallFunctionFvPatchScalarField() [4/5]

◆ alphatPhaseChangeWallFunctionFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatPhaseChangeWallFunction"  )

Runtime type information.

◆ activePhasePair()

bool activePhasePair ( const phasePairKey ) const

Is there phase change mass transfer for this phasePair.

◆ dmdtf() [1/2]

const scalarField& dmdtf ( ) const

Return the rate of phase-change.

◆ dmdtf() [2/2]

const scalarField& dmdtf ( const phasePairKey ) const

Return the rate of phase-change for specific phase pair.

◆ dmdtLf() [1/2]

const scalarField& dmdtLf ( ) const

Return the enthalpy source due to phase-change.

◆ dmdtLf() [2/2]

const scalarField& dmdtLf ( const phasePairKey ) const

Return the rate of phase-change for specific phase pair.

◆ autoMap()

virtual void autoMap ( const fvPatchFieldMapper )
virtual

Map (and resize as needed) from self given a mapping object.

Used to update fields following mesh topology change

Reimplemented in alphatWallBoilingWallFunctionFvPatchScalarField.

◆ rmap()

virtual void rmap ( const fvPatchScalarField ,
const labelList  
)
virtual

Reverse map the given fvPatchField onto this fvPatchField.

Used to reconstruct fields

Reimplemented in alphatWallBoilingWallFunctionFvPatchScalarField.

◆ updateCoeffs()

virtual void updateCoeffs ( )
pure virtual

◆ write()

Member Data Documentation

◆ otherPhaseName_

const word otherPhaseName_
protected

Name of the other phase.

Definition at line 63 of file alphatPhaseChangeWallFunctionFvPatchScalarField.H.

◆ relax_

const scalar relax_
protected

Relaxation factor.

Definition at line 66 of file alphatPhaseChangeWallFunctionFvPatchScalarField.H.

◆ dmdtf_

scalarField dmdtf_
protected

Rate of phase-change.

Definition at line 69 of file alphatPhaseChangeWallFunctionFvPatchScalarField.H.

◆ dmdtLf_

scalarField dmdtLf_
protected

Latent heat of the phase-change.

Definition at line 72 of file alphatPhaseChangeWallFunctionFvPatchScalarField.H.

Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::qe().


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