A thermal wall function for simulation of subcooled nucleate wall boiling with runtime selectable 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 &)=delete | |
Disallow copy without setting internal field reference. More... | |
alphatWallBoilingWallFunctionFvPatchScalarField (const alphatWallBoilingWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor 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... | |
const scalarField & | dDeparture () const |
Return the departure diameter field. 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 () |
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 &) | |
Construct by mapping given. More... | |
alphatPhaseChangeWallFunctionFvPatchScalarField (const alphatPhaseChangeWallFunctionFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. 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 scalarField & | dmdtf () const |
Return the rate of phase-change. More... | |
const scalarField & | dmdtf (const phasePairKey &) const |
Return the rate of phase-change for specific phase pair. 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 &)=delete | |
Disallow copy without setting internal field reference. More... | |
alphatPhaseJayatillekeWallFunctionFvPatchScalarField (const alphatPhaseJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
tmp< scalarField > | calcAlphat (const scalarField &prevAlphat) const |
Evaluate the turbulent thermal diffusivity. More... | |
Static Public Attributes | |
static const NamedEnum< phaseType, 2 > | phaseTypeNames_ |
Heat source type names. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from alphatPhaseJayatillekeWallFunctionFvPatchScalarField | |
tmp< scalarField > | Psmooth (const scalarField &Prat) const |
'P' function More... | |
tmp< scalarField > | yPlusTherm (const nutWallFunctionFvPatchScalarField &nutw, const scalarField &P, const scalarField &Prat) const |
Calculate y+ at the edge of the thermal laminar sublayer. More... | |
Protected Attributes inherited from alphatPhaseChangeWallFunctionFvPatchScalarField | |
const word | otherPhaseName_ |
Name of the other phase. More... | |
const scalar | relax_ |
Relaxation factor. More... | |
scalarField | dmdtf_ |
Rate of phase-change. More... | |
Protected Attributes inherited from alphatPhaseJayatillekeWallFunctionFvPatchScalarField | |
scalar | Prt_ |
Turbulent Prandtl number. More... | |
Static Protected Attributes inherited from alphatPhaseJayatillekeWallFunctionFvPatchScalarField | |
static scalar | maxExp_ |
static scalar | tolerance_ |
static label | maxIters_ |
A thermal wall function for simulation of subcooled nucleate wall boiling with runtime selectable submodels for:
- wall heat flux partitioning model
Implements a version of the well-known RPI wall boiling model (Kurul & Podowski, 1991). The model implementation based on implementation described in Peltola et al. (2019) and is similar to the model described by Peltola & Pättikangas (2012). The present implementation includes simplified support for presence of non-volatile components in addition to a single volatile component.
References:
Kurul, N., & Podowski, M.Z. (1991). On the modeling of multidimensional effects in boiling channels. ANS. Proc. National Heat Transfer Con. Minneapolis, Minnesota, USA, 1991. ISBN: 0-89448-162-1, pp. 30-40.
Peltola, J., Pättikangas, T., Bainbridge, W., Lehnigk, R., Schlegel, F. (2019). On Development and validation of subcooled nucleate boiling models for OpenFOAM Foundation Release. NURETH-18 Conference Proceedings, Portland, Oregon, United States, 2019.
Peltola, J., & Pättikangas, T.J.H. (2012). Development and validation of a boiling model for OpenFOAM multiphase solver. CFD4NRS-4 Conference Proceedings, Daejeon, Korea, 2012. paper 59.
Property | Description | Required | Default value |
---|---|---|---|
phaseType | 'vapor' or 'liquid' | yes | |
relax | wall boiling model relaxation | yes | |
Prt | inherited from alphatPhaseChangeJayatillekeWallFunction | yes | |
Cmu | inherited from alphatPhaseChangeJayatillekeWallFunction | yes | |
kappa | inherited from alphatPhaseChangeJayatillekeWallFunction | yes | |
E | inherited from alphatPhaseChangeJayatillekeWallFunction | yes | |
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 selectable 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.1; 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 224 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
enum phaseType |
Enumeration listing the possible operational modes.
Enumerator | |
---|---|
vaporPhase | |
liquidPhase |
Definition at line 233 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
|
delete |
Disallow copy without setting internal field reference.
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const alphatWallBoilingWallFunctionFvPatchScalarField & | , |
const DimensionedField< scalar, volMesh > & | |||
) |
Copy constructor setting internal field reference.
TypeName | ( | "compressible::alphatWallBoilingWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from alphatPhaseJayatillekeWallFunctionFvPatchScalarField.
Definition at line 328 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
References alphatWallBoilingWallFunctionFvPatchScalarField::alphatWallBoilingWallFunctionFvPatchScalarField().
|
inline |
Return the departure diameter field.
Definition at line 342 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
References alphatWallBoilingWallFunctionFvPatchScalarField::autoMap(), alphatWallBoilingWallFunctionFvPatchScalarField::rmap(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), and alphatWallBoilingWallFunctionFvPatchScalarField::write().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Used to update fields following mesh topology change
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::dDeparture().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::dDeparture().
|
virtual |
Update the coefficients associated with the patch field.
Implements alphatPhaseChangeWallFunctionFvPatchScalarField.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::dDeparture().
|
virtual |
Write.
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::dDeparture().
Heat source type names.
Definition at line 240 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.