microcombustion / ctwrap

Python wrapper for batch simulations (e.g. Cantera)
https://microcombustion.github.io/ctwrap/
MIT License
6 stars 5 forks source link

Terminate hung calculations #27

Open ischoegl opened 3 years ago

ischoegl commented 3 years ago

For marginal cases, simulations oftentimes 'hang', i.e. they do not progress and take hours to terminate. It would be neat if there were a way to 'detect' and 'kill' a process that is hung. Probably not a priority, but it would be nice to have.

ischoegl commented 2 years ago

This could be done using existing callbacks, see Cantera UG discussion