Implementation of the Directed Relation Graph (DRG) method. More...
Public Member Functions | |
TypeName ("DRG") | |
Runtime type information. More... | |
DRG (const IOdictionary &dict, TDACChemistryModel< ThermoType > &chemistry) | |
Construct from components. More... | |
virtual | ~DRG () |
virtual void | reduceMechanism (const scalar p, const scalar T, const scalarField &c, const label li) |
Reduce the mechanism. More... | |
![]() | |
TypeName ("chemistryReductionMethod") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, chemistryReductionMethod, dictionary,(const IOdictionary &dict, TDACChemistryModel< ThermoType > &chemistry),(dict, chemistry)) | |
chemistryReductionMethod (const IOdictionary &dict, TDACChemistryModel< ThermoType > &chemistry) | |
Construct from components. More... | |
virtual | ~chemistryReductionMethod () |
Destructor. More... | |
bool | active () const |
Is mechanism reduction active? More... | |
bool | log () const |
Is performance data logging enabled? More... | |
const List< bool > & | activeSpecies () const |
Return the active species. More... | |
label | NsSimp () |
Return the number of active species. More... | |
label | nSpecie () |
Return the initial number of species. More... | |
scalar | tolerance () const |
Return the tolerance. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< chemistryReductionMethod< ThermoType > > | New (const IOdictionary &dict, TDACChemistryModel< ThermoType > &chemistry) |
![]() | |
const IOdictionary & | dict_ |
const dictionary | coeffsDict_ |
Dictionary that store the algorithm data. More... | |
Switch | active_ |
Is mechanism reduction active? More... | |
Switch | log_ |
Switch to select performance logging. More... | |
TDACChemistryModel< ThermoType > & | chemistry_ |
List< bool > | activeSpecies_ |
List of active species (active = true) More... | |
label | NsSimp_ |
Number of active species. More... | |
const label | nSpecie_ |
Number of species. More... | |
scalar | tolerance_ |
Tolerance for the mechanism reduction algorithm. More... | |
Implementation of the Directed Relation Graph (DRG) method.
DRG | ( | const IOdictionary & | dict, |
TDACChemistryModel< ThermoType > & | chemistry | ||
) |
Construct from components.
Definition at line 32 of file DRG.C.
References forAllConstIter(), and standardChemistryModel< ThermoType >::mixture().
|
virtual |
Definition at line 51 of file DRG.C.
References DRG< ThermoType >::reduceMechanism().
TypeName | ( | "DRG< ThermoType >" | ) |
Runtime type information.
|
virtual |
Reduce the mechanism.
Implements chemistryReductionMethod< ThermoType >.
Definition at line 59 of file DRG.C.
References Foam::constant::physicoChemical::c1, forAll, found, reaction::lhs(), Reaction< ReactionThermo >::omega(), p, FIFOStack< T >::pop(), FIFOStack< T >::push(), R, reaction::rhs(), s(), and T.
Referenced by DRG< ThermoType >::~DRG().