Public Member Functions | List of all members
ode< ChemistryModel > Class Template Reference

An ODE solver for chemistry. More...

Inheritance diagram for ode< ChemistryModel >:
Inheritance graph
[legend]
Collaboration diagram for ode< ChemistryModel >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("ode")
 Runtime type information. More...
 
 ode (typename ChemistryModel::reactionThermo &thermo)
 Construct from thermo. More...
 
virtual ~ode ()
 Destructor. More...
 
virtual void solve (scalarField &c, scalar &T, scalar &p, scalar &deltaT, scalar &subDeltaT) const
 Update the concentrations and return the chemical time. More...
 
- Public Member Functions inherited from chemistrySolver< ChemistryModel >
 chemistrySolver (typename ChemistryModel::reactionThermo &thermo)
 Construct from thermo. More...
 
virtual ~chemistrySolver ()
 Destructor. More...
 

Detailed Description

template<class ChemistryModel>
class Foam::ode< ChemistryModel >

An ODE solver for chemistry.

Source files

Definition at line 50 of file ode.H.

Constructor & Destructor Documentation

◆ ode()

ode ( typename ChemistryModel::reactionThermo &  thermo)

Construct from thermo.

Definition at line 31 of file ode.C.

◆ ~ode()

~ode ( )
virtual

Destructor.

Definition at line 43 of file ode.C.

References ode< ChemistryModel >::solve().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "ode< ChemistryModel >"  )

Runtime type information.

◆ solve()

void solve ( scalarField c,
scalar &  T,
scalar &  p,
scalar &  deltaT,
scalar &  subDeltaT 
) const
virtual

Update the concentrations and return the chemical time.

Implements chemistrySolver< ChemistryModel >.

Definition at line 51 of file ode.C.

References Foam::max(), nSpecie, p, and Foam::T().

Referenced by ode< ChemistryModel >::~ode().

Here is the call graph for this function:
Here is the caller graph for this function:

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