ode< ChemistryModel > Class Template Reference

An ODE solver for chemistry. More...

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

Public Member Functions

 TypeName ("ode")
 Runtime type information. More...
 
 ode (const fvMesh &mesh)
 Construct from mesh. 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 (const fvMesh &mesh)
 Construct from components. 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 ( const fvMesh mesh)

Construct from mesh.

Definition at line 33 of file ode.C.

~ode ( )
virtual

Destructor.

Definition at line 47 of file ode.C.

Member Function Documentation

TypeName ( "ode< ChemistryModel >"  )

Runtime type information.

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 55 of file ode.C.

References Foam::max(), nSpecie, p, and 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