Loading...
Searching...
No Matches
solidMixtureProperties Class Reference

A mixture of solids. More...

#include <solidMixtureProperties.H>

Public Member Functions

 solidMixtureProperties (const dictionary &)
 Construct from dictionary.
 solidMixtureProperties (const solidMixtureProperties &lm)
 Construct copy.
virtual autoPtr< solidMixturePropertiesclone () const
 Construct and return a clone.
virtual ~solidMixtureProperties ()=default
 Destructor.
const List< word > & components () const
 Return the solidProperties names.
const PtrList< solidProperties > & properties () const
 Return the solidProperties properties.
label size () const
 Return the number of solids in the mixture.
scalar rho (const scalarField &Y) 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 of.

Static Public Member Functions

static autoPtr< solidMixturePropertiesNew (const dictionary &)
 Select construct from dictionary.

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 65 of file solidMixtureProperties.H.

Constructor & Destructor Documentation

◆ solidMixtureProperties() [1/2]

solidMixtureProperties ( const dictionary & dict)

Construct from dictionary.

Definition at line 26 of file solidMixtureProperties.C.

References dict, forAll, and solidProperties::New().

Referenced by solidMixtureProperties().

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

◆ solidMixtureProperties() [2/2]

solidMixtureProperties ( const solidMixtureProperties & lm)

Construct copy.

Definition at line 60 of file solidMixtureProperties.C.

References clone(), s(), and solidMixtureProperties().

Here is the call graph for this function:

◆ ~solidMixtureProperties()

virtual ~solidMixtureProperties ( )
virtualdefault

Destructor.

Member Function Documentation

◆ clone()

virtual autoPtr< solidMixtureProperties > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 97 of file solidMixtureProperties.H.

References autoPtr< T >::New().

Referenced by solidMixtureProperties().

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

◆ New()

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

Select construct from dictionary.

Definition at line 72 of file solidMixtureProperties.C.

References autoPtr< T >::New().

Here is the call graph for this function:

◆ components()

const List< word > & components ( ) const
inline

Return the solidProperties names.

Definition at line 122 of file solidMixtureProperties.H.

◆ properties()

const PtrList< solidProperties > & properties ( ) const
inline

Return the solidProperties properties.

Definition at line 130 of file solidMixtureProperties.H.

◆ size()

label size ( ) const
inline

Return the number of solids in the mixture.

Definition at line 138 of file solidMixtureProperties.H.

◆ rho()

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.

References forAll, and Y.

◆ 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 96 of file solidMixtureProperties.C.

References Cp(), forAll, and Y.

Referenced by Cp().

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

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