ISAT< CompType, ThermoType > Class Template Reference

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

Inheritance diagram for ISAT< CompType, ThermoType >:
[legend]
Collaboration diagram for ISAT< CompType, ThermoType >:
[legend]

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 scalarFieldscaleFactor () const
 
virtual label size ()
 Return the size of the binary tree. More...
 
virtual void writePerformance ()
 
virtual bool retrieve (const Foam::scalarField &phiq, scalarField &Rphiq)
 
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
 
virtual label size ()=0
 
virtual void writePerformance ()=0
 
virtual bool retrieve (const scalarField &phiQ, scalarField &RphiQ)=0
 
virtual label add (const scalarField &phiQ, const scalarField &RphiQ, const scalar rho, const scalar deltaT)=0
 
virtual bool update ()=0
 

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? More...
 
Switch log_
 Switch to select performance logging. More...
 
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 59 of file ISAT.H.

Constructor & Destructor Documentation

◆ ISAT()

◆ ~ISAT()

~ISAT
virtual

Definition at line 133 of file ISAT.C.

Member Function Documentation

◆ TypeName()

TypeName ( "ISAT< CompType, ThermoType >"  )

Runtime type information.

◆ chemisTree()

binaryTree< CompType, ThermoType > & chemisTree ( )
inline

Definition at line 202 of file ISAT.H.

◆ scaleFactor()

const scalarField & scaleFactor ( ) const
inline

Definition at line 207 of file ISAT.H.

◆ size()

virtual label size ( )
inlinevirtual

Return the size of the binary tree.

Implements chemistryTabulationMethod< CompType, ThermoType >.

Definition at line 213 of file ISAT.H.

References binaryTree< CompType, ThermoType >::size().

Here is the call graph for this function:

◆ writePerformance()

void writePerformance
virtual

Implements chemistryTabulationMethod< CompType, ThermoType >.

Definition at line 609 of file ISAT.C.

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

Here is the call graph for this function:

◆ retrieve()

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 434 of file ISAT.C.

References forAllConstIters.

◆ add()

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 509 of file ISAT.C.

References A, DynamicList< T, SizeMin >::append(), Foam::deleteDemandDrivenData(), forAllConstIters, rho, and Foam::Zero.

Here is the call graph for this function:

◆ update()

virtual bool update ( )
inlinevirtual

Implements chemistryTabulationMethod< CompType, ThermoType >.

Definition at line 240 of file ISAT.H.


The documentation for this class was generated from the following files: