OpposedFlame#
- class ansys.chemkin.core.diffusionflames.opposedflowflame.OpposedFlame(fuel_stream: ansys.chemkin.core.inlet.Stream, label: str | None = None)#
Bases:
ansys.chemkin.core.flame.FlameOne-dimensional axisymmetric/Cylindrical opposed-flow flame model.
Overview#
Set the properties of the oxidizer stream. |
|
Lump species mass balance uncertainty to the last species. |
|
Create profile keywords. |
|
Use temperature profile grid as initial grid. |
|
Create 1-D grid profile. |
|
Set the maximum temperature. |
|
Set inlet stream properties. |
|
Perform steps to run the simulation. |
|
Perform a continuation run. |
|
Get the number of solution points. |
|
Post-process solution to extract the raw solution variable data. |
|
Get the solution profile. |
|
Create a list of solution Stream/Mixture. |
|
Get solution Stream at a location. |
|
Get solution Stream at a grid point. |
|
Skip finding the intermediate solution. |
|
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.