NoPhaseChange< CloudType > Class Template Reference

Dummy phase change model for 'none'. More...

Inheritance diagram for NoPhaseChange< CloudType >:
[legend]
Collaboration diagram for NoPhaseChange< CloudType >:
[legend]

Public Member Functions

 TypeName ("none")
 Runtime type information. More...
 
 NoPhaseChange (const dictionary &, CloudType &)
 Construct from dictionary. More...
 
 NoPhaseChange (const NoPhaseChange< CloudType > &pcm)
 Construct copy. More...
 
virtual autoPtr< PhaseChangeModel< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~NoPhaseChange ()
 Destructor. More...
 
virtual bool active () const
 Flag to indicate whether model activates phase change model. More...
 
virtual void calculate (const scalar dt, const label celli, const scalar Re, const scalar Pr, const scalar d, const scalar nu, const scalar rho, const scalar T, const scalar Ts, const scalar pc, const scalar Tc, const scalarField &X, const scalarField &solMass, const scalarField &liqMass, scalarField &dMassPC) const
 Update model. More...
 
- Public Member Functions inherited from PhaseChangeModel< CloudType >
 TypeName ("phaseChangeModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, PhaseChangeModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table. More...
 
 PhaseChangeModel (CloudType &owner)
 Construct null from owner. More...
 
 PhaseChangeModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from dictionary. More...
 
 PhaseChangeModel (const PhaseChangeModel< CloudType > &pcm)
 Construct copy. More...
 
virtual ~PhaseChangeModel ()=default
 Destructor. More...
 
const enthalpyTransferTypeenthalpyTransfer () const
 Return the enthalpy transfer type enumeration. More...
 
virtual scalar dh (const label idc, const label idl, const scalar p, const scalar T) const
 Return the enthalpy per unit mass. More...
 
virtual scalar Tvap (const scalarField &X) const
 Return vapourisation temperature. More...
 
virtual scalar TMax (const scalar p, const scalarField &X) const
 Return maximum/limiting temperature. More...
 
void addToPhaseChangeMass (const scalar dMass)
 Add to phase change mass. More...
 
virtual void info (Ostream &os)
 Write injection info to stream. More...
 

Additional Inherited Members

- Public Types inherited from PhaseChangeModel< CloudType >
enum  enthalpyTransferType { etLatentHeat, etEnthalpyDifference }
 Enthalpy transfer type. More...
 
- Static Public Member Functions inherited from PhaseChangeModel< CloudType >
static autoPtr< PhaseChangeModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 
- Static Public Attributes inherited from PhaseChangeModel< CloudType >
static const wordList enthalpyTransferTypeNames
 Name representations of enthalpy transfer types. More...
 
- Protected Member Functions inherited from PhaseChangeModel< CloudType >
enthalpyTransferType wordToEnthalpyTransfer (const word &etName) const
 Convert word to enthalpy transfer type. More...
 
scalar Sh () const
 Sherwood number. More...
 
- Protected Attributes inherited from PhaseChangeModel< CloudType >
enthalpyTransferType enthalpyTransfer_
 Enthalpy transfer type enumeration. More...
 
scalar dMass_
 Mass of lagrangian phase converted. More...
 

Detailed Description

template<class CloudType>
class Foam::NoPhaseChange< CloudType >

Dummy phase change model for 'none'.

Definition at line 51 of file NoPhaseChange.H.

Constructor & Destructor Documentation

◆ NoPhaseChange() [1/2]

NoPhaseChange ( const dictionary ,
CloudType owner 
)

Construct from dictionary.

Definition at line 35 of file NoPhaseChange.C.

◆ NoPhaseChange() [2/2]

NoPhaseChange ( const NoPhaseChange< CloudType > &  pcm)

Construct copy.

Definition at line 46 of file NoPhaseChange.C.

◆ ~NoPhaseChange()

~NoPhaseChange ( )
virtual

Destructor.

Definition at line 57 of file NoPhaseChange.C.

Member Function Documentation

◆ TypeName()

TypeName ( "none"  )

Runtime type information.

◆ clone()

virtual autoPtr<PhaseChangeModel<CloudType> > clone ( ) const
inlinevirtual

Construct and return a clone.

Implements PhaseChangeModel< CloudType >.

Definition at line 70 of file NoPhaseChange.H.

◆ active()

bool active ( ) const
virtual

Flag to indicate whether model activates phase change model.

Definition at line 64 of file NoPhaseChange.C.

◆ calculate()

void calculate ( const scalar  dt,
const label  celli,
const scalar  Re,
const scalar  Pr,
const scalar  d,
const scalar  nu,
const scalar  rho,
const scalar  T,
const scalar  Ts,
const scalar  pc,
const scalar  Tc,
const scalarField X,
const scalarField solMass,
const scalarField liqMass,
scalarField dMassPC 
) const
virtual

Update model.

Implements PhaseChangeModel< CloudType >.

Definition at line 72 of file NoPhaseChange.C.


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