A thermal wall function for simulation of subcooled nucleate wall boiling with runtime selectable submodels for: More...
Classes | |
struct | boilingLiquidProperties |
struct | properties |
Public Types | |
enum | phaseType { vapourPhase , 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 > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
alphatWallBoilingWallFunctionFvPatchScalarField (const alphatWallBoilingWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &) | |
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 & | wetFraction () const |
Return the wall liquid fraction field [-]. More... | |
const scalarField & | dDeparture () const |
Return the departure diameter field [m]. More... | |
const scalarField & | fDeparture () const |
Return the departure frequency field [Hz]. More... | |
const scalarField & | nucleationSiteDensity () const |
Return the nucleation site density field [1/m^2]. More... | |
const scalarField & | qQuenching () const |
Return the quenching surface heat flux field [W/m^2]. More... | |
const scalarField & | qEvaporative () const |
Return the evaporative surface heat flux field [W/m^2]. More... | |
virtual const scalarField & | dmdtf () const |
Return the rate of phase change. More... | |
virtual void | map (const fvPatchScalarField &, const fieldMapper &) |
Map the given fvPatchField onto this fvPatchField. More... | |
virtual void | reset (const fvPatchScalarField &) |
Reset the fvPatchField to the given 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 alphatPhaseChangeWallFunctionBase | |
TypeName ("compressible::alphatPhaseChangeWallFunctionBase") | |
Runtime type information. More... | |
alphatPhaseChangeWallFunctionBase () | |
Construct null. More... | |
alphatPhaseChangeWallFunctionBase (const fvPatch &p, const DimensionedField< scalar, volMesh > &iF, const dictionary &) | |
Construct from a patch, an internal field and a dictionary. More... | |
virtual | ~alphatPhaseChangeWallFunctionBase () |
bool | activeInterface (const phaseInterface &) const |
Is there phase change mass transfer for this interface? More... | |
Static Public Attributes | |
static const NamedEnum< phaseType, 3 > | phaseTypeNames_ |
Heat source type names. More... | |
Additional Inherited Members | |
Protected Attributes inherited from alphatPhaseChangeWallFunctionBase | |
const word | phaseName_ |
Name of the phase. More... | |
const word | otherPhaseName_ |
Name of the other phase. More... | |
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 | 'vapour' or 'liquid' | yes | |
useLiquidTemperatureWallFunction | Use wall function to calculate liquid temperature? | no | yes |
tolerance | solution tolerance | no | rootSmall |
Prt | turbulent Prandtl number | no | 0.85 |
if phaseType 'vapour':
partitioningModel | yes |
---|
if phaseType 'liquid':
partitioningModel | yes | ||
---|---|---|---|
nucleationSiteModel | yes | ||
departureDiameterModel | yes | ||
departureFrequenctModel | yes | ||
bubbleWaitingTimeRatio | no | 0.8 |
NOTE: Runtime selectable submodels may require model specific entries
Example usage:
hotWall { type compressible::alphatWallBoilingWallFunction; phaseType liquid; dmdt uniform 0; Prt 0.85; partitioningModel { type Lavieville; alphaCrit 0.2; } nucleationSiteModel { type LemmertChawla; } departureDiameterModel { type TolubinskiKostanchuk; } departureFrequencyModel { type Cole; } value uniform 0.01;
Definition at line 200 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
enum phaseType |
Enumeration listing the possible operational modes.
Enumerator | |
---|---|
vapourPhase | |
vaporPhase | |
liquidPhase |
Definition at line 210 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 561 of file alphatWallBoilingWallFunctionFvPatchScalarField.C.
References dict, Foam::dimArea, Foam::dimDensity, Foam::dimLength, Foam::dimless, Foam::dimPower, Foam::dimTime, forAll, alphatWallBoilingWallFunctionFvPatchScalarField::liquidPhase, departureDiameterModel::New(), departureFrequencyModel::New(), nucleationSiteModel::New(), partitioningModel::New(), p, Foam::unitFraction, and Foam::units().
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::clone().
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const alphatWallBoilingWallFunctionFvPatchScalarField & | psf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given.
alphatWallBoilingWallFunctionFvPatchScalarField onto a new patch
Definition at line 708 of file alphatWallBoilingWallFunctionFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
alphatWallBoilingWallFunctionFvPatchScalarField | ( | const alphatWallBoilingWallFunctionFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 742 of file alphatWallBoilingWallFunctionFvPatchScalarField.C.
TypeName | ( | "compressible::alphatWallBoilingWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 390 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
References alphatWallBoilingWallFunctionFvPatchScalarField::alphatWallBoilingWallFunctionFvPatchScalarField().
|
inline |
Return the wall liquid fraction field [-].
Definition at line 405 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
inline |
Return the departure diameter field [m].
Definition at line 411 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
inline |
Return the departure frequency field [Hz].
Definition at line 417 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
inline |
Return the nucleation site density field [1/m^2].
Definition at line 423 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
inline |
Return the quenching surface heat flux field [W/m^2].
Definition at line 429 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
inline |
Return the evaporative surface heat flux field [W/m^2].
Definition at line 435 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
inlinevirtual |
Return the rate of phase change.
Implements alphatPhaseChangeWallFunctionBase.
Definition at line 441 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
|
virtual |
Map the given fvPatchField onto this fvPatchField.
Definition at line 776 of file alphatWallBoilingWallFunctionFvPatchScalarField.C.
|
virtual |
Reset the fvPatchField to the given fvPatchField.
Used for mesh to mesh mapping
Definition at line 797 of file alphatWallBoilingWallFunctionFvPatchScalarField.C.
References Field< Type >::reset().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 817 of file alphatWallBoilingWallFunctionFvPatchScalarField.C.
References alphatWallBoilingWallFunctionFvPatchScalarField::properties::alphatConv, alphatWallBoilingWallFunctionFvPatchScalarField::properties::alphaw, alphatWallBoilingWallFunctionFvPatchScalarField::boilingLiquidProperties::Cpw, Foam::e, Foam::endl(), phaseSystem::foundInterfacialModel(), Foam::gMax(), Foam::Info, alphatWallBoilingWallFunctionFvPatchScalarField::properties::interface, alphatWallBoilingWallFunctionFvPatchScalarField::liquidPhase, Foam::max(), phaseInterface::name(), Foam::neg(), Foam::neg0(), Foam::operator==(), alphatWallBoilingWallFunctionFvPatchScalarField::properties::otherAlphaw, alphatPhaseChangeWallFunctionBase::otherPhaseName_, phaseSystem::phases(), Foam::pos(), phaseSystem::propertiesName, Foam::R(), Foam::sqrt(), alphatWallBoilingWallFunctionFvPatchScalarField::boilingLiquidProperties::Tc, alphatWallBoilingWallFunctionFvPatchScalarField::boilingLiquidProperties::Tsat, alphatWallBoilingWallFunctionFvPatchScalarField::vaporPhase, and alphatWallBoilingWallFunctionFvPatchScalarField::vapourPhase.
|
virtual |
Write.
Reimplemented from alphatPhaseChangeWallFunctionBase.
Definition at line 962 of file alphatWallBoilingWallFunctionFvPatchScalarField.C.
References token::BEGIN_BLOCK, Foam::decrIndent(), token::END_BLOCK, Foam::incrIndent(), Foam::indent(), alphatWallBoilingWallFunctionFvPatchScalarField::liquidPhase, Foam::nl, alphatWallBoilingWallFunctionFvPatchScalarField::phaseTypeNames_, alphatPhaseChangeWallFunctionBase::write(), Foam::vtkWriteOps::write(), Foam::writeEntry(), and Foam::writeKeyword().
Heat source type names.
Definition at line 218 of file alphatWallBoilingWallFunctionFvPatchScalarField.H.
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::write().