An ODE solver for chemistry. More...
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... | |
virtual void | solve (scalarField &c, scalar &T, scalar &p, scalar &deltaT, scalar &subDeltaT) const =0 |
Update the concentrations and return the chemical time. More... | |
An ODE solver for chemistry.
ode | ( | typename ChemistryModel::reactionThermo & | thermo | ) |
Construct from thermo.
Definition at line 33 of file ode.C.
References Foam::New().
TypeName | ( | "ode< ChemistryModel >" | ) |
Runtime type information.
|
virtual |
Update the concentrations and return the chemical time.
Implements chemistrySolver< ChemistryModel >.
Definition at line 52 of file ode.C.
References Foam::max(), nSpecie, p, and T.