PremixedFlame#
- class ansys.chemkin.core.premixedflames.premixedflame.PremixedFlame(inlet: ansys.chemkin.core.inlet.Stream, label: str | None = None)#
Bases:
ansys.chemkin.core.flame.FlameOne-dimensional premixed flame model.
Overview#
Add an external inlet to the reactor. |
|
Set the unburnt fuel-oxidizer gas temperature. |
|
Lump error to the last species. |
|
Create profile keywords for Chemkin flame applications. |
|
Use the position data of the temperature profile as initial grid. |
|
Create 1-D grid profile keywords for Chemkin flame applications. |
|
Chemkin run premixed flame model method. |
|
Perform a continuation run. |
|
Get the number of solution points. |
|
Post-process solution to extract the raw solution variable data. |
|
Get the profile of the solution variable specified. |
|
Create a list of Streams at every solution points. |
|
Get the Stream representing the solution state at the given location. |
|
Get the Stream representing the solution given point index. |
Import detail#
from ansys.chemkin.core.premixedflames.premixedflame import PremixedFlame
Method detail#
- PremixedFlame.set_inlet(extinlet: ansys.chemkin.core.inlet.Stream)#
Add an external inlet to the reactor.
- PremixedFlame.unburnt_temperature(temperature: float)#
Set the unburnt fuel-oxidizer gas temperature.
- PremixedFlame.lump_diffusion_imbalance(mode: bool = True)#
Lump error to the last species.
- PremixedFlame.set_profilekeywords() int#
Create profile keywords for Chemkin flame applications.
- PremixedFlame.use_tpro_grids(mode: bool = True)#
Use the position data of the temperature profile as initial grid.
- PremixedFlame.set_gridkeywords() int#
Create 1-D grid profile keywords for Chemkin flame applications.
- PremixedFlame.run() int#
Chemkin run premixed flame model method.
- PremixedFlame.continuation() int#
Perform a continuation run.
- PremixedFlame.get_solution_size() int#
Get the number of solution points.
- PremixedFlame.process_solution()#
Post-process solution to extract the raw solution variable data.
- PremixedFlame.get_solution_variable_profile(varname: str) numpy.typing.NDArray[numpy.double]#
Get the profile of the solution variable specified.
- PremixedFlame.create_solution_streams(specfrac: numpy.typing.NDArray[numpy.double]) int#
Create a list of Streams at every solution points.
- PremixedFlame.get_solution_stream(x: float) ansys.chemkin.core.inlet.Stream#
Get the Stream representing the solution state at the given location.
- PremixedFlame.get_solution_stream_at_grid(grid_index: int) ansys.chemkin.core.inlet.Stream#
Get the Stream representing the solution given point index.