PremixedFlame#

class ansys.chemkin.core.premixedflames.premixedflame.PremixedFlame(inlet: ansys.chemkin.core.inlet.Stream, label: str | None = None)#

Bases: ansys.chemkin.core.flame.Flame

One-dimensional premixed flame model.

Overview#

set_inlet

Add an external inlet to the reactor.

unburnt_temperature

Set the unburnt fuel-oxidizer gas temperature.

lump_diffusion_imbalance

Lump error to the last species.

set_profilekeywords

Create profile keywords for Chemkin flame applications.

use_tpro_grids

Use the position data of the temperature profile as initial grid.

set_gridkeywords

Create 1-D grid profile keywords for Chemkin flame applications.

run

Chemkin run premixed flame model method.

continuation

Perform a continuation run.

get_solution_size

Get the number of solution points.

process_solution

Post-process solution to extract the raw solution variable data.

get_solution_variable_profile

Get the profile of the solution variable specified.

create_solution_streams

Create a list of Streams at every solution points.

get_solution_stream

Get the Stream representing the solution state at the given location.

get_solution_stream_at_grid

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.