-
-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Description
System information
- Cantera version: development version
- OS: Ubuntu 18.04
- Python/MATLAB version: 3.6.9
Expected behavior
Example runs without error.
Actual behavior
Example errors with
In [1]: %run surf_pfr.py
distance X_CH4 X_H2 X_CO
---------------------------------------------------------------------------
CanteraError Traceback (most recent call last)
/src/interfaces/cython/cantera/examples/reactors/surf_pfr.py in <module>()
108 upstream.syncState()
109 sim.reinitialize()
--> 110 sim.advance_to_steady_state()
111 dist = n * rlen * 1.0e3 # distance in mm
112
interfaces/cython/cantera/reactor.pyx in cantera._cantera.ReactorNet.advance_to_steady_state()
interfaces/cython/cantera/reactor.pyx in cantera._cantera.ReactorNet.step()
CanteraError:
***********************************************************************
CanteraError thrown by Phase::setDensity:
density must be positive. density = -1.3738258649251213e-27
***********************************************************************
To Reproduce
See above.
Additional context
Error potentially introduced in the context of #720
A switch back from YAML to CTI input removes the issue, i.e. the error appears to be due to a bug in YAML conversion or parsing, see #902.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels