valueMulticomponentMixture< ThermoType > Class Template Reference

Thermophysical properties mixing class which applies mass-fraction weighted mixing to thermodynamic properties and mole-fraction weighted mixing to transport properties. More...

Inheritance diagram for valueMulticomponentMixture< ThermoType >:
Collaboration diagram for valueMulticomponentMixture< ThermoType >:

Classes

class  thermoMixtureType
 Mixing type for thermodynamic properties. More...
 
class  transportMixtureType
 Mixing type for transport properties. More...
 

Public Member Functions

 valueMulticomponentMixture (const dictionary &)
 Construct from a dictionary. More...
 
 valueMulticomponentMixture (const valueMulticomponentMixture< ThermoType > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~valueMulticomponentMixture ()
 Destructor. More...
 
const thermoMixtureTypethermoMixture (const scalarFieldListSlice &) const
 Return the mixture for thermodynamic properties. More...
 
const transportMixtureTypetransportMixture (const scalarFieldListSlice &) const
 Return the mixture for transport properties. More...
 
const transportMixtureTypetransportMixture (const scalarFieldListSlice &, const thermoMixtureType &) const
 Return the mixture for transport properties. More...
 
- Public Member Functions inherited from multicomponentMixture< ThermoType >
 multicomponentMixture (const dictionary &)
 Construct from a dictionary. More...
 
 multicomponentMixture (const multicomponentMixture< ThermoType > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~multicomponentMixture ()
 Destructor. More...
 
wordList specieNames () const
 Return the specie names. More...
 
void read (const dictionary &)
 Read dictionary. More...
 
const PtrList< ThermoType > & specieThermos () const
 Return the raw specie thermodynamic data. More...
 
const ThermoType & specieThermo (const label speciei) const
 Return thermo based on index. More...
 
const List< specieElement > & specieComposition (const label speciei) const
 Return composition based on index. More...
 

Static Public Member Functions

static word typeName ()
 Return the instantiated type name. More...
 

Additional Inherited Members

- Public Types inherited from multicomponentMixture< ThermoType >
typedef ThermoType thermoType
 The type of thermodynamics this mixture is instantiated for. More...
 

Detailed Description

template<class ThermoType>
class Foam::valueMulticomponentMixture< ThermoType >

Thermophysical properties mixing class which applies mass-fraction weighted mixing to thermodynamic properties and mole-fraction weighted mixing to transport properties.

Source files

Definition at line 52 of file valueMulticomponentMixture.H.

Constructor & Destructor Documentation

◆ valueMulticomponentMixture() [1/2]

Construct from a dictionary.

Definition at line 107 of file valueMulticomponentMixture.C.

◆ valueMulticomponentMixture() [2/2]

valueMulticomponentMixture ( const valueMulticomponentMixture< ThermoType > &  )
delete

Disallow default bitwise copy construction.

◆ ~valueMulticomponentMixture()

virtual ~valueMulticomponentMixture ( )
inlinevirtual

Destructor.

Definition at line 228 of file valueMulticomponentMixture.H.

Member Function Documentation

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 235 of file valueMulticomponentMixture.H.

◆ thermoMixture()

const Foam::valueMulticomponentMixture< ThermoType >::thermoMixtureType & thermoMixture ( const scalarFieldListSlice &  Y) const

Return the mixture for thermodynamic properties.

Definition at line 247 of file valueMulticomponentMixture.C.

References forAll, and Y.

◆ transportMixture() [1/2]

const Foam::valueMulticomponentMixture< ThermoType >::transportMixtureType & transportMixture ( const scalarFieldListSlice &  Y) const

Return the mixture for transport properties.

Definition at line 264 of file valueMulticomponentMixture.C.

References forAll, and Y.

◆ transportMixture() [2/2]

const Foam::valueMulticomponentMixture< ThermoType >::transportMixtureType & transportMixture ( const scalarFieldListSlice &  Y,
const thermoMixtureType  
) const

Return the mixture for transport properties.

Definition at line 289 of file valueMulticomponentMixture.C.

References Y.


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