Cantera  3.1.0
Loading...
Searching...
No Matches

Zero-dimensional objects representing stirred reactors. More...

Collaboration diagram for Reactors:

Detailed Description

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:

shared_ptr<ReactorBase> r1 = newReactor("IdealGasReactor");
shared_ptr< ReactorBase > newReactor(const string &model)
Create a Reactor object of the specified type.

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 stirred reactors. More...
 
class  ReactorDelegator< R >
 Delegate methods of the Reactor class to external functions. 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< ReactorBasenewReactor (const string &model)
 Create a Reactor object of the specified type.
 
shared_ptr< ReactorBasenewReactor (const string &model, shared_ptr< Solution > contents, const string &name="(none)")
 Create a Reactor object of the specified type and contents.
 
shared_ptr< ReactorBasenewReactor3 (const string &model)
 Create a Reactor object of the specified type.
 

Function Documentation

◆ newReactor() [1/2]

shared_ptr< ReactorBase > newReactor ( const string &  model)

Create a Reactor object of the specified type.

Since
Starting in Cantera 3.1, this method returns a shared_ptr<ReactorBase>
Deprecated:
Transitional method. Use newReactor() with contents instead.

Definition at line 97 of file ReactorFactory.cpp.

◆ newReactor() [2/2]

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.

Since
New in Cantera 3.1.

Definition at line 103 of file ReactorFactory.cpp.

◆ newReactor3()

shared_ptr< ReactorBase > newReactor3 ( const string &  model)

Create a Reactor object of the specified type.

Since
New in Cantera 3.0.
Deprecated:
Transitional method. Use newReactor() instead.

Definition at line 110 of file ReactorFactory.cpp.