inhomogeneousMixture< ThermoType > Class Template Reference

Foam::inhomogeneousMixture. More...

Public Types

typedef ThermoType thermoType
 The type of thermodynamics this mixture is instantiated for. More...
 
typedef ThermoType thermoMixtureType
 Mixing type for thermodynamic properties. More...
 
typedef ThermoType transportMixtureType
 Mixing type for transport properties. More...
 

Public Member Functions

 inhomogeneousMixture (const dictionary &)
 Construct from a dictionary. More...
 
 inhomogeneousMixture (const inhomogeneousMixture< ThermoType > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~inhomogeneousMixture ()
 Destructor. More...
 
scalar fres (const scalar ft) const
 Return the residual fraction of fuel in the burnt mixture. More...
 
const thermoTypemixture (const scalar ft, const scalar b) const
 Return the mixture for the given composition. 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...
 
const thermoTypereactants (const scalarFieldListSlice &) const
 Return the reactant mixture. More...
 
const thermoTypeproducts (const scalarFieldListSlice &) const
 Return the product mixture. More...
 
void read (const dictionary &)
 Read dictionary. More...
 
void operator= (const inhomogeneousMixture< ThermoType > &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static word typeName ()
 Return the instantiated type name. More...
 
static wordList specieNames ()
 Return the specie names. More...
 

Detailed Description

template<class ThermoType>
class Foam::inhomogeneousMixture< ThermoType >

Foam::inhomogeneousMixture.

Source files

Definition at line 50 of file inhomogeneousMixture.H.

Member Typedef Documentation

◆ thermoType

typedef ThermoType thermoType

The type of thermodynamics this mixture is instantiated for.

Definition at line 57 of file inhomogeneousMixture.H.

◆ thermoMixtureType

typedef ThermoType thermoMixtureType

Mixing type for thermodynamic properties.

Definition at line 60 of file inhomogeneousMixture.H.

◆ transportMixtureType

typedef ThermoType transportMixtureType

Mixing type for transport properties.

Definition at line 63 of file inhomogeneousMixture.H.

Constructor & Destructor Documentation

◆ inhomogeneousMixture() [1/2]

inhomogeneousMixture ( const dictionary dict)

Construct from a dictionary.

Definition at line 31 of file inhomogeneousMixture.C.

◆ inhomogeneousMixture() [2/2]

inhomogeneousMixture ( const inhomogeneousMixture< ThermoType > &  )
delete

Disallow default bitwise copy construction.

◆ ~inhomogeneousMixture()

virtual ~inhomogeneousMixture ( )
inlinevirtual

Destructor.

Definition at line 104 of file inhomogeneousMixture.H.

Member Function Documentation

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 111 of file inhomogeneousMixture.H.

◆ specieNames()

static wordList specieNames ( )
inlinestatic

Return the specie names.

Definition at line 117 of file inhomogeneousMixture.H.

◆ fres()

scalar fres ( const scalar  ft) const
inline

Return the residual fraction of fuel in the burnt mixture.

Definition at line 123 of file inhomogeneousMixture.H.

References Foam::max(), and dimensioned< Type >::value().

Here is the call graph for this function:

◆ mixture()

const ThermoType & mixture ( const scalar  ft,
const scalar  b 
) const

Return the mixture for the given composition.

Definition at line 47 of file inhomogeneousMixture.C.

References b.

◆ thermoMixture()

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

Return the mixture for thermodynamic properties.

Definition at line 74 of file inhomogeneousMixture.C.

References B, and Y.

◆ transportMixture() [1/2]

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

Return the mixture for transport properties.

Definition at line 85 of file inhomogeneousMixture.C.

References B, and Y.

◆ transportMixture() [2/2]

const Foam::inhomogeneousMixture< ThermoType >::transportMixtureType & transportMixture ( const scalarFieldListSlice &  ,
const thermoMixtureType mixture 
) const

Return the mixture for transport properties.

Definition at line 96 of file inhomogeneousMixture.C.

◆ reactants()

const Foam::inhomogeneousMixture< ThermoType >::thermoType & reactants ( const scalarFieldListSlice &  Y) const

Return the reactant mixture.

Definition at line 108 of file inhomogeneousMixture.C.

References Y.

◆ products()

const Foam::inhomogeneousMixture< ThermoType >::thermoType & products ( const scalarFieldListSlice &  Y) const

Return the product mixture.

Definition at line 119 of file inhomogeneousMixture.C.

References Y.

◆ read()

void read ( const dictionary dict)

Read dictionary.

Definition at line 129 of file inhomogeneousMixture.C.

References dict, Foam::dimless, and dictionary::subDict().

Here is the call graph for this function:

◆ operator=()

void operator= ( const inhomogeneousMixture< ThermoType > &  )
delete

Disallow default bitwise assignment.


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