An Euler implicit solver for chemistry. More...
Public Member Functions | |
TypeName ("EulerImplicit") | |
Runtime type information. More... | |
EulerImplicit (const fvMesh &mesh, const word &phaseName) | |
Construct from mesh and phase name. More... | |
virtual | ~EulerImplicit () |
Destructor. More... | |
void | updateRRInReactionI (const label index, const scalar pr, const scalar pf, const scalar corr, const label lRef, const label rRef, const scalar p, const scalar T, simpleMatrix< scalar > &RR) const |
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_ |
Coefficients dictionary. More... | |
scalar | cTauChem_ |
Chemistry timescale. More... | |
Switch | eqRateLimiter_ |
Equilibrium rate limiter flag (on/off) More... | |
scalarField | cTp_ |
An Euler implicit solver for chemistry.
Definition at line 49 of file EulerImplicit.H.
EulerImplicit | ( | const fvMesh & | mesh, |
const word & | phaseName | ||
) |
Construct from mesh and phase name.
Definition at line 34 of file EulerImplicit.C.
|
virtual |
Destructor.
Definition at line 50 of file EulerImplicit.C.
TypeName | ( | "EulerImplicit< ChemistryModel >" | ) |
Runtime type information.
void updateRRInReactionI | ( | const label | index, |
const scalar | pr, | ||
const scalar | pf, | ||
const scalar | corr, | ||
const label | lRef, | ||
const label | rRef, | ||
const scalar | p, | ||
const scalar | T, | ||
simpleMatrix< scalar > & | RR | ||
) | const |
Definition at line 58 of file EulerImplicit.C.
References forAll, R, Foam::constant::thermodynamic::RR, and s().
|
virtual |
Update the concentrations and return the chemical time.
Implements chemistrySolver< ChemistryModel >.
Definition at line 93 of file EulerImplicit.C.
References Foam::constant::universal::c, Foam::constant::electromagnetic::e, forAll, Foam::max(), Foam::min(), mixture, nSpecie, p, Foam::constant::thermodynamic::RR, Foam::sum(), and T.
|
private |
Coefficients dictionary.
Definition at line 56 of file EulerImplicit.H.
|
private |
Chemistry timescale.
Definition at line 62 of file EulerImplicit.H.
|
private |
Equilibrium rate limiter flag (on/off)
Definition at line 65 of file EulerImplicit.H.
|
mutableprivate |
Definition at line 68 of file EulerImplicit.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.