libICEpost.src.thermophysicalModels.specie.reactions.ReactionModel.Stoichiometry

@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 12/06/2023

Classes

Stoichiometry

Reaction model of fuel combustion with infinitely fast chemistry

Module Contents

class libICEpost.src.thermophysicalModels.specie.reactions.ReactionModel.Stoichiometry.Stoichiometry(reactants: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture, *, oxidizer: libICEpost.src.thermophysicalModels.specie.specie.Molecule.Molecule = database.chemistry.specie.Molecules.O2, dissociationModels: Iterable[libICEpost.src.thermophysicalModels.specie.reactions.ReactionModel.DissociationModel.DissociationModel.DissociationModel] = None)[source]

Bases: libICEpost.src.thermophysicalModels.specie.reactions.ReactionModel.ReactionModel.ReactionModel

Reaction model of fuel combustion with infinitely fast chemistry

TODO: Extend to handle a generic reaction set, where there might be more then one oxidizer

Molecule The oxidiser

reactants

(Mixture) The mixture of the reactants

products

(Mixture) The mixture of products of the reaction

reactions

(_Database) Database of oxidation reactions. Reference to database.chemistry.reactions

_ReactionType: str = 'StoichiometricReaction'

The type for reactions to lookup for in the database

_productsPreDissociation: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture

The combustion products before applying the dissociation models

dissociationModels: list[libICEpost.src.thermophysicalModels.specie.reactions.ReactionModel.DissociationModel.DissociationModel.DissociationModel]

A list of the dissociation models to apply

property fuel

The sub-mixture of reactants with the fuels

property oxidizer

The oxidizer

classmethod fromDictionary(dictionary)[source]

Construct from dictionary.

Parameters:

dictionary (dict) –

The dictionary from which constructing, containing: reactants (Mixture): the mixture of reactants oxidiser (Molecule): the oxidizer dissociationModels (dict[str:dict]): Construction dictionaries for dissociation models in the form: {

<DissociationModelType>: construction dictionary for the specific model …

}

_oxidizer
_updateFuels()[source]

Update list of fuels

_update(reactants: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None, *, state: libICEpost.src.thermophysicalModels.thermoModels.ThermoState.ThermoState = None) bool[source]

Method to update the products.

Parameters:
  • reactants (Mixture, optional) – Update mixture of reactants. Defaults to None.

  • state (ThermoState, optional) – Thermodynamic state to update the reaction model. (NOT USED)

Returns:

if something changed

Return type:

bool