Abstract base-class for all alphatWallFunctions supporting phase-change. More...
Public Member Functions | |
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... | |
virtual const scalarField & | dmdtf () const =0 |
Return the rate of phase-change. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Protected Attributes | |
const word | phaseName_ |
Name of the phase. More... | |
const word | otherPhaseName_ |
Name of the other phase. More... | |
Abstract base-class for all alphatWallFunctions supporting phase-change.
Definition at line 53 of file alphatPhaseChangeWallFunctionBase.H.
Construct null.
Definition at line 46 of file alphatPhaseChangeWallFunctionBase.C.
alphatPhaseChangeWallFunctionBase | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from a patch, an internal field and a dictionary.
Definition at line 53 of file alphatPhaseChangeWallFunctionBase.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::nl, alphatPhaseChangeWallFunctionBase::otherPhaseName_, and alphatPhaseChangeWallFunctionBase::phaseName_.
|
virtual |
Definition at line 77 of file alphatPhaseChangeWallFunctionBase.C.
TypeName | ( | "compressible::alphatPhaseChangeWallFunctionBase" | ) |
Runtime type information.
bool activeInterface | ( | const phaseInterface & | interface | ) | const |
Is there phase change mass transfer for this interface?
Definition at line 83 of file alphatPhaseChangeWallFunctionBase.C.
References phaseInterface::contains(), phaseInterface::fluid(), alphatPhaseChangeWallFunctionBase::otherPhaseName_, alphatPhaseChangeWallFunctionBase::phaseName_, and phaseSystem::phases().
|
pure virtual |
Return the rate of phase-change.
Implemented in alphatWallBoilingWallFunctionFvPatchScalarField.
|
virtual |
Write.
Reimplemented in alphatWallBoilingWallFunctionFvPatchScalarField.
Definition at line 96 of file alphatPhaseChangeWallFunctionBase.C.
References alphatPhaseChangeWallFunctionBase::otherPhaseName_, and Foam::writeEntry().
Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::write().
|
protected |
Name of the phase.
Definition at line 60 of file alphatPhaseChangeWallFunctionBase.H.
Referenced by alphatPhaseChangeWallFunctionBase::activeInterface(), and alphatPhaseChangeWallFunctionBase::alphatPhaseChangeWallFunctionBase().
|
protected |
Name of the other phase.
Definition at line 63 of file alphatPhaseChangeWallFunctionBase.H.
Referenced by alphatPhaseChangeWallFunctionBase::activeInterface(), alphatPhaseChangeWallFunctionBase::alphatPhaseChangeWallFunctionBase(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), and alphatPhaseChangeWallFunctionBase::write().