An ODE solver for chemistry. More...
Public Member Functions | |
TypeName ("ode") | |
Runtime type information. More... | |
ode (const fvMesh &mesh, const word &phaseName) | |
Construct from mesh and phase name. 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... | |
![]() | |
chemistrySolver (const fvMesh &mesh, const word &phaseName) | |
Construct from components and phase name. More... | |
virtual | ~chemistrySolver () |
Destructor. More... | |
Private Attributes | |
dictionary | coeffsDict_ |
autoPtr< ODESolver > | odeSolver_ |
scalarField | cTp_ |
An ODE solver for chemistry.
TypeName | ( | "ode< ChemistryModel >" | ) |
Runtime type information.
|
virtual |
Update the concentrations and return the chemical time.
Implements chemistrySolver< ChemistryModel >.
Definition at line 56 of file ode.C.
References Foam::constant::universal::c, Foam::max(), nSpecie, p, and T.
|
private |
|
mutableprivate |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.