Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides: More...
Public Member Functions | |
parcelThermo (const fluidThermo &carrierThermo) | |
Construct from carrier thermo. More... | |
parcelThermo (const parcelThermo &) | |
Copy constructor. More... | |
virtual | ~parcelThermo () |
Destructor. More... | |
const liquidMixtureProperties & | liquids () const |
Return reference to the global (additional) liquids. More... | |
const solidMixtureProperties & | solids () const |
Return reference to the global (additional) solids. More... | |
label | liquidId (const word &cmptName, bool allowNotFound=false) const |
Index of liquid component. More... | |
label | solidId (const word &cmptName, bool allowNotFound=false) const |
Index of solid component. More... | |
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides:
- liquids : liquid components - access to elemental properties
If no liquids or solids are specified, their respective pointers will also be nullptr.
Registered to the mesh so that it can be looked-up
Definition at line 58 of file parcelThermo.H.
parcelThermo | ( | const fluidThermo & | carrierThermo | ) |
Construct from carrier thermo.
Definition at line 30 of file parcelThermo.C.
References Foam::endl(), dictionary::found(), Foam::Info, solidMixtureProperties::New(), liquidMixtureProperties::New(), basicThermo::properties(), and dictionary::subDict().
parcelThermo | ( | const parcelThermo & | pThermo | ) |
Copy constructor.
Definition at line 67 of file parcelThermo.C.
|
virtual |
Destructor.
Definition at line 76 of file parcelThermo.C.
const Foam::liquidMixtureProperties & liquids | ( | ) | const |
Return reference to the global (additional) liquids.
Definition at line 82 of file parcelThermo.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by ThermoSurfaceFilm< CloudType >::absorbInteraction(), ThermoSurfaceFilm< CloudType >::drySplashInteraction(), parcelThermo::liquidId(), and ThermoSurfaceFilm< CloudType >::wetSplashInteraction().
const Foam::solidMixtureProperties & solids | ( | ) | const |
Return reference to the global (additional) solids.
Definition at line 95 of file parcelThermo.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and parcelThermo::liquidId().
Referenced by COxidationDiffusionLimitedRate< CloudType >::calculate(), COxidationKineticDiffusionLimitedRate< CloudType >::calculate(), COxidationHurtMitchell< CloudType >::calculate(), COxidationIntrinsicRate< CloudType >::calculate(), COxidationMurphyShaddix< CloudType >::calculate(), and parcelThermo::solidId().
Foam::label liquidId | ( | const word & | cmptName, |
bool | allowNotFound = false |
||
) | const |
Index of liquid component.
Definition at line 109 of file parcelThermo.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, parcelThermo::liquids(), Foam::nl, and parcelThermo::solidId().
Referenced by parcelThermo::solids().
Foam::label solidId | ( | const word & | cmptName, |
bool | allowNotFound = false |
||
) | const |
Index of solid component.
Definition at line 134 of file parcelThermo.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, and parcelThermo::solids().
Referenced by parcelThermo::liquidId().