You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to simulate a flame where the inlet temperature is less than 200 K leads to solver errors, unless the solver bounds for the temperature are explicitly set. The error messages provide no indication that this is the problem, and it is usually not necessary to modify the solver bounds, so it's not something that most users will think of trying.
I think it would be more user-friendly if the lower bound was automatically set to just below the lowest temperature of any of the inlet streams.
************ Solving on 8 point grid with energy equation enabled ************
..............................................................................
Attempt Newton solution of steady-state problem... failure.
Take 10 timesteps
*******************************************************************************
CanteraError thrown by OneDim::timeStep:
Time integration failed.
*******************************************************************************
and ending with:
******** Initial solve failed; Retrying with energy equation disabled ********
..............................................................................
Attempt Newton solution of steady-state problem... failure.
Take 10 timesteps
*******************************************************************************
CanteraError thrown by OneDim::timeStep:
Time integration failed.
*******************************************************************************
Traceback (most recent call last):
File "/Users/speth/src/cantera/samples/python/onedim/adiabatic_flame.py", line 16, in <module>
f.solve(loglevel=1, auto=True)
File "/Users/speth/src/cantera/build/python/cantera/onedim.py", line 684, in solve
super().solve(loglevel, refine_grid, auto)
File "build/python/cantera/_onedim.pyx", line 1191, in cantera._onedim.Sim1D.solve
raise CanteraError('Could not find a solution for the 1D problem')
cantera._utils.CanteraError: Could not find a solution for the 1D problem
Problem description
Trying to simulate a flame where the inlet temperature is less than 200 K leads to solver errors, unless the solver bounds for the temperature are explicitly set. The error messages provide no indication that this is the problem, and it is usually not necessary to modify the solver bounds, so it's not something that most users will think of trying.
I think it would be more user-friendly if the lower bound was automatically set to just below the lowest temperature of any of the inlet streams.
Steps to reproduce
Run the following Python script:
Behavior
Repeated solver failures, starting with:
and ending with:
System information
main
at b0ba90aAdditional context
See this Users' Group post.
The text was updated successfully, but these errors were encountered: