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< ThermoType > &chemistry) | |
| Construct from dictionary. More... | |
| ISAT (const ISAT &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~ISAT () |
| binaryTree< 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 label li, const scalar rho, const scalar deltaT) |
| Add information to the tabulation. More... | |
| virtual bool | update () |
Public Member Functions inherited from chemistryTabulationMethod< ThermoType > | |
| TypeName ("chemistryTabulationMethod") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< ThermoType > &chemistry),(dict, chemistry)) | |
| chemistryTabulationMethod (const dictionary &dict, TDACChemistryModel< ThermoType > &chemistry) | |
| Construct from components. More... | |
| virtual | ~chemistryTabulationMethod () |
| Destructor. More... | |
| bool | active () |
| bool | log () |
| scalar | tolerance () const |
Additional Inherited Members | |
Static Public Member Functions inherited from chemistryTabulationMethod< ThermoType > | |
| static autoPtr< chemistryTabulationMethod > | New (const IOdictionary &dict, TDACChemistryModel< ThermoType > &chemistry) |
Protected Attributes inherited from chemistryTabulationMethod< ThermoType > | |
| const dictionary & | dict_ |
| const dictionary | coeffsDict_ |
| Switch | active_ |
| Is tabulation active? More... | |
| Switch | log_ |
| Switch to select performance logging. More... | |
| TDACChemistryModel< 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< ThermoType > & | chemistry | ||
| ) |
Construct from dictionary.
Definition at line 33 of file ISAT.C.
References Foam::log(), TDACChemistryModel< ThermoType >::logFile(), and dictionary::lookup().

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

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

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


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


|
inlinevirtual |
Implements chemistryTabulationMethod< ThermoType >.