CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Avoid abort after "FOAM FATAL IO ERROR"

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 4, 2013, 09:04
Default Avoid abort after "FOAM FATAL IO ERROR"
  #1
New Member
 
thomas
Join Date: Jul 2013
Posts: 1
Rep Power: 0
thomasfr is on a distinguished road
Hello,
usually the solvers abort program execution with the message "--> FOAM FATAL IO ERROR" if there is something wrong with the format of the input data (for example giving "value (0 0 0)" instead of "uniformValue (0 0 0)" to a uniform boundary condition).

This is problematic, because I have to run some clean-up code when the solver crashes after wrong user input (I use a modification of the standard solvers).

Is the program abort hard coded in OpenFOAM? Or can I change some switch (in the global controlDict, maybe?) so that a warning is shown or an exception is thrown instead of exiting immediately?

Thomas
thomasfr is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error "FLUENT has recieved fatal error" yys88 FLUENT 0 January 22, 2013 14:58
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 06:55.