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

Foam::findEtcFile() : could not find mandatory file 'controlDict'

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 16, 2011, 09:04
Default Foam::findEtcFile() : could not find mandatory file 'controlDict'
  #1
New Member
 
Anders Olofsson
Join Date: Aug 2011
Posts: 1
Rep Power: 0
AndersO is on a distinguished road
I get that error when I try to run blockMesh in my case directory. I got a sub directory "System" that contains the controlDict file.

I've seen this question before on the forum but no actual answer. I'm guessing I'm missing some enviroment variable, could that be it?

I'm running OpenFOAM 1.70 on a windows machine.
AndersO is offline   Reply With Quote

Old   August 16, 2011, 10:36
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,326
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings Anders and welcome to the forum!

You seem to be looking for this thread: http://www.cfd-online.com/Forums/ope...7-0-win32.html

Anyway, the file that blockMesh is looking for is located at "OpenFOAM-1.7.0\etc\controlDict". Probably it isn't finding it because you might have placed OpenFOAM's folder inside a folder that has spaces in it. For example, "C:\Program Files\OpenFOAM-1.7.0" is a big no no, because OpenFOAM does not like paths that have spaces in them...

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 2, 2012, 07:14
Default controlDict Error
  #3
Senior Member
 
rkhr
Join Date: May 2011
Posts: 169
Rep Power: 5
Kanarya is on a distinguished road
Hi

I am gettin this message

Can somebody help me?

Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#6
at twoPhaseEulerFoam.C:0
#7
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam"
#8
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam"
#9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam"
Floating point exception

Thanks,

Recep
Kanarya is offline   Reply With Quote

Old   February 2, 2012, 15:52
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,326
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Quote:
Originally Posted by Kanarya View Post
I am gettin this message

Can somebody help me?

Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
(...)
@Recep: seriously, why are you almost randomly asking the same question in several threads, and to top it off, you're giving a seriously vague error output. Anyway, if you had bothered to read the blog post in my signature above, you would find the following text:
Quote:
"Oh my, oh my, the solver crashed, what am I going to do?"
  1. Don't panic.
  2. Start reading here: Foam::error::PrintStack - post #2
  3. Still can't figure out the problem, then read here: Parallel running of 3D multiphase turbulence model (unknown problem!!) post#3
  4. Perhaps wrong dimensions? porousSimpleFoam - crash post #2
If you don't know or don't remember how forums should be used (I don't always remember myself either ), here is a very nice explanation: http://openfoamwiki.net/index.php/Ho..._Message_Board

Good luck!
Bruno
wyldckat is offline   Reply With Quote

Old   February 3, 2012, 04:39
Default
  #5
Senior Member
 
rkhr
Join Date: May 2011
Posts: 169
Rep Power: 5
Kanarya is on a distinguished road
hi Bruno,

really sorry about it...u are right...but the system was blocked and I was not able to send any message, so i got angry...bcause of that I sent several places...really sorry..
Thanks a lot for answer...

Best!

recep
Kanarya is offline   Reply With Quote

Old   February 4, 2012, 10:16
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,326
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Recep,

I know how annoying machines and the internet can get
If you still have problems with this, please start a new thread here in the main OpenFOAM forum (http://www.cfd-online.com/Forums/openfoam/) or preferably in the OpenFOAM Running, Solving & CFD sub-forum

Good luck!
Bruno
wyldckat 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
wmake compiling new solver mksca OpenFOAM Programming & Development 13 August 18, 2014 22:26
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51


All times are GMT -4. The time now is 11:25.