Liquid evaporation model
#include <lagrangianIntermediate/LiquidEvaporation.H>
Liquid evaporation model
Definition at line 48 of file LiquidEvaporation.H.
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.
| |
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 Attributes | |
autoPtr< liquidMixture > | liquids_ |
Global liquid properties data.
| |
List< word > | activeLiquids_ |
List of active liquid names.
| |
List< label > | liqToCarrierMap_ |
Mapping between liquid and carrier species.
| |
List< label > | liqToLiqMap_ |
Mapping between local and global liquid species.
|
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.
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().
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.