#include <solidMixture/solidMixture.H>
Definition at line 49 of file solidMixture.H.
Public Member Functions | |
solidMixture (const dictionary &) | |
Construct from dictionary.
| |
const List< word > & | components () const |
Return the sold names.
| |
const PtrList< solid > & | properties () const |
Return the solid properties.
| |
scalarField | Y (const scalarField &X) const |
Returns the mass fractions, given mole fractions.
| |
scalarField | X (const scalarField &Y) const |
Returns the mole fractions, given mass fractions.
| |
scalar | rho (const scalarField &X) const |
Calculate the mixture density [kg/m^3] as a function of.
| |
scalar | cp (const scalarField &Y) const |
Calculate the mixture heat capacity [J/(kg K)] as a function.
| |
Static Public Member Functions | |
static autoPtr< solidMixture > | New (const dictionary &) |
Select construct from dictionary.
|
solidMixture | ( | const dictionary & | thermophysicalProperties ) |
Construct from dictionary.
Definition at line 32 of file solidMixture.C.
References forAll, and dictionary::lookup().
Foam::autoPtr< Foam::solidMixture > New | ( | const dictionary & | thermophysicalProperties ) | [static]
|
Select construct from dictionary.
Definition at line 54 of file solidMixture.C.
Return the sold names.
Definition at line 84 of file solidMixture.H.
Return the solid properties.
Definition at line 90 of file solidMixture.H.
scalarField Y | ( | const scalarField & | X ) | const |
Returns the mass fractions, given mole fractions.
Foam::scalarField X | ( | const scalarField & | Y ) | const |
Returns the mole fractions, given mass fractions.
Definition at line 65 of file solidMixture.C.
References forAll, and List< T >::size().
Foam::scalar rho | ( | const scalarField & | X ) | const |
Calculate the mixture density [kg/m^3] as a function of.
volume fractions
Definition at line 82 of file solidMixture.C.
References forAll.
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 solidMixture.C.
References forAll.