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

some error occurred while simulating Flow Around A Cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2014, 23:39
Default some error occurred while simulating Flow Around A Cylinder
  #1
New Member
 
ngoducphi
Join Date: Mar 2014
Posts: 4
Rep Power: 12
ngoducphi12761 is on a distinguished road
Hi everyone,

I m new user in CFD and i am trying to simulate flow through the cylinder in tutorial
(Programmer's guide - contents 3.1) using Openfoam 2.1.1 . But some errors has occurred that I can not be fixed .
I can't use the command blockMesh in this tutorial!
Can you help me ???

Here is the error details

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
"/home/User/Desktop/cylinder/constant/polyMesh/blockMeshDict"
Using #codeStream at line 19 in file "/home/User/Desktop/cylinder/constant/polyMesh/blockMeshDict"


--> 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 be adding to the InfoSwitches setting in the system controlDict:

allowSystemOperations 1

The system controlDict is either

~/.OpenFOAM/$WM_PROJECT_VERSION/controlDict

or

$WM_PROJECT_DIR/etc/controlDict



file: /home/User/Desktop/cylinder/constant/polyMesh/blockMeshDict from line 17 to line 17.

From function functionEntries::codeStream::execute(..)
in file db/dynamicLibrary/dynamicCode/dynamicCode.C at line 81.

FOAM exiting


ngoducphi12761 is offline   Reply With Quote

Old   April 2, 2014, 23:58
Default
  #2
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
As you are trying to use codeStream, change allowSystemOperation to yes as suggested in error message
ybapat is offline   Reply With Quote

Old   April 3, 2014, 05:55
Default
  #3
New Member
 
ngoducphi
Join Date: Mar 2014
Posts: 4
Rep Power: 12
ngoducphi12761 is on a distinguished road
Quote:
Originally Posted by ybapat View Post
As you are trying to use codeStream, change allowSystemOperation to yes as suggested in error message
Thanks ybapat,
I had corrected it. The "controlDict file" have been hidden so just press Ctrl + h to show it up
ngoducphi12761 is offline   Reply With Quote

Reply


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
flow around a circular cylinder with velocity inlet and outflow outlet shuoxue OpenFOAM Running, Solving & CFD 0 November 2, 2013 04:32
Flow induced vibration of a mobile cylinder Hooman Main CFD Forum 0 December 31, 2010 08:48
need help on simulating flow over a cylinder beehuah Main CFD Forum 4 November 24, 2010 07:37
Flow around a cylinder at subcritical regime. yousef FLUENT 0 March 18, 2006 09:18
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 12:19


All times are GMT -4. The time now is 01:24.