alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField Class Reference

A simple alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField with a fixed volumetric phase-change mass flux. More...

Inheritance diagram for alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField:
[legend]
Collaboration diagram for alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField:
[legend]

Public Member Functions

 TypeName ("compressible::alphatFixedDmdtWallBoilingWallFunction")
 Runtime type information. More...
 
 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField (const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField (const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField (const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual bool activePhasePair (const phasePairKey &) const
 Is there phase change mass transfer for this phasePair. More...
 
virtual const scalarFielddmdt (const phasePairKey &) const
 Return the rate of phase-change for specific phase pair. More...
 
virtual const scalarFieldmDotL (const phasePairKey &) const
 Return the rate of phase-change for specific phase pair. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
 TypeName ("compressible::alphatPhaseChangeJayatillekeWallFunction")
 Runtime type information. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from alphatPhaseChangeWallFunctionFvPatchScalarField
 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 &)
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
 alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual const scalarFielddmdt () const
 Return the rate of phase-change. More...
 
virtual const scalarFieldmDotL () const
 Return the enthalpy source due to phase-change. More...
 
virtual bool activePhasePair (const phasePairKey &) const
 Is there phase change mass transfer for this phasePair. More...
 
virtual const scalarFielddmdt (const phasePairKey &) const
 Return the rate of phase-change for specific phase pair. More...
 
virtual const scalarFieldmDotL (const phasePairKey &) const
 Return the rate of phase-change for specific phase pair. More...
 
virtual scalarField dmdt (const word &) const
 Return the rate of phase-change for specific phase. More...
 
virtual scalarField mDotL (const word &) const
 Return the enthalpy source due to phase-change for specific phase. More...
 
virtual void updateCoeffs ()=0
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Additional Inherited Members

- Protected Member Functions inherited from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
void checkType ()
 Check the type of the patch. More...
 
tmp< scalarFieldPsmooth (const scalarField &Prat) const
 'P' function More...
 
tmp< scalarFieldyPlusTherm (const scalarField &P, const scalarField &Prat) const
 Calculate y+ at the edge of the thermal laminar sublayer. More...
 
tmp< scalarFieldcalcAlphat (const scalarField &prevAlphat) const
 Update turbulent thermal diffusivity. More...
 
- Protected Attributes inherited from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
scalar Prt_
 Turbulent Prandtl number. More...
 
scalar Cmu_
 Empirical model coefficient. More...
 
scalar kappa_
 Von Karman constant. More...
 
scalar E_
 Wall roughness parameter. More...
 
- Protected Attributes inherited from alphatPhaseChangeWallFunctionFvPatchScalarField
scalarField dmdt_
 Rate of phase-change. More...
 
scalarField mDotL_
 Latent heat of the phase-change. More...
 
- Static Protected Attributes inherited from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
static scalar tolerance_ = 0.01
 Absolute tolerance. More...
 
static label maxIters_ = 10
 Maximum number of iterations. More...
 

Detailed Description

A simple alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField with a fixed volumetric phase-change mass flux.

Usage
Example of the boundary condition specification:
<patch>
{
    // Mandatory entries
    type         compressible::alphatFixedDmdtWallBoilingWallFunction;
    vaporPhase   <word>;

    // Optional entries
    relax        <scalar>;
    fixedDmdt    <scalar>;
    L            <scalar>;

    // Inherited entries
    ...
}

where the entries mean:

Property Description Type Reqd Deflt
type

Type name:

compressible::alphatFixedDmdtWallBoilingWallFunction

word yes -
vaporPhase Name of the vapor phase word yes -
relax Relaxation factor for dmdt scalar no 1.0
fixedDmdt

Volumetric phase-change mass flux in near wall cells

scalar no 0.0
L Latent heat scalar no 0.0

The inherited entries are elaborated in: -Foam::compressible:: alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField Source files alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C

Definition at line 135 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [1/5]

Construct from patch and internal field.

Definition at line 42 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

References alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::checkType().

Here is the call graph for this function:

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [2/5]

alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 59 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [3/5]

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [4/5]

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 112 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatFixedDmdtWallBoilingWallFunction"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp< fvPatchScalarField > clone ( ) const
inlinevirtual

Construct and return a clone.

Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.

Definition at line 195 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.

◆ clone() [2/2]

virtual tmp< fvPatchScalarField > clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.

Definition at line 214 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.

◆ activePhasePair()

bool activePhasePair ( const phasePairKey phasePair) const
virtual

Is there phase change mass transfer for this phasePair.

Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.

Definition at line 129 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

Referenced by alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::dmdt(), and alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::mDotL().

Here is the caller graph for this function:

◆ dmdt()

const scalarField & dmdt ( const phasePairKey phasePair) const
virtual

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

Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.

Definition at line 141 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

References Foam::abort(), alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::activePhasePair(), alphatPhaseChangeWallFunctionFvPatchScalarField::dmdt_, Foam::FatalError, FatalErrorInFunction, and alphatPhaseChangeWallFunctionFvPatchScalarField::mDotL_.

Here is the call graph for this function:

◆ mDotL()

const scalarField & mDotL ( const phasePairKey phasePair) const
virtual

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

Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.

Definition at line 157 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

References Foam::abort(), alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::activePhasePair(), Foam::FatalError, FatalErrorInFunction, and alphatPhaseChangeWallFunctionFvPatchScalarField::mDotL_.

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.

Definition at line 173 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

References alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::calcAlphat(), alphatPhaseChangeWallFunctionFvPatchScalarField::dmdt_, alphatPhaseChangeWallFunctionFvPatchScalarField::mDotL_, and Foam::operator==().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.

Definition at line 191 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

References alphatPhaseChangeWallFunctionFvPatchScalarField::dmdt_, os(), ObukhovLength::write(), Ostream::writeEntry(), and Field< Type >::writeEntry().

Here is the call graph for this function:

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