An abstract class for chemistry tabulation. More...
Public Member Functions | |
TypeName ("chemistryTabulationMethod") | |
declareRunTimeSelectionTable (autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry)) | |
chemistryTabulationMethod (const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry) | |
virtual | ~chemistryTabulationMethod () |
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< chemistryTabulationMethod > | New (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry) |
Protected Attributes | |
const dictionary & | dict_ |
const dictionary | coeffsDict_ |
Switch | active_ |
Switch | log_ |
TDACChemistryModel< CompType, ThermoType > & | chemistry_ |
scalar | tolerance_ |
An abstract class for chemistry tabulation.
Definition at line 55 of file chemistryTabulationMethod.H.
chemistryTabulationMethod | ( | const dictionary & | dict, |
TDACChemistryModel< CompType, ThermoType > & | chemistry | ||
) |
Definition at line 29 of file chemistryTabulationMethod.C.
|
virtual |
Definition at line 47 of file chemistryTabulationMethod.C.
TypeName | ( | "chemistryTabulationMethod< CompType, ThermoType >" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
chemistryTabulationMethod< CompType, ThermoType > | , | ||
dictionary | , | ||
(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry) | , | ||
(dict, 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 30 of file chemistryTabulationMethodNew.C.
References DynamicList::append(), chemistry, dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, dictionary::get(), Foam::Info, Foam::PtrListOps::names(), Foam::nl, and Foam::printTable().
|
inline |
Definition at line 120 of file chemistryTabulationMethod.H.
References chemistryTabulationMethod< CompType, ThermoType >::active_.
|
inline |
Definition at line 125 of file chemistryTabulationMethod.H.
References chemistryTabulationMethod< CompType, ThermoType >::active_, and chemistryTabulationMethod< CompType, ThermoType >::log_.
|
inline |
Definition at line 130 of file chemistryTabulationMethod.H.
References chemistryTabulationMethod< CompType, ThermoType >::chemistry_, and TDACChemistryModel::variableTimeStep().
|
inline |
Definition at line 135 of file chemistryTabulationMethod.H.
References chemistryTabulationMethod< CompType, ThermoType >::tolerance_.
|
pure virtual |
Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.
|
pure virtual |
Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.
|
pure virtual |
Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.
|
pure virtual |
Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.
|
pure virtual |
Implemented in ISAT< CompType, ThermoType >, and none< CompType, ThermoType >.
|
protected |
Definition at line 60 of file chemistryTabulationMethod.H.
|
protected |
Definition at line 62 of file chemistryTabulationMethod.H.
|
protected |
Definition at line 65 of file chemistryTabulationMethod.H.
Referenced by chemistryTabulationMethod< CompType, ThermoType >::active(), and chemistryTabulationMethod< CompType, ThermoType >::log().
|
protected |
Definition at line 68 of file chemistryTabulationMethod.H.
Referenced by chemistryTabulationMethod< CompType, ThermoType >::log().
|
protected |
Definition at line 70 of file chemistryTabulationMethod.H.
Referenced by chemistryTabulationMethod< CompType, ThermoType >::variableTimeStep().
|
protected |
Definition at line 72 of file chemistryTabulationMethod.H.
Referenced by chemistryTabulationMethod< CompType, ThermoType >::tolerance().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.