FreeFOAM The Cross-Platform CFD Toolkit
solidMixture Class Reference

Foam::solidMixture. More...

#include <solidMixture/solidMixture.H>


Detailed Description

Foam::solidMixture.

Definition at line 49 of file solidMixture.H.

List of all members.

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< solidMixtureNew (const dictionary &)
 Select construct from dictionary.

Constructor & Destructor Documentation

solidMixture ( const dictionary thermophysicalProperties)

Construct from dictionary.

Definition at line 32 of file solidMixture.C.

References forAll, and dictionary::lookup().


Member Function Documentation

Foam::autoPtr< Foam::solidMixture > New ( const dictionary thermophysicalProperties)
static

Select construct from dictionary.

Definition at line 54 of file solidMixture.C.

const List<word>& components ( ) const
inline

Return the sold names.

Definition at line 84 of file solidMixture.H.

const PtrList<solid>& properties ( ) const
inline

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.


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