Loading...
Searching...
No Matches
chemistryTabulationMethod< CompType, ThermoType > Class Template Referenceabstract

An abstract class for chemistry tabulation. More...

#include <chemistryTabulationMethod.H>

Inheritance diagram for chemistryTabulationMethod< CompType, ThermoType >:
Collaboration diagram for chemistryTabulationMethod< CompType, ThermoType >:

Public Member Functions

 TypeName ("chemistryTabulationMethod")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry))
 chemistryTabulationMethod (const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 Construct from components.
virtual ~chemistryTabulationMethod ()
 Destructor.
bool active ()
bool log ()
bool variableTimeStep ()
scalar tolerance () const
virtual label size ()=0
virtual void writePerformance ()=0
virtual bool retrieve (const scalarField &phiQ, scalarField &RphiQ)=0
virtual label add (const scalarField &phiQ, const scalarField &RphiQ, const scalar rho, const scalar deltaT)=0
virtual bool update ()=0

Static Public Member Functions

static autoPtr< chemistryTabulationMethodNew (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)

Protected Attributes

const dictionarydict_
const dictionary coeffsDict_
Switch active_
 Is tabulation active?
Switch log_
 Switch to select performance logging.
TDACChemistryModel< CompType, ThermoType > & chemistry_
scalar tolerance_

Detailed Description

template<class CompType, class ThermoType>
class Foam::chemistryTabulationMethod< CompType, ThermoType >

An abstract class for chemistry tabulation.

Source files

Definition at line 55 of file chemistryTabulationMethod.H.

Constructor & Destructor Documentation

◆ chemistryTabulationMethod()

template<class CompType, class ThermoType>
chemistryTabulationMethod ( const dictionary & dict,
TDACChemistryModel< CompType, ThermoType > & chemistry )

Construct from components.

Definition at line 28 of file chemistryTabulationMethod.C.

References active_, chemistry, chemistry_, coeffsDict_, dict, dict_, e, log_, and tolerance_.

Referenced by ISAT< CompType, ThermoType >::ISAT(), and none< CompType, ThermoType >::none().

Here is the caller graph for this function:

◆ ~chemistryTabulationMethod()

template<class CompType, class ThermoType>
~chemistryTabulationMethod ( )
virtual

Destructor.

Definition at line 46 of file chemistryTabulationMethod.C.

Member Function Documentation

◆ TypeName()

template<class CompType, class ThermoType>
TypeName ( "chemistryTabulationMethod< CompType, ThermoType >" )

Runtime type information.

◆ declareRunTimeSelectionTable()

template<class CompType, class ThermoType>
declareRunTimeSelectionTable ( autoPtr ,
chemistryTabulationMethod< CompType, ThermoType > ,
dictionary ,
(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry) ,
(dict, chemistry)  )

◆ New()

template<class CompType, class ThermoType>
Foam::autoPtr< Foam::chemistryTabulationMethod< CompType, ThermoType > > New ( const IOdictionary & dict,
TDACChemistryModel< CompType, ThermoType > & chemistry )
static

DynamicList<word> thisCmpts(6); thisCmpts.append(CompType::typeName); thisCmpts.append ( basicThermo::splitThermoName(ThermoType::typeName(), 5) );

DynamicList<word> validNames;

if (thisCmpts == SubList<word>(cmpts, 6, 1)) { validNames.append(cmpts[0]); }

Definition at line 29 of file chemistryTabulationMethodNew.C.

References DynamicList< T, SizeMin >::append(), chemistry, dict, UList< T >::empty(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, dictionary::get(), Foam::Info, names, Foam::nl, Foam::printTable(), UList< T >::size(), and basicThermo::splitThermoName().

Referenced by TDACChemistryModel< ReactionThermo, ThermoType >::TDACChemistryModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ active()

template<class CompType, class ThermoType>
bool active ( )
inline

Definition at line 130 of file chemistryTabulationMethod.H.

◆ log()

template<class CompType, class ThermoType>
bool log ( )
inline

Definition at line 135 of file chemistryTabulationMethod.H.

Referenced by ISAT< CompType, ThermoType >::ISAT().

Here is the caller graph for this function:

◆ variableTimeStep()

template<class CompType, class ThermoType>
bool variableTimeStep ( )
inline

Definition at line 140 of file chemistryTabulationMethod.H.

Referenced by ISAT< CompType, ThermoType >::ISAT().

Here is the caller graph for this function:

◆ tolerance()

template<class CompType, class ThermoType>
scalar tolerance ( ) const
inline

Definition at line 145 of file chemistryTabulationMethod.H.

Referenced by ISAT< CompType, ThermoType >::add().

Here is the caller graph for this function:

◆ size()

template<class CompType, class ThermoType>
virtual label size ( )
pure virtual

◆ writePerformance()

template<class CompType, class ThermoType>
virtual void writePerformance ( )
pure virtual

◆ retrieve()

template<class CompType, class ThermoType>
virtual bool retrieve ( const scalarField & phiQ,
scalarField & RphiQ )
pure virtual

◆ add()

template<class CompType, class ThermoType>
virtual label add ( const scalarField & phiQ,
const scalarField & RphiQ,
const scalar rho,
const scalar deltaT )
pure virtual

◆ update()

template<class CompType, class ThermoType>
virtual bool update ( )
pure virtual

Member Data Documentation

◆ dict_

template<class CompType, class ThermoType>
const dictionary& dict_
protected

Definition at line 60 of file chemistryTabulationMethod.H.

Referenced by chemistryTabulationMethod().

◆ coeffsDict_

template<class CompType, class ThermoType>
const dictionary coeffsDict_
protected

◆ active_

template<class CompType, class ThermoType>
Switch active_
protected

◆ log_

template<class CompType, class ThermoType>
Switch log_
protected

Switch to select performance logging.

Definition at line 72 of file chemistryTabulationMethod.H.

Referenced by chemistryTabulationMethod().

◆ chemistry_

template<class CompType, class ThermoType>
TDACChemistryModel<CompType, ThermoType>& chemistry_
protected

◆ tolerance_

template<class CompType, class ThermoType>
scalar tolerance_
protected

Definition at line 76 of file chemistryTabulationMethod.H.

Referenced by chemistryTabulationMethod().


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/chemistryTabulationMethod/chemistryTabulationMethod.H
  • src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/chemistryTabulationMethod/chemistryTabulationMethod.C
  • src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/chemistryTabulationMethod/chemistryTabulationMethodNew.C