ANSYS Fluent allows burned gases to be converted to an inert gas. This has been designed with in-cylinder combustion in mind to aid the simulation of multiple cycles of such engines using the partially-premixed combustion model with exhaust gas recirculation (EGR). At the end of a combustion stroke, the premixed progress variable of the burnt gases is unity. When fresh charge, with progress variable of zero, is mixed with the burnt trapped gases, combustion will be initiated unless these trapped gases are converted to inert.
This facility is accessed via the Dynamic Mesh Events dialog box, as described in Resetting Inert EGR. There, you will need to set the crank angle at which the event occurs (usually shortly before the inlet valves open) and at the fluid zones (usually the combustion chamber) where the burnt gases are converted to inert.
When ANSYS Fluent performs an inert reset, the inert composition is calculated as the stoichiometric composition. For lean mixtures, the stoichiometric inert is mixed with oxidizer, and for rich mixtures the stoichiometric inert is mixed with fuel, so that overall stoichiometry is conserved. This entails:
Calculating the stoichiometric mixture fraction, which is defined as the mixture where both fuel and oxidizer are completely consumed.
Calculating the inert species mass fractions as the stoichiometric species mass fractions. Species with mole fractions less than 0.01 are discarded.
Setting the inert mass fraction and the mixture fraction as follows:
Setting the reaction progress to zero.
For the ECFM model, flame area density is set to zero.
For the G-Equation model, G (the mean distance from the flame front) is set to a negative value.
Since there will be some small errors in the species mass fractions from before the EGR reset, the temperature will change due to the change in the specific heat. By default, ANSYS Fluent adjusts the enthalpy so that temperature is unchanged after EGR reset. This may be limited by the PDF table temperature limits for the new mixture fraction, in which case the temperature after inert reset will not equal the temperature before the inert reset event.