Loading...
Searching...
No Matches

Foam::chemkinReader. More...

#include <chemkinReader.H>

Inheritance diagram for chemkinReader:
Collaboration diagram for chemkinReader:

Public Types

enum  phase { solid , liquid , gas }
Public Types inherited from chemistryReader< gasHThermoPhysics >
typedef gasHThermoPhysics thermoType
 The type of thermo package the reader was instantiated for.

Public Member Functions

 TypeName ("chemkinReader")
 Runtime type information.
 chemkinReader (speciesTable &species, const fileName &CHEMKINFileName, const fileName &transportFileName, const fileName &thermoFileName=fileName::null, const bool newFormat=false)
 Construct from CHEMKIN III file name.
 chemkinReader (const dictionary &thermoDict, speciesTable &species)
 Construct by getting the CHEMKIN III file name from dictionary.
virtual ~chemkinReader ()=default
 Destructor.
const wordListelementNames () const
 List of elements.
const HashTable< label > & elementIndices () const
 Element indices.
const HashTable< scalar > & isotopeAtomicWts () const
 Isotope molecular weights.
const speciesTablespecies () const
 Table of species.
const speciesCompositionTablespecieComposition () const
 Table of species composition.
const HashTable< phase > & speciePhase () const
 Specie phase.
const ReactionTable< gasHThermoPhysics > & speciesThermo () const
 Table of the thermodynamic data given in the CHEMKIN file.
const ReactionList< gasHThermoPhysics > & reactions () const
 List of the reactions.
Public Member Functions inherited from chemistryReader< gasHThermoPhysics >
 TypeName ("chemistryReader")
 Runtime type information.
 chemistryReader ()
 Default construct.
 declareRunTimeSelectionTable (autoPtr, chemistryReader, dictionary,(const dictionary &thermoDict, speciesTable &species),(thermoDict, species))
virtual ~chemistryReader ()=default
 Destructor.

Additional Inherited Members

Static Public Member Functions inherited from chemistryReader< gasHThermoPhysics >
static autoPtr< chemistryReaderNew (const dictionary &thermoDict, speciesTable &species)
 Select constructed from dictionary.

Detailed Description

Member Enumeration Documentation

◆ phase

enum phase
Enumerator
solid 
liquid 
gas 

Definition at line 69 of file chemkinReader.H.

Constructor & Destructor Documentation

◆ chemkinReader() [1/2]

chemkinReader ( speciesTable & species,
const fileName & CHEMKINFileName,
const fileName & transportFileName,
const fileName & thermoFileName = fileName::null,
const bool newFormat = false )

Construct from CHEMKIN III file name.

Definition at line 823 of file chemkinReader.C.

References species().

Here is the call graph for this function:

◆ chemkinReader() [2/2]

chemkinReader ( const dictionary & thermoDict,
speciesTable & species )

Construct by getting the CHEMKIN III file name from dictionary.

Definition at line 843 of file chemkinReader.C.

References Foam::endl(), string::expand(), Foam::Info, fileName::isAbsolute(), species(), and thermoDict.

Here is the call graph for this function:

◆ ~chemkinReader()

virtual ~chemkinReader ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "chemkinReader" )

Runtime type information.

References fileName::null, species(), and thermoDict.

Here is the call graph for this function:

◆ elementNames()

const wordList & elementNames ( ) const
inline

List of elements.

Definition at line 363 of file chemkinReader.H.

◆ elementIndices()

const HashTable< label > & elementIndices ( ) const
inline

Element indices.

Definition at line 371 of file chemkinReader.H.

◆ isotopeAtomicWts()

const HashTable< scalar > & isotopeAtomicWts ( ) const
inline

Isotope molecular weights.

Definition at line 379 of file chemkinReader.H.

◆ species()

const speciesTable & species ( ) const
inlinevirtual

Table of species.

Implements chemistryReader< gasHThermoPhysics >.

Definition at line 387 of file chemkinReader.H.

Referenced by chemkinReader(), chemkinReader(), and TypeName().

Here is the caller graph for this function:

◆ specieComposition()

const speciesCompositionTable & specieComposition ( ) const
inlinevirtual

Table of species composition.

Implements chemistryReader< gasHThermoPhysics >.

Definition at line 395 of file chemkinReader.H.

◆ speciePhase()

const HashTable< phase > & speciePhase ( ) const
inline

Specie phase.

Definition at line 403 of file chemkinReader.H.

◆ speciesThermo()

const ReactionTable< gasHThermoPhysics > & speciesThermo ( ) const
inlinevirtual

Table of the thermodynamic data given in the CHEMKIN file.

Implements chemistryReader< gasHThermoPhysics >.

Definition at line 411 of file chemkinReader.H.

◆ reactions()

const ReactionList< gasHThermoPhysics > & reactions ( ) const
inlinevirtual

List of the reactions.

Implements chemistryReader< gasHThermoPhysics >.

Definition at line 419 of file chemkinReader.H.


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.H
  • src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.C