OpposedFlame#

class ansys.chemkin.core.diffusionflames.opposedflowflame.OpposedFlame(fuel_stream: ansys.chemkin.core.inlet.Stream, label: str | None = None)#

Bases: ansys.chemkin.core.flame.Flame

One-dimensional axisymmetric/Cylindrical opposed-flow flame model.

Overview#

set_oxidizer_inlet

Set the properties of the oxidizer stream.

lump_diffusion_imbalance

Lump species mass balance uncertainty to the last species.

set_profilekeywords

Create profile keywords.

use_tpro_grids

Use temperature profile grid as initial grid.

set_gridkeywords

Create 1-D grid profile.

set_max_flame_temperature

Set the maximum temperature.

set_inlet_keywords

Set inlet stream properties.

run

Perform steps to run the simulation.

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 solution profile.

create_solution_streams

Create a list of solution Stream/Mixture.

get_solution_stream

Get solution Stream at a location.

get_solution_stream_at_grid

Get solution Stream at a grid point.

skip_fix_t_solution

Skip finding the intermediate solution.

automatic_temperature_profile_estimate

Construct guess temperature profile automatically.

Import detail#

from ansys.chemkin.core.diffusionflames.opposedflowflame import OpposedFlame

Attribute detail#

OpposedFlame.fuelstream: ansys.chemkin.core.inlet.Stream#
OpposedFlame.oxidstream: ansys.chemkin.core.inlet.Stream = None#

Method detail#

OpposedFlame.set_oxidizer_inlet(oxid_stream: ansys.chemkin.core.inlet.Stream)#

Set the properties of the oxidizer stream.

OpposedFlame.lump_diffusion_imbalance(mode: bool = True)#

Lump species mass balance uncertainty to the last species.

OpposedFlame.set_profilekeywords() int#

Create profile keywords.

OpposedFlame.use_tpro_grids(mode: bool = True)#

Use temperature profile grid as initial grid.

OpposedFlame.set_gridkeywords() int#

Create 1-D grid profile.

OpposedFlame.set_max_flame_temperature(max_temp: float)#

Set the maximum temperature.

OpposedFlame.set_inlet_keywords(inlet: ansys.chemkin.core.inlet.Stream) int#

Set inlet stream properties.

OpposedFlame.run() int#

Perform steps to run the simulation.

OpposedFlame.continuation() int#

Perform a continuation run.

OpposedFlame.get_solution_size() int#

Get the number of solution points.

OpposedFlame.process_solution()#

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

OpposedFlame.get_solution_variable_profile(varname: str) numpy.typing.NDArray[numpy.double]#

Get the solution profile.

OpposedFlame.create_solution_streams(specfrac: numpy.typing.NDArray[numpy.double]) int#

Create a list of solution Stream/Mixture.

OpposedFlame.get_solution_stream(x: float) ansys.chemkin.core.inlet.Stream#

Get solution Stream at a location.

OpposedFlame.get_solution_stream_at_grid(grid_index: int) ansys.chemkin.core.inlet.Stream#

Get solution Stream at a grid point.

OpposedFlame.skip_fix_t_solution(mode: bool = True)#

Skip finding the intermediate solution.

OpposedFlame.automatic_temperature_profile_estimate(mode: bool = True)#

Construct guess temperature profile automatically.