Dear colleagues,
I'm facing a problem regarding cantera usage to generate burning velocities of syngas mixtures. While code works perfect while generating mixtures composed of H2, CO, H2O and Air, it often fails to some 1D problems with addition of CO2 or high fractions of Air. Without radiation I can generate around 90% of data points, and I assume it is fine as in some regions burning might not still happen. However, with enabling radiation, I can only generate around 40% of points at the same conditions. And I know that Cantera fails as for example it find solution at 470 K and 400000 Pa, as well as 470 K and 700000 Pa but fails with 470 K and 600000 Pa, or finds solution under lower temperature but fails with higher. Also, some solutions are strange and stays around 0.3 m\s, like it gives 0.2999999 m\s and at higher temperature only 0.11 m\s.
I tried width from 0.01 to 0.1, but at 0.1 Cantera can even give negative velocity at low temperatures.
Also we tried various refinement parameters, sometimes even reducing slove and curve to 0.05
Step size was varied and I tried up to 1500 step size with 3500 max step size but it still fails and simulation takes forever.
We try to use USC2.yaml mechanism which is heavy and after all failure I even tried to use Davis.yaml (lighter version of USC2) to generate initial guess for USC2 but in that case I only noticed large jumps in temperatures and velocities, which some volocities even becoming -650555055 or something like that.
Maybe you have any insights or advices regarding what I do wrong and how to improve it?
```
gas.TPX = To, Po, composition
print(gas())
# Create and solve flame object
flame = ct.FreeFlame(gas, width=width)
flame.inlet.X = gas.X
flame.inlet.T = gas.T
flame.energy_enabled = True
flame.radiation_enabled = True
flame.set_refine_criteria(ratio=2.0, slope=0.1, curve=0.1, prune=0.01)
flame.set_time_step(1e-5, [10, 40, 80, 150, 500])
flame.max_time_step_count = 1000
flame.solve(loglevel=loglevel, auto=True)
flame.save(f'syngas_falme_at_{Po}Pa_{To}K.yaml', name="solution", description="Initial syngas flame", overwrite=True)
```
Thank you for your time.
Best regards,
Andrius