chemistryModel Class ReferenceInheritance diagram for chemistryModel:
[legend]Collaboration diagram for chemistryModel:
[legend]List of all members.
Detailed Description
Definition at line 62 of file chemistryModel.H.
|
Public Types |
| typedef reactingMixture::reaction | reaction |
| typedef reactingMixture::reactionThermo | reactionThermo |
Public Member Functions |
| | chemistryModel (hCombustionThermo &thermo, const volScalarField &rho) |
| | Construct from components.
|
| virtual | ~chemistryModel () |
| const hCombustionThermo & | thermo () const |
| | Return the thermodynamics model.
|
| const PtrList< volScalarField > & | Y () const |
| | Access the fractions of the species.
|
| const volScalarField & | rho () const |
| | Access the density field.
|
| const IOdictionary & | chemistryProperties () const |
| | Return the chemistry properties.
|
| Switch | chemistry () const |
| | Do the chemistry or not.
|
| const PtrList< reaction > & | reactions () const |
| const PtrList< reactionThermo > & | specieThermo () const |
| label | Ns () const |
| | The number of species.
|
| label | Nr () const |
| | The number of reactions.
|
| const chemistrySolver & | solver () const |
| tmp< volScalarField > | RR (const label i) const |
| | Return the chemical source terms.
|
| const scalarField & | deltaTChem () const |
| | Return the latest estimation of integration step.
|
| tmp< volScalarField > | tc () const |
| | The chemical time scale.
|
| scalarField | omega (const scalarField &c, const scalar T, const scalar p) const |
| | dc/dt = omega, rate of change in concentration, for each species
|
| scalar | omega (const reaction &r, const scalarField &c, const scalar T, const scalar p, scalar &pf, scalar &cf, label &lRef, scalar &pr, scalar &cr, label &rRef) const |
| | return the reaction rate for reaction r and the reference
|
| label | nEqns () const |
| | The number of ODE to solve.
|
| void | derivatives (const scalar t, const scalarField &c, scalarField &dcdt) const |
| void | jacobian (const scalar t, const scalarField &c, scalarField &dcdt, Matrix< scalar > &dfdc) const |
| void | calculate () |
| | Calculates the reaction rates.
|
| scalar | solve (const scalar t0, const scalar deltaT) |
| | Solve the reaction system for the given start time and time-step.
|
Member Typedef Documentation
Constructor & Destructor Documentation
Construct from components.
Member Function Documentation
| Switch chemistry |
( |
|
) |
const [inline] |
| label Ns |
( |
|
) |
const [inline] |
| label Nr |
( |
|
) |
const [inline] |
Return the latest estimation of integration step.
Definition at line 196 of file chemistryModel.H.
dc/dt = omega, rate of change in concentration, for each species
| scalar omega |
( |
const reaction & |
r, |
|
|
const scalarField & |
c, |
|
|
const scalar |
T, |
|
|
const scalar |
p, |
|
|
scalar & |
pf, |
|
|
scalar & |
cf, |
|
|
label & |
lRef, |
|
|
scalar & |
pr, |
|
|
scalar & |
cr, |
|
|
label & |
rRef | |
|
) |
| | const |
return the reaction rate for reaction r and the reference
species and charateristic times
| label nEqns |
( |
|
) |
const [virtual] |
The number of ODE to solve.
Implements ODE.
Calculates the reaction rates.
| scalar solve |
( |
const scalar |
t0, |
|
|
const scalar |
deltaT | |
|
) |
| | |
Solve the reaction system for the given start time and time-step.
and return the characteristic time
The documentation for this class was generated from the following files:
Copyright © 2000-2007 OpenCFD Ltd
|