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

Foam::inhomogeneousMixture. More...

#include <reactionThermophysicalModels/inhomogeneousMixture.H>


Detailed Description

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

List of all members.

Public Types

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

Public Member Functions

 inhomogeneousMixture (const dictionary &, const fvMesh &)
 Construct from dictionary and mesh.
virtual ~inhomogeneousMixture ()
 Destructor.
const dimensionedScalarstoicRatio () const
const ThermoTypemixture (const scalar, const scalar) const
const ThermoTypecellMixture (const label celli) const
const ThermoTypepatchFaceMixture (const label patchi, const label facei) const
const ThermoTypecellReactants (const label celli) const
const ThermoTypepatchFaceReactants (const label patchi, const label facei) const
const ThermoTypecellProducts (const label celli) const
const ThermoTypepatchFaceProducts (const label patchi, const label facei) 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 80 of file inhomogeneousMixture.H.


Constructor & Destructor Documentation

inhomogeneousMixture ( const dictionary thermoDict,
const fvMesh mesh 
)

Construct from dictionary and mesh.

Definition at line 40 of file inhomogeneousMixture.C.

virtual ~inhomogeneousMixture ( )
inlinevirtual

Destructor.

Definition at line 90 of file inhomogeneousMixture.H.


Member Function Documentation

const dimensionedScalar& stoicRatio ( ) const
inline

Definition at line 96 of file inhomogeneousMixture.H.

const ThermoType& cellMixture ( const label  celli) const
inline
const ThermoType& patchFaceMixture ( const label  patchi,
const label  facei 
) const
inline
const ThermoType& cellReactants ( const label  celli) const
inline
const ThermoType& patchFaceReactants ( const label  patchi,
const label  facei 
) const
inline
const ThermoType& cellProducts ( const label  celli) const
inline
const ThermoType& patchFaceProducts ( const label  patchi,
const label  facei 
) const
inline
void read ( const dictionary thermoDict)

Read dictionary.

Definition at line 94 of file inhomogeneousMixture.C.

References dictionary::lookup().


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