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>