LiquidEvapFuchsKnudsen< CloudType > Class Template Reference

Liquid evaporation/condensation model for solution of liquid and solid. More...

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

Public Types

enum  activityCoeffMethodType { pUNIFAC, pHoff }
 Type of activity coefficient models. More...
 
- Public Types inherited from PhaseChangeModel< CloudType >
enum  enthalpyTransferType { etLatentHeat, etEnthalpyDifference }
 Enthalpy transfer type. More...
 

Public Member Functions

 TypeName ("liquidEvapFuchsKnudsen")
 Runtime type information. More...
 
 LiquidEvapFuchsKnudsen (const dictionary &dict, CloudType &cloud)
 Construct from dictionary. More...
 
 LiquidEvapFuchsKnudsen (const LiquidEvapFuchsKnudsen< CloudType > &pcm)
 Construct copy. More...
 
virtual autoPtr< PhaseChangeModel< CloudType > > clone () const
 Construct and return a clone. More...
 
virtual ~LiquidEvapFuchsKnudsen ()=default
 Destructor. 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 &Xsol, const scalarField &liqMass, scalarField &dMassPC) const
 Update model. 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...
 
- 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...
 
void addToPhaseChangeMass (const scalar dMass)
 Add to phase change mass. More...
 
virtual void info (Ostream &os)
 Write injection info to stream. More...
 

Protected Member Functions

scalar Sh (const scalar Re, const scalar Sc) const
 Sherwood number as a function of Reynolds and Schmidt numbers. More...
 
tmp< scalarFieldcalcXc (const label celli) const
 Calculate the carrier phase component volume fractions at celli. More...
 
void calcXcSolution (const scalar massliq, const scalar masssol, scalar &Xliq, scalar &Xsol) const
 Calculate volumetric fractions of components in the solution. More...
 
scalar activityCoeff (const scalar Xliq, const scalar Ysol) const
 Return activity coefficient. 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

activityCoeffMethodType method_
 Method used. More...
 
scalar gamma_
 Mean gas free path. More...
 
scalar alpha_
 The mass thermal accomodation. More...
 
const liquidMixturePropertiesliquids_
 Global liquid properties data. More...
 
List< wordsolution_
 List of active liquid names i.e (liquidName solidName) More...
 
label liqToCarrierMap_
 Mapping between liquid and carrier species. More...
 
label liqToLiqMap_
 Mapping between local and global liquid species. More...
 
label solToSolMap_
 Mapping between local and global solid species. More...
 
- Protected Attributes inherited from PhaseChangeModel< CloudType >
enthalpyTransferType enthalpyTransfer_
 Enthalpy transfer type enumeration. More...
 
scalar dMass_
 Mass of lagrangian phase converted. More...
 

Additional Inherited Members

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

Detailed Description

template<class CloudType>
class Foam::LiquidEvapFuchsKnudsen< CloudType >

Liquid evaporation/condensation model for solution of liquid and solid.

This model takes into account the Fuchs-Knudsen number correction, the modified Raoult's law is used to obtain the concenration of the evapora ble component on the surface and the activity coefficient is used. The correction Kelvin effect is used.

Reference:

    Xiaole Chen, Yu Feng, Wenqi Zhon, Clement Kleinstreuer.
    Numerical investigation of the interaction, transport and deposition
    of multicomponent droplets in a a simple mouth-throat model.
    Journal of Aerosol Science, 105(2017), 108-127.
    DOI:10.1016/j.jaerosci.2016.12.001

Definition at line 66 of file LiquidEvapFuchsKnudsen.H.

Member Enumeration Documentation

◆ activityCoeffMethodType

Type of activity coefficient models.

Enumerator
pUNIFAC 
pHoff 

Definition at line 75 of file LiquidEvapFuchsKnudsen.H.

Constructor & Destructor Documentation

◆ LiquidEvapFuchsKnudsen() [1/2]

LiquidEvapFuchsKnudsen ( const dictionary dict,
CloudType cloud 
)

Construct from dictionary.

Definition at line 112 of file LiquidEvapFuchsKnudsen.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and Foam::nl.

Here is the call graph for this function:

◆ LiquidEvapFuchsKnudsen() [2/2]

Construct copy.

Definition at line 177 of file LiquidEvapFuchsKnudsen.C.

◆ ~LiquidEvapFuchsKnudsen()

virtual ~LiquidEvapFuchsKnudsen ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Sh()

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

Sherwood number as a function of Reynolds and Schmidt numbers.

Definition at line 72 of file LiquidEvapFuchsKnudsen.C.

References Foam::cbrt(), Foam::max(), Foam::pow(), and Foam::Re().

Here is the call graph for this function:

◆ calcXc()

Foam::tmp< Foam::scalarField > calcXc ( const label  celli) const
protected

Calculate the carrier phase component volume fractions at celli.

Definition at line 53 of file LiquidEvapFuchsKnudsen.C.

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

Here is the call graph for this function:

◆ calcXcSolution()

void calcXcSolution ( const scalar  massliq,
const scalar  masssol,
scalar &  Xliq,
scalar &  Xsol 
) const
protected

Calculate volumetric fractions of components in the solution.

Definition at line 35 of file LiquidEvapFuchsKnudsen.C.

◆ activityCoeff()

Foam::scalar activityCoeff ( const scalar  Xliq,
const scalar  Ysol 
) const
protected

Return activity coefficient.

Definition at line 83 of file LiquidEvapFuchsKnudsen.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::inv(), and Foam::nl.

Here is the call graph for this function:

◆ TypeName()

TypeName ( "liquidEvapFuchsKnudsen"  )

Runtime type information.

◆ clone()

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

Construct and return a clone.

Implements PhaseChangeModel< CloudType >.

Definition at line 147 of file LiquidEvapFuchsKnudsen.H.

◆ 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 Xsol,
const scalarField liqMass,
scalarField dMassPC 
) const
virtual

Update model.

Implements PhaseChangeModel< CloudType >.

Definition at line 197 of file LiquidEvapFuchsKnudsen.C.

References Foam::exp(), gamma, Foam::log(), Foam::max(), nu, Foam::constant::mathematical::pi(), Foam::Re(), rho, rhog(), Foam::constant::thermodynamic::RR, sigma(), Foam::sqr(), and T.

Here is the call graph for this function:

◆ dh()

Foam::scalar dh ( const label  idc,
const label  idl,
const scalar  p,
const scalar  T 
) const
virtual

Return the enthalpy per unit mass.

Reimplemented from PhaseChangeModel< CloudType >.

Definition at line 267 of file LiquidEvapFuchsKnudsen.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, p, and T.

Here is the call graph for this function:

◆ Tvap()

Foam::scalar Tvap ( const scalarField X) const
virtual

Return vapourisation temperature.

Reimplemented from PhaseChangeModel< CloudType >.

Definition at line 305 of file LiquidEvapFuchsKnudsen.C.

References Foam::Zero.

◆ TMax()

Foam::scalar TMax ( const scalar  p,
const scalarField X 
) const
virtual

Return maximum/limiting temperature.

Reimplemented from PhaseChangeModel< CloudType >.

Definition at line 315 of file LiquidEvapFuchsKnudsen.C.

References p, and Foam::sum().

Here is the call graph for this function:

Member Data Documentation

◆ method_

activityCoeffMethodType method_
protected

Method used.

Definition at line 87 of file LiquidEvapFuchsKnudsen.H.

◆ gamma_

scalar gamma_
protected

Mean gas free path.

Definition at line 90 of file LiquidEvapFuchsKnudsen.H.

◆ alpha_

scalar alpha_
protected

The mass thermal accomodation.

Definition at line 93 of file LiquidEvapFuchsKnudsen.H.

◆ liquids_

const liquidMixtureProperties& liquids_
protected

Global liquid properties data.

Definition at line 96 of file LiquidEvapFuchsKnudsen.H.

◆ solution_

List<word> solution_
protected

List of active liquid names i.e (liquidName solidName)

Definition at line 99 of file LiquidEvapFuchsKnudsen.H.

◆ liqToCarrierMap_

label liqToCarrierMap_
protected

Mapping between liquid and carrier species.

Definition at line 102 of file LiquidEvapFuchsKnudsen.H.

◆ liqToLiqMap_

label liqToLiqMap_
protected

Mapping between local and global liquid species.

Definition at line 105 of file LiquidEvapFuchsKnudsen.H.

◆ solToSolMap_

label solToSolMap_
protected

Mapping between local and global solid species.

Definition at line 108 of file LiquidEvapFuchsKnudsen.H.


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