FreeFOAM The Cross-Platform CFD Toolkit
LiquidEvaporation< CloudType > Class Template Reference

Liquid evaporation model. More...

#include <lagrangianIntermediate/LiquidEvaporation.H>


Detailed Description

template<class CloudType>
class Foam::LiquidEvaporation< CloudType >

Liquid evaporation model.

- uses ideal gas assumption

Definition at line 48 of file LiquidEvaporation.H.

+ Inheritance diagram for LiquidEvaporation< CloudType >:
+ Collaboration diagram for LiquidEvaporation< CloudType >:

List of all members.

Public Member Functions

 TypeName ("LiquidEvaporation")
 Runtime type information.
 LiquidEvaporation (const dictionary &dict, CloudType &cloud)
 Construct from dictionary.
virtual ~LiquidEvaporation ()
 Destructor.
virtual bool active () const
 Flag to indicate whether model activates phase change model.
virtual void calculate (const scalar dt, const label cellI, const scalar Re, const scalar d, const scalar nu, const scalar T, const scalar Ts, const scalar pc, scalarField &dMassPC) const
 Update model.
- Public Member Functions inherited from PhaseChangeModel< CloudType >
 TypeName ("PhaseChangeModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, PhaseChangeModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table.
 PhaseChangeModel (CloudType &owner)
 Construct null from owner.
 PhaseChangeModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from dictionary.
virtual ~PhaseChangeModel ()
 Destructor.
const CloudType & owner () const
 Return the owner cloud object.
const dictionarydict () const
 Return the cloud dictionary.
const dictionarycoeffDict () const
 Return the coefficient dictionary.
const enthalpyTransferTypeenthalpyTransfer () const
 Return the enthalpy transfer type enumeration.

Protected Member Functions

scalar Sh (const scalar Re, const scalar Sc) const
 Sherwood number as a function of Reynolds and Schmidt numbers.
scalarField calcXc (const label cellI) const
 Calculate the carrier phase component volume fractions at cellI.
- Protected Member Functions inherited from PhaseChangeModel< CloudType >
enthalpyTransferType wordToEnthalpyTransfer (const word &etName) const
 Convert word to enthalpy transfer type.
scalar Sh () const
 Sherwood number.

Protected Attributes

autoPtr< liquidMixtureliquids_
 Global liquid properties data.
List< wordactiveLiquids_
 List of active liquid names.
List< label > liqToCarrierMap_
 Mapping between liquid and carrier species.
List< label > liqToLiqMap_
 Mapping between local and global liquid species.
- Protected Attributes inherited from PhaseChangeModel< CloudType >
const dictionarydict_
 The cloud dictionary.
CloudType & owner_
 Reference to the owner cloud class.
const dictionary coeffDict_
 The coefficient dictionary.
enthalpyTransferType enthalpyTransfer_
 Enthalpy transfer type enumeration.

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.
- Static Public Attributes inherited from PhaseChangeModel< CloudType >
static const Foam::wordList enthalpyTransferTypeNames
 Name representations of enthalpy transfer types.

Constructor & Destructor Documentation

LiquidEvaporation ( const dictionary dict,
CloudType &  cloud 
)

Construct from dictionary.

Definition at line 66 of file LiquidEvaporation.C.

References Foam::endl(), forAll, Foam::nl, and WarningIn.

~LiquidEvaporation ( )
virtual

Destructor.

Definition at line 119 of file LiquidEvaporation.C.


Member Function Documentation

Foam::scalar Sh ( const scalar  Re,
const scalar  Sc 
) const
protected

Sherwood number as a function of Reynolds and Schmidt numbers.

Definition at line 53 of file LiquidEvaporation.C.

References Foam::cbrt(), and Foam::sqrt().

Foam::scalarField calcXc ( const label  cellI) const
protected

Calculate the carrier phase component volume fractions at cellI.

Definition at line 34 of file LiquidEvaporation.C.

References forAll, Foam::sum(), and Y.

TypeName ( "LiquidEvaporation< CloudType >"  )

Runtime type information.

bool active ( ) const
virtual

Flag to indicate whether model activates phase change model.

Implements PhaseChangeModel< CloudType >.

Definition at line 126 of file LiquidEvaporation.C.

void calculate ( const scalar  dt,
const label  cellI,
const scalar  Re,
const scalar  d,
const scalar  nu,
const scalar  T,
const scalar  Ts,
const scalar  pc,
scalarField dMassPC 
) const
virtual

Update model.

Implements PhaseChangeModel< CloudType >.

Definition at line 134 of file LiquidEvaporation.C.

References A, forAll, Foam::max(), Foam::mathematicalConstant::pi(), pSat, sqr(), and Ts().


Member Data Documentation

autoPtr<liquidMixture> liquids_
protected

Global liquid properties data.

Definition at line 57 of file LiquidEvaporation.H.

List<word> activeLiquids_
protected

List of active liquid names.

Definition at line 60 of file LiquidEvaporation.H.

List<label> liqToCarrierMap_
protected

Mapping between liquid and carrier species.

Definition at line 63 of file LiquidEvaporation.H.

List<label> liqToLiqMap_
protected

Mapping between local and global liquid species.

Definition at line 66 of file LiquidEvaporation.H.


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