mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-19 01:14:44 -05:00
The high-pressure H2/O2 counterflow diffusion cases in' flame_solver_timestep_controls.py sit at the edge of solvability, where the analytic and finite-difference Jacobians (which agree to ~1e-7) steer the solver onto different trajectories. With the analytic Jacobian now the default, these cases no longer converged within the example's original regrid/timestep budgets. Pin finite differences for the counterflow diffusion helper and document that FD is empirically more robust for these high pressure diffusion flames, restoring the original example behavior. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Python Examples
===============
.. seealso::
To find examples covering a specific topic, see the
:ref:`index of example tags <tagoverview>`.
If you're just getting started with Cantera, see our
:doc:`/userguide/python-tutorial` for an introduction to the Cantera Python interface.