HCCIengine#

class ansys.chemkin.core.engines.HCCI.HCCIengine(reactor_condition: ansys.chemkin.core.inlet.Stream, label: str = '', nzones: int | None = None)#

Bases: ansys.chemkin.core.engines.engine.Engine

Single or multi- zone HCCI engine model.

Overview#

get_number_of_zones

Get the number of zones used by the current HCCI simulation.

set_zonal_temperature

Set zonal temperatures for muti-zone HCCI engine simulation.

set_zonal_volume_fraction

Set zonal volume fractions for muti-zone HCCI engine simulation.

set_zonal_mass_fraction

Set zonal mass fractions for muti-zone HCCI engine simulation.

set_zonal_heat_transfer_area_fraction

Set zonal wall heat transfer area fractions.

set_zonal_gas_mole_fractions

Set zonal gas mole fractions for muti-zone HCCI engine.

define_fuel_composition

Set the fuel composition by zonal equivalence ratio.

define_oxid_composition

Set the oxidizer composition by zonal equivalence ratio.

define_product_composition

Set the combustion product composition by zonal equivalence ratio.

define_additive_fractions

Set the additive composition by zonal equivalence ratio.

set_zonal_equivalence_ratio

Set zonal wall heat transfer area fractions.

set_zonal_egr_ratio

Set zonal exhaust gas recirculation (EGR) ratios.

set_energy_equation_switch_on_ca

Set the crank angle at which the energy equation will be turn ON.

set_zonal_volume_keyword

Set zonal volume keyword for the multi-zone HCCI engine simulation.

set_zonal_mass_keyword

Set zonal mass keyword for the multi-zone HCCI engine simulation.

set_zonal_condition_keywords

Set zonal initial condition keywords under the Full-Keywords mode.

set_zonal_equivalence_ratio_keywords

Set zonal initial condition keywords under the Full-Keywords mode.

run

Run Chemkin HCCI engine model method.

Import detail#

from ansys.chemkin.core.engines.HCCI import HCCIengine

Attribute detail#

HCCIengine.zonetemperature: list[float] = []#
HCCIengine.zonevolume: list[float] = []#
HCCIengine.usezonemass = False#
HCCIengine.zonemass: list[float] = []#
HCCIengine.zoneHTarea: list[float] = []#
HCCIengine.zonemolefrac: list[float] = []#
HCCIengine.zoneequivalenceratio: list[float] = []#
HCCIengine.zonefueldefined: list[tuple] = []#
HCCIengine.zoneoxiddefined: list[tuple] = []#
HCCIengine.zoneproductdefined: list[str] = []#
HCCIengine.zoneaddmolefrac: list[float] = []#
HCCIengine.zoneEGRR: list[float] = []#

Method detail#

HCCIengine.get_number_of_zones() int#

Get the number of zones used by the current HCCI simulation.

HCCIengine.set_zonal_temperature(zonetemp: list[float])#

Set zonal temperatures for muti-zone HCCI engine simulation.

HCCIengine.set_zonal_volume_fraction(zonevol: list[float])#

Set zonal volume fractions for muti-zone HCCI engine simulation.

HCCIengine.set_zonal_mass_fraction(zonemass: list[float])#

Set zonal mass fractions for muti-zone HCCI engine simulation.

HCCIengine.set_zonal_heat_transfer_area_fraction(zonearea: list[float])#

Set zonal wall heat transfer area fractions.

HCCIengine.set_zonal_gas_mole_fractions(zonemolefrac: list[float])#

Set zonal gas mole fractions for muti-zone HCCI engine.

HCCIengine.define_fuel_composition(recipe: list[tuple[str, float]])#

Set the fuel composition by zonal equivalence ratio.

HCCIengine.define_oxid_composition(recipe: list[tuple[str, float]])#

Set the oxidizer composition by zonal equivalence ratio.

HCCIengine.define_product_composition(products: list[str])#

Set the combustion product composition by zonal equivalence ratio.

HCCIengine.define_additive_fractions(addfrac: list[float])#

Set the additive composition by zonal equivalence ratio.

HCCIengine.set_zonal_equivalence_ratio(zonephi: list[float])#

Set zonal wall heat transfer area fractions.

HCCIengine.set_zonal_egr_ratio(zoneegr: list[float])#

Set zonal exhaust gas recirculation (EGR) ratios.

HCCIengine.set_energy_equation_switch_on_ca(switch_ca: float)#

Set the crank angle at which the energy equation will be turn ON.

HCCIengine.set_zonal_volume_keyword()#

Set zonal volume keyword for the multi-zone HCCI engine simulation.

HCCIengine.set_zonal_mass_keyword()#

Set zonal mass keyword for the multi-zone HCCI engine simulation.

HCCIengine.set_zonal_condition_keywords()#

Set zonal initial condition keywords under the Full-Keywords mode.

HCCIengine.set_zonal_equivalence_ratio_keywords()#

Set zonal initial condition keywords under the Full-Keywords mode.

HCCIengine.run() int#

Run Chemkin HCCI engine model method.