A thermal wall function for simulation of subcooled nucleate wall boiling with runtime selctable submodels for: More...
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< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
alphatWallBoilingWallFunctionFvPatchScalarField (const alphatWallBoilingWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (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 scalarField & | dmdt (const phasePairKey &) const |
Return the rate of phase-change for specific phase pair. More... | |
virtual const scalarField & | mDotL (const phasePairKey &) const |
Return the rate of phase-change for specific phase pair. More... | |
const scalarField & | dDeparture () const |
Return the departure diameter field. More... | |
const scalarField & | qq () const |
Return the quenching surface heat flux [W/m2]. More... | |
tmp< scalarField > | qe () 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 scalarField & | dmdt () const |
Return the rate of phase-change. More... | |
virtual const scalarField & | mDotL () 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< scalarField > | Psmooth (const scalarField &Prat) const |
'P' function More... | |
tmp< scalarField > | yPlusTherm (const scalarField &P, const scalarField &Prat) const |
Calculate y+ at the edge of the thermal laminar sublayer. More... | |
tmp< scalarField > | calcAlphat (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_ |
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
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;
Definition at line 212 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
enum phaseType |
Enumeration listing the possible operational modes.
Enumerator | |
---|---|
vaporPhase | |
liquidPhase |
Definition at line 221 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct from patch and internal field.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::clone().
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const fvPatch & | , |
const DimensionedField< scalar, volMesh > & | , | ||
const dictionary & | |||
) |
Construct from patch, internal field and dictionary.
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const alphatWallBoilingWallFunctionFvPatchScalarField & | , |
const fvPatch & | , | ||
const DimensionedField< scalar, volMesh > & | , | ||
const fvPatchFieldMapper & | |||
) |
Construct by mapping given.
alphatWallBoilingWallFunctionFvPatchScalarField onto a new patch
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const alphatWallBoilingWallFunctionFvPatchScalarField & | ) |
Construct as copy.
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const alphatWallBoilingWallFunctionFvPatchScalarField & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Construct as copy setting internal field reference.
TypeName | ( | "compressible::alphatWallBoilingWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.
Definition at line 314 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
References alphatWallBoilingWallFunctionFvPatchScalarField::alphatWallBoilingWallFunctionFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.
Definition at line 331 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
References alphatWallBoilingWallFunctionFvPatchScalarField::activePhasePair(), alphatWallBoilingWallFunctionFvPatchScalarField::alphatWallBoilingWallFunctionFvPatchScalarField(), alphatPhaseChangeWallFunctionFvPatchScalarField::dmdt(), and alphatPhaseChangeWallFunctionFvPatchScalarField::mDotL().
|
virtual |
Is there phase change mass transfer for this phasePair.
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::clone().
|
virtual |
Return the rate of phase-change for specific phase pair.
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
|
virtual |
Return the rate of phase-change for specific phase pair.
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
|
inline |
Return the departure diameter field.
Definition at line 356 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
inline |
Return the quenching surface heat flux [W/m2].
Definition at line 362 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
inline |
Return the evaporation surface heat flux [W/m2].
Definition at line 368 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
References alphatPhaseChangeWallFunctionFvPatchScalarField::mDotL_, alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), and alphatWallBoilingWallFunctionFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::qe().
|
virtual |
Write.
Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::qe().