A mixture of solids. More...
Public Member Functions | |
solidMixtureProperties (const dictionary &) | |
Construct from dictionary. More... | |
solidMixtureProperties (const solidMixtureProperties &lm) | |
Construct copy. More... | |
virtual autoPtr< solidMixtureProperties > | clone () const |
Construct and return a clone. More... | |
virtual | ~solidMixtureProperties ()=default |
Destructor. More... | |
const List< word > & | components () const |
Return the solidProperties names. More... | |
const PtrList< solidProperties > & | properties () const |
Return the solidProperties properties. More... | |
label | size () const |
Return the number of solids in the mixture. More... | |
scalar | rho (const scalarField &Y) const |
Calculate the mixture density [kg/m^3] as a function of. More... | |
scalar | Cp (const scalarField &Y) const |
Calculate the mixture heat capacity [J/(kg K)] as a function of. More... | |
Static Public Member Functions | |
static autoPtr< solidMixtureProperties > | New (const dictionary &) |
Select construct from dictionary. More... | |
A mixture of solids.
An example of a two component solid mixture:
<parentDictionary> { C; ash { //... user defined properties for ash } }
Definition at line 65 of file solidMixtureProperties.H.
solidMixtureProperties | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 26 of file solidMixtureProperties.C.
References dict, forAll, solidProperties::New(), and UList< T >::size().
solidMixtureProperties | ( | const solidMixtureProperties & | lm | ) |
Construct copy.
Definition at line 61 of file solidMixtureProperties.C.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Construct and return a clone.
Definition at line 97 of file solidMixtureProperties.H.
References autoPtr< T >::New().
|
static |
Select construct from dictionary.
Definition at line 73 of file solidMixtureProperties.C.
References autoPtr< T >::New().
Referenced by SLGThermo::SLGThermo().
Return the solidProperties names.
Definition at line 122 of file solidMixtureProperties.H.
|
inline |
Return the solidProperties properties.
Definition at line 130 of file solidMixtureProperties.H.
|
inline |
Return the number of solids in the mixture.
Definition at line 138 of file solidMixtureProperties.H.
References UList< T >::size().
Foam::scalar rho | ( | const scalarField & | Y | ) | const |
Calculate the mixture density [kg/m^3] as a function of.
mass fractions
Definition at line 83 of file solidMixtureProperties.C.
Foam::scalar Cp | ( | const scalarField & | Y | ) | const |
Calculate the mixture heat capacity [J/(kg K)] as a function of.
mass fractions
Definition at line 96 of file solidMixtureProperties.C.