Public Types | Public Member Functions | List of all members
alphatWallBoilingWallFunctionFvPatchScalarField Class Reference

A thermal wall function for simulation of subcooled nucleate wall boiling with runtime selctable submodels for: More...

Inheritance diagram for alphatWallBoilingWallFunctionFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for alphatWallBoilingWallFunctionFvPatchScalarField:
Collaboration graph
[legend]

Public Types

enum  phaseType { vaporPhase, liquidPhase }
 Enumeration listing the possible operational modes. More...
 

Public Member Functions

 TypeName ("compressible::alphatWallBoilingWallFunction")
 Runtime type information. More...
 
 alphatWallBoilingWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatWallBoilingWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatWallBoilingWallFunctionFvPatchScalarField (const alphatWallBoilingWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 alphatWallBoilingWallFunctionFvPatchScalarField (const alphatWallBoilingWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatWallBoilingWallFunctionFvPatchScalarField (const alphatWallBoilingWallFunctionFvPatchScalarField &, 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...
 
const scalarFielddDeparture () const
 Return the departure diameter field. More...
 
const scalarFieldqq () const
 Return the quenching surface heat flux [W/m2]. More...
 
tmp< scalarFieldqe () const
 Return the evaporation surface heat flux [W/m2]. 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 &)
 Construct by mapping given. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. 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 &)
 Construct by mapping given. More...
 
 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 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...
 

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_
 Cmu coefficient. More...
 
scalar kappa_
 Von Karman constant. More...
 
scalar E_
 E coefficient. 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 maxExp_
 
static scalar tolerance_
 
static label maxIters_
 

Detailed Description

A thermal wall function for simulation of subcooled nucleate wall boiling with runtime selctable submodels for:

- wall heat flux partitioning model

Implements a version of the well-known RPI wall boiling model (Kurul & Podowski, 1991). The model implementation is similar to the model described by Peltola & Pättikangas (2012) but has been extended with the wall heat flux partitioning models.

References:

    "On the modeling of multidimensional effects in boiling channels"
    Kurul, N., Podowski, M.Z.,
    ANS Proceedings, National Heat Transfer Conference,
    Minneapolis, Minnesota, USA, July 28-31, 1991,
    ISBN: 0-89448-162-1, pp. 30-40
    "Development and validation of a boiling model for OpenFOAM
    multiphase solver"
    Peltola, J., Pättikangas, T.J.H.,
    CFD4NRS-4 Conference Proceedings, paper 59,
    Daejeon, Korea, September 10-12 2012
Usage
Property Description Required Default value
phaseType 'vapor' or 'liquid' yes
relax wall boiling model relaxation yes
Prt inherited from alphatPhaseChangeJayatillekeWallFunction
Cmu inherited from alphatPhaseChangeJayatillekeWallFunction
kappa inherited from alphatPhaseChangeJayatillekeWallFunction
E inherited from alphatPhaseChangeJayatillekeWallFunction
dmdt phase change mass flux yes
value initial alphat value yes

if phaseType 'vapor':

partitioningModel

yes

if phaseType 'liquid':

partitioningModel

yes

nucleationSiteModel

yes

departureDiamModel

yes

departureFreqModel

yes

NOTE: Runtime selectabale submodels may require model specific entries

Example usage:

    hotWall
    {
        type            compressible::alphatWallBoiling2WallFunction;
        phaseType       liquid;
        Prt             0.85;
        Cmu             0.09;
        kappa           0.41;
        E               9.8;
        relax           0.001;
        dmdt            uniform 0;
        partitioningModel
        {
            type        Lavieville;
            alphaCrit   0.2;
        }
        nucleationSiteModel
        {
            type        LemmertChawla;
        }
        departureDiamModel
        {
            type        TolubinskiKostanchuk;
        }
        departureFreqModel
        {
            type        Cole;
        }
        value           uniform 0.01;
See also
Foam::alphatPhaseChangeJayatillekeWallFunctionFvPatchField
Source files

Definition at line 212 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.

Member Enumeration Documentation

◆ phaseType

enum phaseType

Enumeration listing the possible operational modes.

Enumerator
vaporPhase 
liquidPhase 

Definition at line 221 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatWallBoilingWallFunctionFvPatchScalarField() [1/5]

Construct from patch and internal field.

Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ alphatWallBoilingWallFunctionFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

◆ alphatWallBoilingWallFunctionFvPatchScalarField() [3/5]

Construct by mapping given.

alphatWallBoilingWallFunctionFvPatchScalarField onto a new patch

◆ alphatWallBoilingWallFunctionFvPatchScalarField() [4/5]

Construct as copy.

◆ alphatWallBoilingWallFunctionFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatWallBoilingWallFunction"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

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

◆ activePhasePair()

virtual bool activePhasePair ( const phasePairKey ) const
virtual

Is there phase change mass transfer for this phasePair.

Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.

Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ dmdt()

virtual const scalarField& dmdt ( const phasePairKey ) const
virtual

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

Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.

◆ mDotL()

virtual const scalarField& mDotL ( const phasePairKey ) const
virtual

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

Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.

◆ dDeparture()

const scalarField& dDeparture ( ) const
inline

Return the departure diameter field.

Definition at line 356 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.

◆ qq()

const scalarField& qq ( ) const
inline

Return the quenching surface heat flux [W/m2].

Definition at line 362 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.

◆ qe()

tmp<scalarField> qe ( ) const
inline

◆ updateCoeffs()

virtual void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.

Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::qe().

Here is the caller graph for this function:

◆ write()

virtual void write ( Ostream ) const
virtual

Write.

Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.

Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::qe().

Here is the caller graph for this function:

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