Public Types | Public Member Functions | Static Public Member Functions | List of all members
inhomogeneousMixture< ThermoType > Class Template Reference

The inhomogeneous mixture contains species ("ft", "b"). More...

Inheritance diagram for inhomogeneousMixture< ThermoType >:
Inheritance graph
[legend]
Collaboration diagram for inhomogeneousMixture< ThermoType >:
Collaboration graph
[legend]

Public Types

typedef ThermoType thermoType
 
- Public Types inherited from basicCombustionMixture
typedef basicCombustionMixture basicMixtureType
 
- Public Types inherited from basicSpecieMixture
typedef basicSpecieMixture basicMixtureType
 
- Public Types inherited from basicMultiComponentMixture
typedef basicMultiComponentMixture basicMixtureType
 
- Public Types inherited from basicMixture
typedef basicMixture basicMixtureType
 

Public Member Functions

 inhomogeneousMixture (const dictionary &thermoDict, const fvMesh &mesh, const word &phaseName)
 
virtual ~inhomogeneousMixture ()=default
 
const dimensionedScalarstoicRatio () const
 
const ThermoType & mixture (const scalar, const scalar) const
 
const ThermoType & cellMixture (const label celli) const
 
const ThermoType & cellVolMixture (const scalar p, const scalar T, const label celli) const
 
const ThermoType & patchFaceMixture (const label patchi, const label facei) const
 
const ThermoType & patchFaceVolMixture (const scalar p, const scalar T, const label patchi, const label facei) const
 
const ThermoType & cellReactants (const label celli) const
 
const ThermoType & patchFaceReactants (const label patchi, const label facei) const
 
const ThermoType & cellProducts (const label celli) const
 
const ThermoType & patchFaceProducts (const label patchi, const label facei) const
 
void read (const dictionary &)
 
const ThermoType & getLocalThermo (const label speciei) const
 
- Public Member Functions inherited from basicCombustionMixture
 TypeName ("basicCombustionMixture")
 
 basicCombustionMixture (const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
 
virtual ~basicCombustionMixture ()=default
 
scalar fres (const scalar ft, const scalar stoicRatio) const
 
tmp< volScalarFieldfres (const volScalarField &ft, const dimensionedScalar &stoicRatio) const
 
- Public Member Functions inherited from basicSpecieMixture
 TypeName ("basicSpecieMixture")
 
 basicSpecieMixture (const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
 
virtual ~basicSpecieMixture ()=default
 
virtual scalar W (const label speciei) const =0
 
virtual scalar Hc (const label speciei) const =0
 
virtual scalar Cp (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar Cv (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar HE (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar Ha (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar Hs (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar S (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar Es (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar G (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar A (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar mu (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar kappa (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar alphah (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar rho (const label speciei, const scalar p, const scalar T) const =0
 
virtual autoPtr< speciesCompositionTablespecieComposition () const
 
- Public Member Functions inherited from basicMultiComponentMixture
 TypeName ("basicMultiComponentMixture")
 
 basicMultiComponentMixture (const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
 
virtual ~basicMultiComponentMixture ()=default
 
const speciesTablespecies () const
 
bool contains (const word &specieName) const
 
bool active (label speciei) const
 
const List< bool > & active () const
 
void setActive (label speciei)
 
void setInactive (label speciei)
 
PtrList< volScalarField > & Y ()
 
const PtrList< volScalarField > & Y () const
 
volScalarFieldY (const label i)
 
const volScalarFieldY (const label i) const
 
volScalarFieldY (const word &specieName)
 
const volScalarFieldY (const word &specieName) const
 
- Public Member Functions inherited from basicMixture
 basicMixture (const dictionary &, const fvMesh &, const word &)
 

Static Public Member Functions

static word typeName ()
 

Additional Inherited Members

- Protected Attributes inherited from basicMultiComponentMixture
speciesTable species_
 
List< boolactive_
 
PtrList< volScalarFieldY_
 

Detailed Description

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

The inhomogeneous mixture contains species ("ft", "b").

Source files

Definition at line 51 of file inhomogeneousMixture.H.

Member Typedef Documentation

◆ thermoType

typedef ThermoType thermoType

Definition at line 81 of file inhomogeneousMixture.H.

Constructor & Destructor Documentation

◆ inhomogeneousMixture()

inhomogeneousMixture ( const dictionary thermoDict,
const fvMesh mesh,
const word phaseName 
)

Definition at line 28 of file inhomogeneousMixture.C.

◆ ~inhomogeneousMixture()

virtual ~inhomogeneousMixture ( )
virtualdefault

Member Function Documentation

◆ typeName()

static word typeName ( )
inlinestatic

Definition at line 102 of file inhomogeneousMixture.H.

◆ stoicRatio()

const dimensionedScalar& stoicRatio ( ) const
inline

Definition at line 107 of file inhomogeneousMixture.H.

◆ mixture()

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

◆ cellMixture()

const ThermoType& cellMixture ( const label  celli) const
inline

Definition at line 114 of file inhomogeneousMixture.H.

References inhomogeneousMixture< ThermoType >::mixture().

Here is the call graph for this function:

◆ cellVolMixture()

const ThermoType& cellVolMixture ( const scalar  p,
const scalar  T,
const label  celli 
) const
inline

Definition at line 120 of file inhomogeneousMixture.H.

References inhomogeneousMixture< ThermoType >::mixture().

Here is the call graph for this function:

◆ patchFaceMixture()

const ThermoType& patchFaceMixture ( const label  patchi,
const label  facei 
) const
inline

Definition at line 130 of file inhomogeneousMixture.H.

References GeometricField::boundaryField(), and inhomogeneousMixture< ThermoType >::mixture().

Here is the call graph for this function:

◆ patchFaceVolMixture()

const ThermoType& patchFaceVolMixture ( const scalar  p,
const scalar  T,
const label  patchi,
const label  facei 
) const
inline

Definition at line 143 of file inhomogeneousMixture.H.

References GeometricField::boundaryField(), and inhomogeneousMixture< ThermoType >::mixture().

Here is the call graph for this function:

◆ cellReactants()

const ThermoType& cellReactants ( const label  celli) const
inline

Definition at line 157 of file inhomogeneousMixture.H.

References inhomogeneousMixture< ThermoType >::mixture().

Here is the call graph for this function:

◆ patchFaceReactants()

const ThermoType& patchFaceReactants ( const label  patchi,
const label  facei 
) const
inline

Definition at line 163 of file inhomogeneousMixture.H.

References GeometricField::boundaryField(), and inhomogeneousMixture< ThermoType >::mixture().

Here is the call graph for this function:

◆ cellProducts()

const ThermoType& cellProducts ( const label  celli) const
inline

Definition at line 175 of file inhomogeneousMixture.H.

References inhomogeneousMixture< ThermoType >::mixture().

Here is the call graph for this function:

◆ patchFaceProducts()

const ThermoType& patchFaceProducts ( const label  patchi,
const label  facei 
) const
inline

Definition at line 181 of file inhomogeneousMixture.H.

References GeometricField::boundaryField(), and inhomogeneousMixture< ThermoType >::mixture().

Here is the call graph for this function:

◆ read()

void read ( const dictionary thermoDict)

Definition at line 84 of file inhomogeneousMixture.C.

References thermoDict.

◆ getLocalThermo()

const ThermoType & getLocalThermo ( const label  speciei) const

Definition at line 96 of file inhomogeneousMixture.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

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