An abstract class for methods of chemical mechanism reduction. More...


Public Member Functions | |
| TypeName ("chemistryReductionMethod") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, chemistryReductionMethod, dictionary,(const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry)) | |
| chemistryReductionMethod (const IOdictionary &dict, TDACChemistryModel< CompType, 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... | |
| virtual void | reduceMechanism (const scalarField &c, const scalar T, const scalar p)=0 |
| Reduce the mechanism. More... | |
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_ |
| Dictionary that store the algorithm data. More... | |
| Switch | active_ |
| Is mechanism reduction active? More... | |
| Switch | log_ |
| Switch to select performance logging. More... | |
| TDACChemistryModel< CompType, 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... | |
An abstract class for methods of chemical mechanism reduction.
An abstract class for reducing chemical mechanism.
Definition at line 54 of file chemistryReductionMethod.H.
| chemistryReductionMethod | ( | const IOdictionary & | dict, |
| Foam::TDACChemistryModel< CompType, ThermoType > & | chemistry | ||
| ) |
Construct from components.
Definition at line 33 of file chemistryReductionMethod.C.
References chemistryReductionMethod< CompType, ThermoType >::~chemistryReductionMethod().

|
virtual |
Destructor.
Definition at line 54 of file chemistryReductionMethod.C.
Referenced by chemistryReductionMethod< CompType, ThermoType >::chemistryReductionMethod().

| TypeName | ( | "chemistryReductionMethod< CompType, ThermoType >" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| chemistryReductionMethod< CompType, ThermoType > | , | ||
| dictionary | , | ||
| (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry) | , | ||
| (dict, chemistry) | |||
| ) |
|
static |
Definition at line 34 of file chemistryReductionMethodNew.C.
References chemistry, TimePaths::constant(), IOobject::db(), dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::FatalIOError, FatalIOErrorInFunction, dictionary::isDict(), dictionary::lookup(), dictionary::subDict(), and objectRegistry::time().

|
inline |
Is mechanism reduction active?
Definition at line 38 of file chemistryReductionMethodI.H.
|
inline |
Is performance data logging enabled?
Definition at line 46 of file chemistryReductionMethodI.H.
|
inline |
Return the active species.
Definition at line 54 of file chemistryReductionMethodI.H.
|
inline |
Return the number of active species.
Definition at line 61 of file chemistryReductionMethodI.H.
|
inline |
Return the initial number of species.
Definition at line 69 of file chemistryReductionMethodI.H.
|
inline |
Return the tolerance.
Definition at line 77 of file chemistryReductionMethodI.H.
|
pure virtual |
Reduce the mechanism.
Implemented in DRGEP< CompType, ThermoType >, DAC< CompType, ThermoType >, DRG< CompType, ThermoType >, PFA< CompType, ThermoType >, EFA< CompType, ThermoType >, and none< CompType, ThermoType >.
|
protected |
Definition at line 59 of file chemistryReductionMethod.H.
|
protected |
Dictionary that store the algorithm data.
Definition at line 62 of file chemistryReductionMethod.H.
|
protected |
Is mechanism reduction active?
Definition at line 65 of file chemistryReductionMethod.H.
|
protected |
Switch to select performance logging.
Definition at line 68 of file chemistryReductionMethod.H.
|
protected |
Definition at line 70 of file chemistryReductionMethod.H.
|
protected |
List of active species (active = true)
Definition at line 73 of file chemistryReductionMethod.H.
|
protected |
Number of active species.
Definition at line 76 of file chemistryReductionMethod.H.
|
protected |
Number of species.
Definition at line 79 of file chemistryReductionMethod.H.
|
protected |
Tolerance for the mechanism reduction algorithm.
Definition at line 82 of file chemistryReductionMethod.H.
1.8.13