PerfectlyStirredReactor#
- class ansys.chemkin.core.stirreactors.PSR.PerfectlyStirredReactor(guessedmixture: ansys.chemkin.core.inlet.Stream, label: str | None = None)#
Bases:
ansys.chemkin.core.stirreactors.openreactor.OpenReactorGeneric perfectly-stirred reactor model.
Overview#
Set up inlet keywords. |
|
Assign the reactor index/number. |
|
Reset the initial/guessed reactor gas mixture. |
|
Reset the estimated reactor gas temperature. |
|
Reset the estimated reactor gas composition. |
|
Validate the keywords. |
|
Add steady-state solver parameter keywoprds to the keyword list. |
|
Process input keywords for the reactor model in cluster network mode. |
|
Perform common steps to run a Chemkin reactor model. |
|
Post-process solution. |
Get reactive surface area. |
|
Get reactor volume. |
|
Get reactor residence time. |
Import detail#
from ansys.chemkin.core.stirreactors.PSR import PerfectlyStirredReactor
Property detail#
- property PerfectlyStirredReactor.area: float#
Get reactive surface area.
- property PerfectlyStirredReactor.volume: float#
Get reactor volume.
- property PerfectlyStirredReactor.residence_time: float#
Get reactor residence time.
Attribute detail#
- PerfectlyStirredReactor.HTarea = 0.0#
- PerfectlyStirredReactor.standalone = True#
- PerfectlyStirredReactor.ireac#
Method detail#
- PerfectlyStirredReactor.set_inlet_keywords() int#
Set up inlet keywords.
- PerfectlyStirredReactor.set_reactor_index(reactorindex: int)#
Assign the reactor index/number.
- PerfectlyStirredReactor.set_estimate_conditions(option: str, guess_temp: float | None = None)#
Reset the initial/guessed reactor gas mixture.
- PerfectlyStirredReactor.reset_estimate_temperature(temp: float)#
Reset the estimated reactor gas temperature.
- PerfectlyStirredReactor.reset_estimate_composition(fraction: numpy.typing.NDArray[numpy.double] | list[tuple[str, float]], mode: str = 'mole')#
Reset the estimated reactor gas composition.
- PerfectlyStirredReactor.validate_inputs() int#
Validate the keywords.
- PerfectlyStirredReactor.set_ss_solver_keywords()#
Add steady-state solver parameter keywoprds to the keyword list.
- PerfectlyStirredReactor.cluster_process_keywords() int#
Process input keywords for the reactor model in cluster network mode.
- PerfectlyStirredReactor.run() int#
Perform common steps to run a Chemkin reactor model.
- PerfectlyStirredReactor.process_solution() ansys.chemkin.core.inlet.Stream#
Post-process solution.