These classes comprise Cantera's ability to solve steady-state one-dimensional reacting flow problems, such as laminar flames, opposed flow diffusion flames, and stagnation flow chemical vapor deposition.
|
| Boundaries |
| Boundaries of one-dimensional flow domains.
|
|
| Flow Domains |
| One-dimensional flow domains.
|
|
| Utilities |
| Utility classes and functions for one-dimensional problems.
|
|
|
template<class T = Domain1D> |
shared_ptr< T > | newDomain (const string &domainType, shared_ptr< Solution > solution, const string &id="") |
| Create a Domain object of the specified type.
|
|
shared_ptr< Boundary1D > | newBoundary1D (const string &domainType, shared_ptr< Solution > solution, const string &id="") |
| Create a Boundary1D object of the specified type.
|
|
shared_ptr< Flow1D > | newFlow1D (const string &domainType, shared_ptr< Solution > solution, const string &id="") |
| Create a Flow1D object of the specified type.
|
|
◆ newDomain()
template<class T = Domain1D>
shared_ptr< T > newDomain |
( |
const string & |
domainType, |
|
|
shared_ptr< Solution > |
solution, |
|
|
const string & |
id = "" |
|
) |
| |
Create a Domain object of the specified type.
An optional template argument will dynamically cast Domain1D to the desired specialization.
- Parameters
-
domainType | string identifying domain type. |
solution | Solution holding ThermoPhase, Kinetics and Transport objects. |
id | string identifier describing domain. If omitted, id defaults to the domain type identifier. |
Definition at line 56 of file DomainFactory.h.
◆ newBoundary1D()
shared_ptr< Boundary1D > newBoundary1D |
( |
const string & |
domainType, |
|
|
shared_ptr< Solution > |
solution, |
|
|
const string & |
id = "" |
|
) |
| |
Create a Boundary1D object of the specified type.
- Parameters
-
domainType | string identifying domain type. |
solution | Solution holding ThermoPhase, Kinetics and Transport objects. |
id | string identifier describing domain. If omitted, id defaults to the domain type identifier. |
- Since
- New in Cantera 3.2.
Definition at line 95 of file DomainFactory.cpp.
◆ newFlow1D()
shared_ptr< Flow1D > newFlow1D |
( |
const string & |
domainType, |
|
|
shared_ptr< Solution > |
solution, |
|
|
const string & |
id = "" |
|
) |
| |
Create a Flow1D object of the specified type.
- Parameters
-
domainType | string identifying domain type. |
solution | Solution holding ThermoPhase, Kinetics and Transport objects. |
id | string identifier describing domain. If omitted, id defaults to the domain type identifier. |
- Since
- New in Cantera 3.2.
Definition at line 101 of file DomainFactory.cpp.