Foam::chemkinReader. More...

Inheritance diagram for chemkinReader:
[legend]
Collaboration diagram for chemkinReader:
[legend]

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. More...
 

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Member Enumeration Documentation

◆ phase

enum phase
Enumerator
solid 
liquid 
gas 

Definition at line 73 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 834 of file chemkinReader.C.

References Foam::read().

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 854 of file chemkinReader.C.

References Foam::endl(), string::expand(), dictionary::get(), Foam::Info, fileName::isAbsolute(), dictionary::name(), fileName::path(), Foam::read(), dictionary::readIfPresent(), and thermoDict.

Here is the call graph for this function:

◆ ~chemkinReader()

virtual ~chemkinReader ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "chemkinReader"  )

Runtime type information.

◆ elementNames()

const wordList& elementNames ( ) const
inline

List of elements.

Definition at line 321 of file chemkinReader.H.

◆ elementIndices()

const HashTable<label>& elementIndices ( ) const
inline

Element indices.

Definition at line 327 of file chemkinReader.H.

◆ isotopeAtomicWts()

const HashTable<scalar>& isotopeAtomicWts ( ) const
inline

Isotope molecular weights.

Definition at line 333 of file chemkinReader.H.

◆ species()

const speciesTable& species ( ) const
inlinevirtual

Table of species.

Implements chemistryReader< gasHThermoPhysics >.

Definition at line 339 of file chemkinReader.H.

◆ specieComposition()

const speciesCompositionTable& specieComposition ( ) const
inlinevirtual

Table of species composition.

Implements chemistryReader< gasHThermoPhysics >.

Definition at line 345 of file chemkinReader.H.

◆ speciePhase()

const HashTable<phase>& speciePhase ( ) const
inline

Specie phase.

Definition at line 351 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 357 of file chemkinReader.H.

◆ reactions()

const ReactionList<gasHThermoPhysics>& reactions ( ) const
inlinevirtual

List of the reactions.

Implements chemistryReader< gasHThermoPhysics >.

Definition at line 363 of file chemkinReader.H.


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