Loading...
Searching...
No Matches
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField Class Reference

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

#include <alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H>

Inheritance diagram for alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField:
Collaboration diagram for alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField:

Public Member Functions

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

Additional Inherited Members

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

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 131 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [1/5]

◆ 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 52 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

References alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(), dict, and p.

Here is the call graph for this function:

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [3/5]

alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField ( const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField & psf,
const fvPatch & p,
const DimensionedField< scalar, volMesh > & iF,
const fvPatchFieldMapper & mapper )

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [4/5]

alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField ( const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField & psf)

◆ alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField() [5/5]

alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField ( const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField & psf,
const DimensionedField< scalar, volMesh > & iF )

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatFixedDmdtWallBoilingWallFunction" )

Runtime type information.

References alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

Return a clone.

Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.

Definition at line 220 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.

Definition at line 228 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ activePhasePair()

bool activePhasePair ( const phasePairKey & phasePair) const
virtual

Is there phase change mass transfer for this phasePair.

Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.

Definition at line 122 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

Referenced by dmdt(), and mDotL().

Here is the caller graph for this function:

◆ dmdt()

const scalarField & dmdt ( const phasePairKey & phasePair) const
virtual

◆ 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 150 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.

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

Here is the call graph for this function:

◆ updateCoeffs()

◆ write()


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