Zero-dimensional objects representing stirred reactors. More...
Zero-dimensional objects representing stirred reactors.
Reactors simulate time-dependent behavior considering gas-phase chemistry. Reactor objects should be instantiated via the newReactor() function, for example:
Classes | |
class | ConstPressureMoleReactor |
ConstPressureMoleReactor is a class for constant-pressure reactors which use a state of moles. More... | |
class | ConstPressureReactor |
Class ConstPressureReactor is a class for constant-pressure reactors. More... | |
class | FlowReactor |
Adiabatic flow in a constant-area duct with homogeneous and heterogeneous reactions. More... | |
class | IdealGasConstPressureMoleReactor |
IdealGasConstPressureMoleReactor is a class for ideal gas constant-pressure reactors which use a state of moles. More... | |
class | IdealGasConstPressureReactor |
Class ConstPressureReactor is a class for constant-pressure reactors. More... | |
class | IdealGasMoleReactor |
IdealGasMoleReactor is a class for ideal gas constant-volume reactors which use a state of moles. More... | |
class | IdealGasReactor |
Class IdealGasReactor is a class for stirred reactors that is specifically optimized for ideal gases. More... | |
class | MoleReactor |
MoleReactor is meant to serve the same purpose as the reactor class but with a state vector composed of moles. More... | |
class | Reactor |
Class Reactor is a general-purpose class for stirred reactors. More... | |
class | ReactorBase |
Base class for reactor objects. More... | |
class | ReactorDelegator< R > |
Delegate methods of the Reactor class to external functions. More... | |
class | ReactorSurface |
A surface where reactions can occur that is in contact with the bulk fluid of a Reactor. More... | |
class | Reservoir |
A source or sink whose state remains constant regardless of any flows or other interactions with other Reactor objects. More... | |
Functions | |
shared_ptr< ReactorBase > | newReactorBase (const string &model, shared_ptr< Solution > contents, bool clone=true, const string &name="(none)") |
Create a ReactorBase object of the specified type and contents. | |
shared_ptr< ReactorBase > | newReactor (const string &model, shared_ptr< Solution > contents, const string &name="(none)") |
Create a Reactor object of the specified type and contents. | |
shared_ptr< Reactor > | newReactor4 (const string &model, shared_ptr< Solution > contents, bool clone=true, const string &name="(none)") |
Create a Reactor object of the specified type and contents. | |
shared_ptr< Reservoir > | newReservoir (shared_ptr< Solution > contents, bool clone=true, const string &name="(none)") |
Create a Reservoir object with the specified contents. | |
shared_ptr< ReactorSurface > | newReactorSurface (shared_ptr< Solution > contents, const vector< shared_ptr< ReactorBase > > &reactors, bool clone=true, const string &name="(none)") |
Create a ReactorSurface object with the specified contents and adjacent reactors participating in surface reactions. | |
shared_ptr< ReactorBase > newReactorBase | ( | const string & | model, |
shared_ptr< Solution > | contents, | ||
bool | clone = true , |
||
const string & | name = "(none)" |
||
) |
Create a ReactorBase object of the specified type and contents.
Definition at line 101 of file ReactorFactory.cpp.
shared_ptr< ReactorBase > newReactor | ( | const string & | model, |
shared_ptr< Solution > | contents, | ||
const string & | name = "(none)" |
||
) |
Create a Reactor object of the specified type and contents.
shared_ptr<ReactorBase>
instead of a ReactorBase*
. shared_ptr<Reactor>
will be returned. For new behavior, see newReactor4
. Definition at line 108 of file ReactorFactory.cpp.
shared_ptr< Reactor > newReactor4 | ( | const string & | model, |
shared_ptr< Solution > | contents, | ||
bool | clone = true , |
||
const string & | name = "(none)" |
||
) |
Create a Reactor object of the specified type and contents.
model | Reactor type to be created. See this list of reactor types for available options. |
contents | Solution object to model the thermodynamic properties and reactions occurring in the reactor |
clone | Determines whether to clone sol so that the internal state of this reactor is independent of the original Solution object and any Solution objects used by other reactors in the network. |
name | Name of the reactor. |
Reactor
object. Definition at line 120 of file ReactorFactory.cpp.
shared_ptr< Reservoir > newReservoir | ( | shared_ptr< Solution > | contents, |
bool | clone = true , |
||
const string & | name = "(none)" |
||
) |
Create a Reservoir object with the specified contents.
contents | Solution object to model the contents of this reservoir |
clone | Determines whether to clone sol so that the internal state of this reservoir is independent of the original Solution object and any Solution objects used by other reactors in the network. |
name | Name of the reservoir. |
Definition at line 132 of file ReactorFactory.cpp.
shared_ptr< ReactorSurface > newReactorSurface | ( | shared_ptr< Solution > | contents, |
const vector< shared_ptr< ReactorBase > > & | reactors, | ||
bool | clone = true , |
||
const string & | name = "(none)" |
||
) |
Create a ReactorSurface object with the specified contents and adjacent reactors participating in surface reactions.
contents | Solution (Interface) object to model the thermodynamic properties and reactions occurring in the reactor |
reactors | List of Reactors adjacent to this surface, whose contents participate in reactions occurring on this surface. |
clone | Determines whether to clone sol so that the internal state of this surface is independent of the original Interface object and any Solution objects used by other reactors in the network except those in the reactors list. |
name | Name of the reactor surface. |
Definition at line 144 of file ReactorFactory.cpp.