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.
|
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) | |||
| ) |
|
static |
Selector.
Definition at line 33 of file newChemistrySolver.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Foam::Info, and Foam::nl.
|
pure virtual |
Update the concentrations and return the chemical time.
Implemented in sequential< CompType, ThermoType >, ode< CompType, ThermoType >, and EulerImplicit< CompType, ThermoType >.
|
protected |
Reference to the chemistry model.
Definition at line 65 of file chemistrySolver.H.
|
protected |
Name of the chemistry solver.
Definition at line 68 of file chemistrySolver.H.