An ODE solver for chemistry. More...
Public Member Functions | |
TypeName ("ode") | |
Runtime type information. More... | |
ode (const fluidMulticomponentThermo &thermo) | |
Construct from thermo. More... | |
virtual | ~ode () |
Destructor. More... | |
virtual void | solve (scalar &p, scalar &T, scalarField &c, const label li, scalar &deltaT, scalar &subDeltaT) const |
Update the concentrations and return the chemical time. More... | |
Public Member Functions inherited from chemistrySolver< ChemistryModel > | |
chemistrySolver (const fluidMulticomponentThermo &thermo) | |
Construct from thermo. More... | |
virtual | ~chemistrySolver () |
Destructor. More... | |
An ODE solver for chemistry.
ode | ( | const fluidMulticomponentThermo & | thermo | ) |
TypeName | ( | "ode< ChemistryModel >" | ) |
Runtime type information.
|
virtual |
Update the concentrations and return the chemical time.
Implements chemistrySolver< ChemistryModel >.
Definition at line 50 of file ode.C.
References Foam::constant::universal::c, Foam::max(), nSpecie, p, and Foam::T().