FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

ode< CompType, ThermoType > Class Template Reference

An ODE solver for chemistry. More...

#include <chemistryModel/ode.H>


Detailed Description

template<class CompType, class ThermoType>
class Foam::ode< CompType, ThermoType >

An ODE solver for chemistry.

Source files

Definition at line 55 of file ode.H.

Inheritance diagram for ode< CompType, ThermoType >:
Collaboration diagram for ode< CompType, ThermoType >:

List of all members.

Public Member Functions

 TypeName ("ODE")
 Runtime type information.
 ode (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName)
 Construct from components.
virtual  ~ode ()
 Destructor.
scalar  solve (scalarField &c, const scalar T, const scalar p, const scalar t0, const scalar dt) const
 Update the concentrations and return the chemical time.

Constructor & Destructor Documentation

ode ( ODEChemistryModel< CompType, ThermoType > &   model,
const word &   modelName  
)

Construct from components.

Definition at line 33 of file ode.C.

~ode (  ) [virtual]

Destructor.

Definition at line 50 of file ode.C.


Member Function Documentation

TypeName ( "ODE"    )

Runtime type information.

Foam::scalar solve ( scalarField &   c,
const scalar   T,
const scalar   p,
const scalar   t0,
const scalar   dt  
) const [virtual]

Update the concentrations and return the chemical time.

Implements chemistrySolver< CompType, ThermoType >.

Definition at line 58 of file ode.C.

References Foam::max(), p, List< T >::size(), and T.


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