libICEpost.src.thermophysicalModels.thermoModels.CombustionModel.PremixedCombustion

@author: <N. Surname> <e-mail> Last update: DD/MM/YYYY

Classes

PremixedCombustion

Premixted combustion model

Module Contents

class libICEpost.src.thermophysicalModels.thermoModels.CombustionModel.PremixedCombustion.PremixedCombustion(/, *, xb: float = 0.0, **kwargs)[source]

Bases: libICEpost.src.thermophysicalModels.thermoModels.CombustionModel.CombustionModel.CombustionModel

Premixted combustion model


Attributes:

_xb: float
classmethod fromDictionary(dictionary: dict | libICEpost.src.base.dataStructures.Dictionary.Dictionary)[source]

Create from dictionary.

Parameters:

dictionary (dict) –

The dictionary from which constructing, containing: reactants (Mixture): The reactants composition xb (float, optional): The initial progress variable. Defaults to 0.0. reactionModel (str, optional): Model handling reactions. defaults to “Stoichiometry”. <reactionModel>Dict (dict, optional): the dictionary for construction of the specific ReactionModel. state (ThermoState, optional): Giving current state to manage state-dependend

reaction models(e.g. equilibrium). Defaults to empty state ThermoState().

update(xb: float = None, *args, **kwargs) bool[source]

Update mixture composition based on progress variable, fuel, and reactants composition.

Parameters:
  • xb (float, None) – the burned mass fraction. Defaults to None (no update).

  • reactants (Mixture, optional) – update reactants composition. Defaults to None.

  • state (ThermoState, optional) – Giving current state to manage state-dependend reaction models(e.g. equilibrium). Defaults to None.

Returns:

if something changed

Return type:

bool