An Euler implicit solver for chemistry. More...
Public Member Functions | |
TypeName ("EulerImplicit") | |
Runtime type information. More... | |
EulerImplicit (const fluidReactionThermo &thermo) | |
Construct from thermo. More... | |
virtual | ~EulerImplicit () |
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 fluidReactionThermo &thermo) | |
Construct from thermo. More... | |
virtual | ~chemistrySolver () |
Destructor. More... | |
An Euler implicit solver for chemistry.
Euler implicit integration based on the reaction rate Jacobian is used to solver for the composition and Euler explicit integration for the temperature. Separating the integration of temperature from composition in this manner is significantly more stable for exothermic systems
Definition at line 55 of file EulerImplicit.H.
EulerImplicit | ( | const fluidReactionThermo & | thermo | ) |
Construct from thermo.
Definition at line 34 of file EulerImplicit.C.
|
virtual |
Destructor.
Definition at line 51 of file EulerImplicit.C.
References EulerImplicit< ChemistryModel >::solve().
TypeName | ( | "EulerImplicit< ChemistryModel >" | ) |
Runtime type information.
|
virtual |
Update the concentrations and return the chemical time.
Implements chemistrySolver< ChemistryModel >.
Definition at line 59 of file EulerImplicit.C.
References Foam::constant::electromagnetic::e, Foam::max(), Foam::min(), nSpecie, p, source(), Foam::sum(), and T.
Referenced by EulerImplicit< ChemistryModel >::~EulerImplicit().