CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Native Meshers: blockMesh

Help for new user

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

LinkBack Thread Tools Display Modes
Old   January 4, 2010, 11:22
Unhappy Help for new user
New Member
thomas rouillon
Join Date: Jan 2010
Location: Paris
Posts: 4
Rep Power: 7
thorou is on a distinguished road
I am a new user of Open foam and blockmesh. I tried to do the first tutorial : cavity.
When I want to generate the mesh I have this message :
cannot open file

file: /home/caelinux/Bureau/TEST_OF/cavity/constant/polyMesh/system/controlDict
at line 0.
From function regI0object::readStream(const word&)
in file db/regI0object/regI0objectRead.C at line 66.
FOAM exiting
I made an installation on USB-hard drive , it is possible that it is the origin of the error ?


thorou is offline   Reply With Quote

Old   January 5, 2010, 16:40
Senior Member
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 8
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
Yes, it is likely that the usb install is the root of your error.

Openfoam is trying to find the controlDict at its typical location on the hard drive. Two possible solutions here:

1. Simply copy the entire tutorials directory to the hard drive in the location it is looking for it (directory structure should be quite similar). This will probably be the easiest, but might not work in certian cases.

2. Make sure your bashrc knows the where open foam is at. Read part 3 at this link:

I have used openfoam directly, so I am not certain if cea handles stuff differently or not.

Good Luck!
ericnutsch is offline   Reply With Quote

Old   January 7, 2010, 02:24
New Member
amgode's Avatar
Join Date: Jul 2009
Location: Pune, INDIA
Posts: 23
Blog Entries: 2
Rep Power: 8
amgode is on a distinguished road
Just take a look at the location where the controlDict is being searched....

file: /home/caelinux/Bureau/TEST_OF/cavity/constant/polyMesh/system/controlDict
at line 0.

I would say you might get some results if you fire the application from the case directory and not the constant polyMesh directory...........

Hope this helps !!!!!!!!!!!!

-- Amol
amgode is offline   Reply With Quote



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
user routine, user funcion, or fortran compile effect on the memroy? princeps11 CFX 1 May 13, 2009 18:37
CFX 10 User Routine NOT in Fortran Andre CFX 14 August 8, 2006 23:03
particle user routines Felix CFX 1 July 24, 2006 12:32
User Surface, Calculator Christian Bruzzese CFX 3 November 15, 2005 11:13
USA user conferences 2003 CD adapco Group Marketing CD-adapco 0 April 11, 2003 11:45

All times are GMT -4. The time now is 03:19.