Implementation of the ISAT (In-situ adaptive tabulation), for chemistry calculation. More...


Public Member Functions | |
| TypeName ("ISAT") | |
| Runtime type information. More... | |
| ISAT (const dictionary &chemistryProperties, TDACChemistryModel< CompType, ThermoType > &chemistry) | |
| Construct from dictionary. More... | |
| virtual | ~ISAT () |
| binaryTree< CompType, ThermoType > & | chemisTree () |
| const scalarField & | scaleFactor () const |
| virtual label | size () |
| Return the size of the binary tree. More... | |
| virtual void | writePerformance () |
| virtual bool | retrieve (const Foam::scalarField &phiq, scalarField &Rphiq) |
| Find the closest stored leaf of phiQ and store the result in. More... | |
| virtual label | add (const scalarField &phiq, const scalarField &Rphiq, const scalar rho, const scalar deltaT) |
| Add information to the tabulation. More... | |
| virtual bool | update () |
Public Member Functions inherited from chemistryTabulationMethod< CompType, ThermoType > | |
| 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 |
Additional Inherited Members | |
Static Public Member Functions inherited from chemistryTabulationMethod< CompType, ThermoType > | |
| static autoPtr< chemistryTabulationMethod > | New (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry) |
Protected Attributes inherited from chemistryTabulationMethod< CompType, ThermoType > | |
| const dictionary & | dict_ |
| const dictionary | coeffsDict_ |
| Switch | active_ |
| Is tabulation active? More... | |
| Switch | log_ |
| Switch to select performance logging. More... | |
| TDACChemistryModel< CompType, ThermoType > & | chemistry_ |
| scalar | tolerance_ |
Implementation of the ISAT (In-situ adaptive tabulation), for chemistry calculation.
Pope, S. B. (1997).
Computationally efficient implementation of combustion chemistry using
in situ adaptive tabulation.
Combustion Theory and Modelling, 1, 41-63.
| ISAT | ( | const dictionary & | chemistryProperties, |
| TDACChemistryModel< CompType, ThermoType > & | chemistry | ||
| ) |
Construct from dictionary.
Definition at line 33 of file ISAT.C.
References Foam::log(), TDACChemistryModel< CompType, ThermoType >::logFile(), and readScalar.

|
virtual |
Definition at line 130 of file ISAT.C.
References chemPointISAT< CompType, ThermoType >::A(), chemistryTabulationMethod< CompType, ThermoType >::active(), LList< LListBase, T >::begin(), chemPointISAT< CompType, ThermoType >::checkSolution(), chemPointISAT< CompType, ThermoType >::completeToSimplifiedIndex(), LList< LListBase, T >::end(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, LList< LListBase, T >::first(), chemPointISAT< CompType, ThermoType >::grow(), LUscalarMatrix::inv(), LList< LListBase, T >::last(), Foam::log(), Foam::max(), chemPointISAT< CompType, ThermoType >::nActiveSpecies(), chemPointISAT< CompType, ThermoType >::nGrowth(), chemPointISAT< CompType, ThermoType >::phi(), Foam::constant::electromagnetic::phi0, ISAT< CompType, ThermoType >::retrieve(), chemPointISAT< CompType, ThermoType >::Rphi(), List< T >::size(), chemPointISAT< CompType, ThermoType >::timeTag(), chemPointISAT< CompType, ThermoType >::toRemove(), and x.

| TypeName | ( | "ISAT< CompType, ThermoType >" | ) |
Runtime type information.
|
inline |
|
inline |
|
inlinevirtual |
Return the size of the binary tree.
Implements chemistryTabulationMethod< CompType, ThermoType >.
Definition at line 211 of file ISAT.H.
References ISAT< CompType, ThermoType >::add(), ISAT< CompType, ThermoType >::retrieve(), binaryTree< CompType, ThermoType >::size(), and ISAT< CompType, ThermoType >::writePerformance().

|
virtual |
Implements chemistryTabulationMethod< CompType, ThermoType >.
Definition at line 617 of file ISAT.C.
References Foam::endl(), and Foam::log().
Referenced by ISAT< CompType, ThermoType >::size().


|
virtual |
Find the closest stored leaf of phiQ and store the result in.
RphiQ or return false.
Implements chemistryTabulationMethod< CompType, ThermoType >.
Definition at line 435 of file ISAT.C.
References ISAT< CompType, ThermoType >::add(), chemPointISAT< CompType, ThermoType >::increaseNumRetrieve(), chemPointISAT< CompType, ThermoType >::inEOA(), Foam::constant::electromagnetic::phi0, chemPointISAT< CompType, ThermoType >::timeTag(), and chemPointISAT< CompType, ThermoType >::toRemove().
Referenced by ISAT< CompType, ThermoType >::size(), and ISAT< CompType, ThermoType >::~ISAT().


|
virtual |
Add information to the tabulation.
This function can grow an existing point or add a new leaf to the binary tree Input : phiq the new composition to store Rphiq the mapping of the new composition point
Implements chemistryTabulationMethod< CompType, ThermoType >.
Definition at line 516 of file ISAT.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::deleteDemandDrivenData(), forAll, phi, Matrix< Form, Type >::size(), and Foam::Zero.
Referenced by ISAT< CompType, ThermoType >::retrieve(), and ISAT< CompType, ThermoType >::size().


|
inlinevirtual |
1.8.13