TransientPSR#
- class ansys.chemkin.core.stirreactors.transient_PSR.TransientPSR(reactor_condition: ansys.chemkin.core.inlet.Stream, label: str = '')#
Bases:
ansys.chemkin.core.batchreactors.batchreactor.BatchReactorsGeneric transient perfectly-stirred reactor model.
Overview#
Add an external inlet to the reactor. |
|
Reset the properties of an existing external inlet. |
|
Delete an existing external inlet from the reactor by the inlet name. |
|
Set up inlet keywords. |
|
Reset the initial reactor gas mixture. |
|
Reset the initial reactor gas temperature. |
|
Reset the initial reactor gas composition. |
|
Validate the keywords. |
|
Perform common steps to run a Chemkin reactor model. |
Get reactor residence time. |
|
Get the net external inlet mass flow rate. |
|
Get the net external volumetric flow rate. |
|
Get the number of external inlets to the reactor. |
Import detail#
from ansys.chemkin.core.stirreactors.transient_PSR import TransientPSR
Property detail#
- property TransientPSR.residence_time: float#
Get reactor residence time.
- property TransientPSR.net_mass_flowrate: float#
Get the net external inlet mass flow rate.
- property TransientPSR.net_vol_flowrate: float#
Get the net external volumetric flow rate.
- property TransientPSR.number_external_inlets: int#
Get the number of external inlets to the reactor.
Attribute detail#
- TransientPSR.ireac#
- TransientPSR.standalone = True#
- TransientPSR.numbexternalinlets = 0#
- TransientPSR.externalinlets: dict[str, ansys.chemkin.core.inlet.Stream]#
- TransientPSR.totalmassflowrate = 0.0#
Method detail#
- TransientPSR.set_inlet(extinlet: ansys.chemkin.core.inlet.Stream)#
Add an external inlet to the reactor.
- TransientPSR.reset_inlet(new_stream: ansys.chemkin.core.inlet.Stream)#
Reset the properties of an existing external inlet.
- TransientPSR.remove_inlet(name: str)#
Delete an existing external inlet from the reactor by the inlet name.
- TransientPSR.set_inlet_keywords() int#
Set up inlet keywords.
- TransientPSR.set_initial_conditions(option: str, guess_temp: float | None = None)#
Reset the initial reactor gas mixture.
- TransientPSR.reset_initial_temperature(temp: float)#
Reset the initial reactor gas temperature.
- TransientPSR.reset_initial_composition(fraction: numpy.typing.NDArray[numpy.double] | list[tuple[str, float]], mode: str = 'mole')#
Reset the initial reactor gas composition.
- TransientPSR.validate_inputs() int#
Validate the keywords.
- TransientPSR.run() int#
Perform common steps to run a Chemkin reactor model.