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

[blockMesh] cannot open file controlDict

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2010, 10:22
Unhappy cannot open file controlDict
  #1
New Member
 
thomas rouillon
Join Date: Jan 2010
Location: Paris
Posts: 4
Rep Power: 16
thorou is on a distinguished road
Hello,
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 ?

Sincerely

Thomas
thorou is offline   Reply With Quote

Old   January 5, 2010, 15:40
Default
  #2
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 16
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: http://www.opencfd.co.uk/openfoam/doc/README.html

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, 01:24
Default
  #3
New Member
 
amgode's Avatar
 
Amol
Join Date: Jul 2009
Location: Limerick, Ireland
Posts: 24
Blog Entries: 2
Rep Power: 16
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

Reply

Tags
openfoam;blockmesh

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59


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