CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Scheme: Error handler (http://www.cfd-online.com/Forums/fluent/49711-scheme-error-handler.html)

Benjamin Sturzenegger November 5, 2008 12:30

Scheme: Error handler
 
Hi everybody!

I'd like to write a program which will restart Fluent automatically if the simulation crushes (from the last auto-save data...). I wrote already a little scheme-script which basically works, but if the error appears it will abort the scheme-script as well and therefore a restart of the simulation is not possible. For that reason I'm looking for an "error-handler"... Probably, something like this:

(try [statement] catch 1...[statement] catch 2...[statement] )

What's the "error-handler syntax" in scheme (especially in Fluent)?

Thank you very much in advance!

Kind regards, Ben



All times are GMT -4. The time now is 23:11.