alphatPhaseChangeWallFunctionBase Class Referenceabstract

Abstract base-class for all alphatWallFunctions supporting phase-change. More...

Inheritance diagram for alphatPhaseChangeWallFunctionBase:
Collaboration diagram for alphatPhaseChangeWallFunctionBase:

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 scalarFielddmdtf () 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...
 

Detailed Description

Abstract base-class for all alphatWallFunctions supporting phase-change.

Source files

Definition at line 53 of file alphatPhaseChangeWallFunctionBase.H.

Constructor & Destructor Documentation

◆ alphatPhaseChangeWallFunctionBase() [1/2]

Construct null.

Definition at line 46 of file alphatPhaseChangeWallFunctionBase.C.

◆ alphatPhaseChangeWallFunctionBase() [2/2]

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_.

Here is the call graph for this function:

◆ ~alphatPhaseChangeWallFunctionBase()

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatPhaseChangeWallFunctionBase"  )

Runtime type information.

◆ activeInterface()

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().

Here is the call graph for this function:

◆ dmdtf()

virtual const scalarField& dmdtf ( ) const
pure virtual

Return the rate of phase-change.

Implemented in alphatWallBoilingWallFunctionFvPatchScalarField.

◆ write()

void write ( Ostream os) const
virtual

Write.

Reimplemented in alphatWallBoilingWallFunctionFvPatchScalarField.

Definition at line 96 of file alphatPhaseChangeWallFunctionBase.C.

References alphatPhaseChangeWallFunctionBase::otherPhaseName_, and Foam::writeEntry().

Referenced by alphatWallBoilingWallFunctionFvPatchScalarField::write().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ phaseName_

◆ otherPhaseName_


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