FreeFOAM The Cross-Platform CFD Toolkit
homogeneousMixture< ThermoType > Class Template Reference

Foam::homogeneousMixture. More...

#include <reactionThermophysicalModels/homogeneousMixture.H>


Detailed Description

+ Inheritance diagram for homogeneousMixture< ThermoType >:
+ Collaboration diagram for homogeneousMixture< ThermoType >:

List of all members.

Public Types

typedef ThermoType thermoType
 The type of thermodynamics this mixture is instantiated for.

Public Member Functions

 homogeneousMixture (const dictionary &, const fvMesh &)
 Construct from dictionary and mesh.
virtual ~homogeneousMixture ()
 Destructor.
const ThermoTypemixture (const scalar) const
const ThermoTypecellMixture (const label celli) const
const ThermoTypepatchFaceMixture (const label patchi, const label facei) const
const ThermoTypecellReactants (const label) const
const ThermoTypepatchFaceReactants (const label, const label) const
const ThermoTypecellProducts (const label) const
const ThermoTypepatchFaceProducts (const label, const label) const
void read (const dictionary &)
 Read dictionary.
- Public Member Functions inherited from basicMultiComponentMixture
 basicMultiComponentMixture (const dictionary &, const wordList &specieNames, const fvMesh &)
 Construct from dictionary and mesh.
virtual ~basicMultiComponentMixture ()
 Destructor.
const speciesTablespecies () const
 Return the table of species.
PtrList< volScalarField > & Y ()
 Return the mass-fraction fields.
const PtrList< volScalarField > & Y () const
 Return the const mass-fraction fields.
volScalarFieldY (const label i)
 Return the mass-fraction field for a specie given by index.
const volScalarFieldY (const label i) const
 Return the const mass-fraction field for a specie given by index.
volScalarFieldY (const word &specieName)
 Return the mass-fraction field for a specie given by name.
const volScalarFieldY (const word &specieName) const
 Return the const mass-fraction field for a specie given by name.
bool contains (const word &specieName) const
 Does the mixture include this specie?
scalar fres (const scalar ft, const scalar stoicRatio) const
tmp< volScalarFieldfres (const volScalarField &ft, const dimensionedScalar &stoicRatio) const

Additional Inherited Members

- Protected Attributes inherited from basicMultiComponentMixture
speciesTable species_
 Table of specie names.
PtrList< volScalarFieldY_
 Species mass fractions.

Member Typedef Documentation

The type of thermodynamics this mixture is instantiated for.

Definition at line 74 of file homogeneousMixture.H.


Constructor & Destructor Documentation

homogeneousMixture ( const dictionary thermoDict,
const fvMesh mesh 
)

Construct from dictionary and mesh.

Definition at line 39 of file homogeneousMixture.C.

virtual ~homogeneousMixture ( )
inlinevirtual

Destructor.

Definition at line 84 of file homogeneousMixture.H.


Member Function Documentation

const ThermoType & mixture ( const scalar  b) const
const ThermoType& cellMixture ( const label  celli) const
inline

Definition at line 92 of file homogeneousMixture.H.

References homogeneousMixture< ThermoType >::mixture().

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

Definition at line 106 of file homogeneousMixture.H.

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

Definition at line 111 of file homogeneousMixture.H.

const ThermoType& cellProducts ( const label  ) const
inline

Definition at line 116 of file homogeneousMixture.H.

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

Definition at line 121 of file homogeneousMixture.H.

void read ( const dictionary thermoDict)

Read dictionary.

Definition at line 85 of file homogeneousMixture.C.

References dictionary::lookup().


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