An Euler implicit solver for chemistry. More...
#include <chemistryModel/EulerImplicit.H>
An Euler implicit solver for chemistry.
Definition at line 54 of file EulerImplicit.H.
Public Member Functions | |
TypeName ("EulerImplicit") | |
Runtime type information.
| |
EulerImplicit (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName) | |
Construct from components.
| |
virtual | ~EulerImplicit () |
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.
|
EulerImplicit | ( | ODEChemistryModel< CompType, ThermoType > & | model, |
const word & | modelName | ||
) |
Construct from components.
Definition at line 34 of file EulerImplicit.C.
~EulerImplicit | ( | ) | [virtual]
|
Destructor.
Definition at line 49 of file EulerImplicit.C.
TypeName | ( | "EulerImplicit< CompType, ThermoType >" | ) |
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 57 of file EulerImplicit.C.
References d, e, Reaction< ReactionThermo >::lhs(), simpleMatrix< Type >::LUsolve(), Foam::max(), Foam::min(), p, R, Reaction< ReactionThermo >::rhs(), List< T >::size(), simpleMatrix< Type >::source(), Foam::sum(), and T.