Public Member Functions | Static Public Member Functions | List of all members
solidMixtureProperties Class Reference

A mixture of solids. More...

Public Member Functions

 solidMixtureProperties (const dictionary &)
 Construct from dictionary. More...
 
 solidMixtureProperties (const solidMixtureProperties &lm)
 Construct copy. More...
 
virtual autoPtr< solidMixturePropertiesclone () const
 Construct and return a clone. More...
 
virtual ~solidMixtureProperties ()
 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< solidMixturePropertiesNew (const dictionary &)
 Select construct from dictionary. More...
 

Detailed Description

A mixture of solids.

An example of a two component solid mixture:

    <parentDictionary>
    {
        C;

        ash
        {
            //... user defined properties for ash
        }
    }
Source files
See also
Foam::solidProperties

Definition at line 67 of file solidMixtureProperties.H.

Constructor & Destructor Documentation

◆ solidMixtureProperties() [1/2]

Construct from dictionary.

Definition at line 30 of file solidMixtureProperties.C.

References forAll, dictionary::isDict(), solidProperties::New(), List< T >::size(), dictionary::subDict(), and dictionary::toc().

Referenced by solidMixtureProperties::clone(), and solidMixtureProperties::New().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ solidMixtureProperties() [2/2]

Construct copy.

Definition at line 61 of file solidMixtureProperties.C.

References forAll, and solidMixtureProperties::New().

Here is the call graph for this function:

◆ ~solidMixtureProperties()

virtual ~solidMixtureProperties ( )
inlinevirtual

Destructor.

Definition at line 99 of file solidMixtureProperties.H.

References solidMixtureProperties::New().

Here is the call graph for this function:

Member Function Documentation

◆ clone()

virtual autoPtr<solidMixtureProperties> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 89 of file solidMixtureProperties.H.

References solidMixtureProperties::solidMixtureProperties().

Here is the call graph for this function:

◆ New()

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

Select construct from dictionary.

Definition at line 78 of file solidMixtureProperties.C.

References solidMixtureProperties::solidMixtureProperties().

Referenced by SLGThermo::SLGThermo(), solidMixtureProperties::solidMixtureProperties(), and solidMixtureProperties::~solidMixtureProperties().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ components()

const List<word>& components ( ) const
inline

Return the solidProperties names.

Definition at line 112 of file solidMixtureProperties.H.

◆ properties()

const PtrList<solidProperties>& properties ( ) const
inline

◆ size()

label size ( ) const
inline

Return the number of solids in the mixture.

Definition at line 124 of file solidMixtureProperties.H.

References solidMixtureProperties::Cp(), solidMixtureProperties::rho(), List< T >::size(), and Y.

Here is the call graph for this function:

◆ rho()

Foam::scalar rho ( const scalarField Y) const

Calculate the mixture density [kg/m^3] as a function of.

mass fractions

Definition at line 91 of file solidMixtureProperties.C.

References forAll.

Referenced by solidMixtureProperties::size().

Here is the caller graph for this function:

◆ Cp()

Foam::scalar Cp ( const scalarField Y) const

Calculate the mixture heat capacity [J/(kg K)] as a function of.

mass fractions

Definition at line 104 of file solidMixtureProperties.C.

References forAll.

Referenced by solidMixtureProperties::size().

Here is the caller graph for this function:

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