CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Foam fatal io error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 5, 2012, 02:58
Default Foam fatal io error
  #1
New Member
 
neetu kumari
Join Date: Mar 2011
Posts: 14
Rep Power: 5
neetu kumari is on a distinguished road
I am neetu. I am trying to simulate flow over cylinder(potentialFOAM) problem, available in tutorial of OpenFOAM. While I am generating the mesh in OpenFOAM by using blockMesh command in case file directory, getting an error which sayes that: FOAM FATAL IO ERROR, Loading a shared library using case-supplied code is not enabled by default because of security issues. If you trust the code you can enable this facility by adding to the infoSwitches setting in the system controlDict:
allowSystemOperations 1

Does anyone has any idea about how to get out off this error.

Thanks
neetu kumari is offline   Reply With Quote

Old   September 5, 2012, 03:29
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 787
Rep Power: 11
Bernhard is on a distinguished road
The error should be self-explanatory. You have dynamic code in the blockMeshDict apparently, which should be compiled during runtime.

In OpenFOAM-2.1.0/etc/controlDict you will be able to set the mentioned switch.
Bernhard is offline   Reply With Quote

Old   September 5, 2012, 05:28
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,090
Blog Entries: 32
Rep Power: 70
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Either that, or use the Allrun script that the "basic/potentialFoam/cylinder/" tutorial has!

Here's the online version: https://github.com/OpenFOAM/OpenFOAM...ylinder/Allrun - notice that it hacks this option into the personal copy of "etc/controlDict".
wyldckat is offline   Reply With Quote

Old   September 5, 2012, 07:09
Default
  #4
New Member
 
neetu kumari
Join Date: Mar 2011
Posts: 14
Rep Power: 5
neetu kumari is on a distinguished road
Thank you so much for the suggestions. As I am very new in handling OpenFOAM software codes, unable to interpret the meaning of errors.
neetu kumari is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 04:16
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 15:46
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 12:34
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 10:23
Installation of Netgen in SuSE Linux 92 edvardsenpriv Open Source Meshers: Gmsh, Netgen, CGNS, ... 23 January 16, 2009 06:12


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