chemistryTabulationMethod< CompType, ThermoType > Class Template Referenceabstract

An abstract class for chemistry tabulation. More...

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

Public Member Functions

 TypeName ("chemistryTabulationMethod")
 Runtime type information. More...
 declareRunTimeSelectionTable (autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry))
 chemistryTabulationMethod (const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 Construct from components. More...
virtual ~chemistryTabulationMethod ()
 Destructor. More...
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? More...
Switch log_
 Switch to select performance logging. More...
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 59 of file chemistryTabulationMethod.H.

Constructor & Destructor Documentation

◆ chemistryTabulationMethod()

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

Construct from components.

Definition at line 36 of file chemistryTabulationMethod.C.

◆ ~chemistryTabulationMethod()


Definition at line 54 of file chemistryTabulationMethod.C.

Member Function Documentation

◆ TypeName()

TypeName ( "chemistryTabulationMethod< CompType, ThermoType >"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

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

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 37 of file chemistryTabulationMethodNew.C.

◆ active()

bool active ( )

Definition at line 124 of file chemistryTabulationMethod.H.

◆ log()

bool log ( )

Definition at line 129 of file chemistryTabulationMethod.H.

◆ variableTimeStep()

bool variableTimeStep ( )

Definition at line 134 of file chemistryTabulationMethod.H.

◆ tolerance()

scalar tolerance ( ) const

Definition at line 139 of file chemistryTabulationMethod.H.

◆ size()

virtual label size ( )
pure virtual

◆ writePerformance()

virtual void writePerformance ( )
pure virtual

◆ retrieve()

virtual bool retrieve ( const scalarField phiQ,
scalarField RphiQ 
pure virtual

◆ add()

virtual label add ( const scalarField phiQ,
const scalarField RphiQ,
const scalar  rho,
const scalar  deltaT 
pure virtual

◆ update()

virtual bool update ( )
pure virtual

Member Data Documentation

◆ dict_

const dictionary& dict_

Definition at line 64 of file chemistryTabulationMethod.H.

◆ coeffsDict_

const dictionary coeffsDict_

Definition at line 66 of file chemistryTabulationMethod.H.

◆ active_

◆ log_

Switch log_

Switch to select performance logging.

Definition at line 72 of file chemistryTabulationMethod.H.

Referenced by chemistryTabulationMethod< ReactionThermo, ThermoType >::log().

◆ chemistry_

TDACChemistryModel<CompType, ThermoType>& chemistry_

◆ tolerance_

scalar tolerance_

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