An abstract class for methods of chemical mechanism reduction. More...
Public Member Functions | |
TypeName ("chemistryReductionMethod") | |
declareRunTimeSelectionTable (autoPtr, chemistryReductionMethod, dictionary,(const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry)) | |
chemistryReductionMethod (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry) | |
virtual | ~chemistryReductionMethod () |
bool | active () const |
bool | log () const |
const List< bool > & | activeSpecies () const |
label | NsSimp () |
label | nSpecie () |
scalar | tolerance () const |
virtual void | reduceMechanism (const scalarField &c, const scalar T, const scalar p)=0 |
Static Public Member Functions | |
static autoPtr< chemistryReductionMethod< CompType, ThermoType > > | New (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry) |
Protected Attributes | |
const IOdictionary & | dict_ |
const dictionary | coeffsDict_ |
Switch | active_ |
Switch | log_ |
TDACChemistryModel< CompType, ThermoType > & | chemistry_ |
List< bool > | activeSpecies_ |
label | NsSimp_ |
const label | nSpecie_ |
scalar | tolerance_ |
An abstract class for methods of chemical mechanism reduction.
An abstract class for reducing chemical mechanisms.
Definition at line 52 of file chemistryReductionMethod.H.
chemistryReductionMethod | ( | const IOdictionary & | dict, |
Foam::TDACChemistryModel< CompType, ThermoType > & | chemistry | ||
) |
Definition at line 29 of file chemistryReductionMethod.C.
|
virtual |
Definition at line 50 of file chemistryReductionMethod.C.
TypeName | ( | "chemistryReductionMethod< CompType, ThermoType >" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
chemistryReductionMethod< CompType, ThermoType > | , | ||
dictionary | , | ||
(const IOdictionary &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 chemistryReductionMethodNew.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 36 of file chemistryReductionMethodI.H.
|
inline |
Definition at line 44 of file chemistryReductionMethodI.H.
|
inline |
Definition at line 52 of file chemistryReductionMethodI.H.
|
inline |
Definition at line 60 of file chemistryReductionMethodI.H.
|
inline |
Definition at line 68 of file chemistryReductionMethodI.H.
|
inline |
Definition at line 76 of file chemistryReductionMethodI.H.
|
pure virtual |
|
protected |
Definition at line 57 of file chemistryReductionMethod.H.
|
protected |
Definition at line 60 of file chemistryReductionMethod.H.
|
protected |
Definition at line 63 of file chemistryReductionMethod.H.
|
protected |
Definition at line 66 of file chemistryReductionMethod.H.
|
protected |
Definition at line 68 of file chemistryReductionMethod.H.
Definition at line 71 of file chemistryReductionMethod.H.
|
protected |
Definition at line 74 of file chemistryReductionMethod.H.
|
protected |
Definition at line 77 of file chemistryReductionMethod.H.
|
protected |
Definition at line 80 of file chemistryReductionMethod.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.