Loading...
Searching...
No Matches
ISAT< CompType, ThermoType > Class Template Reference

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

#include <ISAT.H>

Inheritance diagram for ISAT< CompType, ThermoType >:
Collaboration diagram for ISAT< CompType, ThermoType >:

Public Member Functions

 TypeName ("ISAT")
 Runtime type information.
 ISAT (const dictionary &chemistryProperties, TDACChemistryModel< CompType, ThermoType > &chemistry)
 Construct from dictionary.
virtual ~ISAT ()
binaryTree< CompType, ThermoType > & chemisTree ()
const scalarFieldscaleFactor () const
virtual label size ()
 Return the size of the binary tree.
virtual void writePerformance ()
virtual bool retrieve (const Foam::scalarField &phiq, scalarField &Rphiq)
 Find the closest stored leaf of phiQ and store the result in RphiQ or return false.
virtual label add (const scalarField &phiq, const scalarField &Rphiq, const scalar rho, const scalar deltaT)
 Add information to the tabulation.
virtual bool update ()
Public Member Functions inherited from chemistryTabulationMethod< CompType, ThermoType >
 TypeName ("chemistryTabulationMethod")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry))
 chemistryTabulationMethod (const dictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 Construct from components.
virtual ~chemistryTabulationMethod ()
 Destructor.
bool active ()
bool log ()
bool variableTimeStep ()
scalar tolerance () const

Additional Inherited Members

Static Public Member Functions inherited from chemistryTabulationMethod< CompType, ThermoType >
static autoPtr< chemistryTabulationMethodNew (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
Protected Attributes inherited from chemistryTabulationMethod< CompType, ThermoType >
const dictionarydict_
const dictionary coeffsDict_
Switch active_
 Is tabulation active?
Switch log_
 Switch to select performance logging.
TDACChemistryModel< CompType, ThermoType > & chemistry_
scalar tolerance_

Detailed Description

template<class CompType, class ThermoType>
class Foam::chemistryTabulationMethods::ISAT< CompType, ThermoType >

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

Reference:

    Pope, S. B. (1997).
    Computationally efficient implementation of combustion chemistry using
    in situ adaptive tabulation.
    Combustion Theory and Modelling, 1, 41-63.

Definition at line 53 of file ISAT.H.

Constructor & Destructor Documentation

◆ ISAT()

◆ ~ISAT()

template<class CompType, class ThermoType>
~ISAT ( )
virtual

Definition at line 126 of file ISAT.C.

Member Function Documentation

◆ TypeName()

template<class CompType, class ThermoType>
TypeName ( "ISAT< CompType, ThermoType >" )

Runtime type information.

References chemistry.

◆ chemisTree()

template<class CompType, class ThermoType>
binaryTree< CompType, ThermoType > & chemisTree ( )
inline

Definition at line 241 of file ISAT.H.

Referenced by add().

Here is the caller graph for this function:

◆ scaleFactor()

template<class CompType, class ThermoType>
const scalarField & scaleFactor ( ) const
inline

Definition at line 246 of file ISAT.H.

Referenced by add().

Here is the caller graph for this function:

◆ size()

template<class CompType, class ThermoType>
virtual label size ( )
inlinevirtual

Return the size of the binary tree.

Implements chemistryTabulationMethod< CompType, ThermoType >.

Definition at line 254 of file ISAT.H.

Referenced by writePerformance().

Here is the caller graph for this function:

◆ writePerformance()

template<class CompType, class ThermoType>
void writePerformance ( )
virtual

Implements chemistryTabulationMethod< CompType, ThermoType >.

Definition at line 602 of file ISAT.C.

References Foam::endl(), Foam::log(), and size().

Here is the call graph for this function:

◆ retrieve()

template<class CompType, class ThermoType>
bool retrieve ( const Foam::scalarField & phiq,
scalarField & Rphiq )
virtual

Find the closest stored leaf of phiQ and store the result in RphiQ or return false.

Implements chemistryTabulationMethod< CompType, ThermoType >.

Definition at line 427 of file ISAT.C.

References chemistryTabulationMethod< CompType, ThermoType >::chemistry_, and forAllConstIters.

◆ add()

template<class CompType, class ThermoType>
Foam::label add ( const scalarField & phiq,
const scalarField & Rphiq,
const scalar rho,
const scalar deltaT )
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 502 of file ISAT.C.

References A, DynamicList< T, SizeMin >::append(), chemisTree(), chemistryTabulationMethod< CompType, ThermoType >::chemistry_, Foam::deleteDemandDrivenData(), forAllConstIters, rho, scaleFactor(), chemistryTabulationMethod< CompType, ThermoType >::tolerance(), and Foam::Zero.

Here is the call graph for this function:

◆ update()

template<class CompType, class ThermoType>
virtual bool update ( )
inlinevirtual

Implements chemistryTabulationMethod< CompType, ThermoType >.

Definition at line 286 of file ISAT.H.


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/ISAT/ISAT.H
  • src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/ISAT/ISAT.C