Loading...
Searching...
No Matches
ode< ChemistryModel > Class Template Reference

An ODE solver for chemistry. More...

#include <ode.H>

Inheritance diagram for ode< ChemistryModel >:
Collaboration diagram for ode< ChemistryModel >:

Public Member Functions

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

Detailed Description

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

An ODE solver for chemistry.

Source files

Definition at line 48 of file ode.H.

Constructor & Destructor Documentation

◆ ode()

template<class ChemistryModel>
ode ( typename ChemistryModel::reactionThermo & thermo)

Construct from thermo.

Definition at line 26 of file ode.C.

References chemistrySolver< ChemistryModel >::chemistrySolver(), and Foam::New().

Here is the call graph for this function:

◆ ~ode()

template<class ChemistryModel>
~ode ( )
virtual

Destructor.

Definition at line 38 of file ode.C.

Member Function Documentation

◆ TypeName()

template<class ChemistryModel>
TypeName ( "ode< ChemistryModel >" )

Runtime type information.

References p, and Foam::T().

Here is the call graph for this function:

◆ solve()

template<class ChemistryModel>
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 45 of file ode.C.

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

Here is the call graph for this function:

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