Scheme: Error handler
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 14:26.|