An abstract base class for solving chemistry. More...
#include <chemistryModel/chemistrySolver.H>
An abstract base class for solving chemistry.
Definition at line 58 of file chemistrySolver.H.
Inheritance diagram for chemistrySolver< CompType, ThermoType >:
Collaboration diagram for chemistrySolver< CompType, ThermoType >:Public Member Functions | |
| TypeName ("chemistrySolver") | |
| Runtime type information.
| |
| declareRunTimeSelectionTable (autoPtr, chemistrySolver, dictionary,(ODEChemistryModel< CompType, ThermoType > &model, const word &modelName),(model, modelName)) | |
| chemistrySolver (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName) | |
| Construct from components.
| |
| virtual | ~chemistrySolver () |
| Destructor.
| |
| virtual scalar | solve (scalarField &c, const scalar T, const scalar p, const scalar t0, const scalar dt) const =0 |
| Update the concentrations and return the chemical time.
| |
Static Public Member Functions | |
| static autoPtr< chemistrySolver > | New (ODEChemistryModel< CompType, ThermoType > &model, const word &compTypeName, const word &thermoTypeName) |
| Selector.
| |
Protected Attributes | |
| ODEChemistryModel< CompType, ThermoType > & | model_ |
| Reference to the chemistry model.
| |
| const word | name_ |
| Name of the chemistry solver.
| |
| chemistrySolver | ( | ODEChemistryModel< CompType, ThermoType > & | model, |
| const word & | modelName | ||
| ) |
Construct from components.
Definition at line 35 of file chemistrySolver.C.
| ~chemistrySolver | ( | ) | [virtual]
|
Destructor.
Definition at line 48 of file chemistrySolver.C.
| TypeName | ( | "chemistrySolver< CompType, ThermoType >" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| chemistrySolver< CompType, ThermoType > | , | ||
| dictionary | , | ||
| (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName) | , | ||
| (model, modelName) | |||
| ) |
| Foam::autoPtr< Foam::chemistrySolver< CompType, ThermoType > > New | ( | ODEChemistryModel< CompType, ThermoType > & | model, |
| const word & | compTypeName, | ||
| const word & | thermoTypeName | ||
| ) | [static]
|
Selector.
Definition at line 33 of file newChemistrySolver.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Foam::Info, and Foam::nl.
| virtual scalar solve | ( | scalarField & | c, |
| const scalar | T, | ||
| const scalar | p, | ||
| const scalar | t0, | ||
| const scalar | dt | ||
| ) | const [pure virtual]
|
Update the concentrations and return the chemical time.
Implemented in EulerImplicit< CompType, ThermoType >, ode< CompType, ThermoType >, and sequential< CompType, ThermoType >.
ODEChemistryModel<CompType, ThermoType>& model_ [protected]
|
Reference to the chemistry model.
Definition at line 65 of file chemistrySolver.H.
Name of the chemistry solver.
Definition at line 68 of file chemistrySolver.H.