OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

basicMultiComponentMixture Class Reference

combustion mixture More...

Inheritance diagram for basicMultiComponentMixture:
Collaboration diagram for basicMultiComponentMixture:

List of all members.


Public Member Functions

 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

Protected Attributes

speciesTable species_
 Table of specie names.
PtrList< volScalarFieldY_
 Species mass fractions.

Detailed Description

combustion mixture

Source files

Definition at line 46 of file basicMultiComponentMixture.H.


Constructor & Destructor Documentation

basicMultiComponentMixture ( const dictionary thermoDict,
const wordList specieNames,
const fvMesh mesh 
)

virtual ~basicMultiComponentMixture (  )  [inline, virtual]

Destructor.

Definition at line 74 of file basicMultiComponentMixture.H.


Member Function Documentation

const speciesTable& species (  )  const [inline]

Return the table of species.

Definition at line 81 of file basicMultiComponentMixture.H.

Foam::PtrList< Foam::volScalarField > & Y (  )  [inline]

Return the mass-fraction fields.

Definition at line 19 of file basicMultiComponentMixtureI.H.

const Foam::PtrList< Foam::volScalarField > & Y (  )  const [inline]

Return the const mass-fraction fields.

Definition at line 26 of file basicMultiComponentMixtureI.H.

References basicMultiComponentMixture::Y_.

Foam::volScalarField & Y ( const label  i  )  [inline]

Return the mass-fraction field for a specie given by index.

Definition at line 32 of file basicMultiComponentMixtureI.H.

References basicMultiComponentMixture::Y_.

const Foam::volScalarField & Y ( const label  i  )  const [inline]

Return the const mass-fraction field for a specie given by index.

Definition at line 39 of file basicMultiComponentMixtureI.H.

References basicMultiComponentMixture::Y_.

Foam::volScalarField & Y ( const word specieName  )  [inline]

Return the mass-fraction field for a specie given by name.

Definition at line 48 of file basicMultiComponentMixtureI.H.

const Foam::volScalarField & Y ( const word specieName  )  const [inline]

Return the const mass-fraction field for a specie given by name.

Definition at line 57 of file basicMultiComponentMixtureI.H.

bool contains ( const word specieName  )  const [inline]

Does the mixture include this specie?

Definition at line 66 of file basicMultiComponentMixtureI.H.

Foam::scalar fres ( const scalar  ft,
const scalar  stoicRatio 
) const [inline]

Definition at line 75 of file basicMultiComponentMixtureI.H.

Referenced by dieselMixture< ThermoType >::patchFaceProducts(), and veryInhomogeneousMixture< ThermoType >::patchFaceProducts().

Here is the caller graph for this function:

Foam::tmp< Foam::volScalarField > fres ( const volScalarField ft,
const dimensionedScalar stoicRatio 
) const [inline]

Definition at line 85 of file basicMultiComponentMixtureI.H.

References Foam::max().

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd