ISAT Class Reference

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

Inheritance diagram for ISAT:
Collaboration diagram for ISAT:

Public Member Functions

 TypeName ("ISAT")
 Runtime type information. More...
 
 ISAT (const dictionary &chemistryProperties, const odeChemistryModel &chemistry)
 Construct from dictionary. More...
 
 ISAT (const ISAT &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~ISAT ()
 
virtual bool tabulates ()
 Return true as this tabulation method tabulates. More...
 
bool reduction () const
 Return true if reduction is applied to the state variables. More...
 
const odeChemistryModelchemistry ()
 
binaryTreechemisTree ()
 
const scalarFieldscaleFactor () const
 
label timeSteps () const
 Return the number of chemistry evaluations. 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 nActive, const label li, const scalar deltaT)
 Add information to the tabulation. More...
 
virtual void reset ()
 
virtual bool update ()
 
- Public Member Functions inherited from chemistryTabulationMethod
 TypeName ("chemistryTabulationMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, chemistryTabulationMethod, dictionary,(const dictionary &dict, const odeChemistryModel &chemistry),(dict, chemistry))
 
 chemistryTabulationMethod (const dictionary &dict, const odeChemistryModel &chemistry)
 Construct from components. More...
 
virtual ~chemistryTabulationMethod ()
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from chemistryTabulationMethod
static autoPtr< chemistryTabulationMethodNew (const IOdictionary &dict, const odeChemistryModel &chemistry)
 

Detailed Description

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 60 of file ISAT.H.

Constructor & Destructor Documentation

◆ ISAT() [1/2]

ISAT ( const dictionary chemistryProperties,
const odeChemistryModel chemistry 
)

Construct from dictionary.

Definition at line 46 of file ISAT.C.

References ISAT::chemistry(), dictionary::found(), odeChemistryModel::logFile(), dictionary::lookup(), dictionary::subDict(), and odeChemistryModel::Y().

Here is the call graph for this function:

◆ ISAT() [2/2]

ISAT ( const ISAT )
delete

Disallow default bitwise copy construction.

◆ ~ISAT()

~ISAT ( )
virtual

Definition at line 152 of file ISAT.C.

Member Function Documentation

◆ TypeName()

TypeName ( "ISAT"  )

Runtime type information.

◆ tabulates()

virtual bool tabulates ( )
inlinevirtual

Return true as this tabulation method tabulates.

Implements chemistryTabulationMethod.

Definition at line 235 of file ISAT.H.

◆ reduction()

bool reduction ( ) const
inline

Return true if reduction is applied to the state variables.

Definition at line 241 of file ISAT.H.

Referenced by binaryNode::calcV(), and chemPointISAT::chemPointISAT().

Here is the caller graph for this function:

◆ chemistry()

const odeChemistryModel& chemistry ( )
inline

Definition at line 246 of file ISAT.H.

Referenced by chemPointISAT::chemPointISAT(), and ISAT::ISAT().

Here is the caller graph for this function:

◆ chemisTree()

binaryTree& chemisTree ( )
inline

Definition at line 251 of file ISAT.H.

◆ scaleFactor()

const scalarField& scaleFactor ( ) const
inline

Definition at line 256 of file ISAT.H.

◆ timeSteps()

label timeSteps ( ) const
inline

Return the number of chemistry evaluations.

Definition at line 262 of file ISAT.H.

◆ writePerformance()

void writePerformance ( )
virtual

Definition at line 619 of file ISAT.C.

References Foam::endl().

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.

Definition at line 407 of file ISAT.C.

References Foam::constant::electromagnetic::phi0.

◆ add()

Foam::label add ( const scalarField phiq,
const scalarField Rphiq,
const label  nActive,
const label  li,
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.

Definition at line 491 of file ISAT.C.

References A, DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::deleteDemandDrivenData(), forAll, and Foam::Zero.

Here is the call graph for this function:

◆ reset()

void reset ( )
virtual

Implements chemistryTabulationMethod.

Definition at line 657 of file ISAT.C.

References forAll.

◆ update()

bool update ( )
virtual

Implements chemistryTabulationMethod.

Definition at line 669 of file ISAT.C.


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