|
[Sponsors] |
Foam::findEtcFile() : could not find mandatory file 'controlDict' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 16, 2011, 10:04 |
Foam::findEtcFile() : could not find mandatory file 'controlDict'
|
#1 |
New Member
Anders Olofsson
Join Date: Aug 2011
Posts: 1
Rep Power: 0 |
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. |
|
August 16, 2011, 11:36 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
February 2, 2012, 08:14 |
controlDict Error
|
#3 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
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 |
|
February 2, 2012, 16:52 |
|
#4 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Quote:
Good luck! Bruno
__________________
|
|||
February 3, 2012, 05:39 |
|
#5 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
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 |
|
February 4, 2012, 11:16 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
January 31, 2020, 11:14 |
etc entry?
|
#7 |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Hi Foamers,
I am trying to run my first simulation on a cluster. I am getting this error (while trying to run decomposePar or simpleFoam): Code:
--> FOAM FATAL ERROR : Could not find mandatory etc entry (mode=ugo) 'controlDict' PS: I did some research and it has been mentioned that it might be due to a space in the path. How can I check this on a server? Regards, MJ |
|
May 12, 2021, 09:38 |
|
#8 |
New Member
Alexandre H
Join Date: May 2021
Posts: 1
Rep Power: 0 |
Hello, i am quite new to Openfoam so i try to firt run the tutorial /opt/openfoam8/tutorials/incompressible/icoFoam/cavity/cavity/system$
unfortunately, i have this error when trying to run blockMesh : " alexandre@alexandre-VirtualBox:/opt/openfoam8/tutorials/incompressible/icoFoam/cavity/cavity/system$ blockMesh --> FOAM FATAL ERROR : Could not find mandatory etc entry (mode=ugo) 'controlDict' " i don't have any space in the directory path. I am using Openfoam on a virtual machine (ubuntu) installed on windows using "virtualbox" Thank you for your help. Alexandre |
|
May 12, 2021, 10:25 |
|
#9 | |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Quote:
You need to go back one directory and run it from the cavity folder. I mean go to: Code:
/opt/openfoam8/tutorials/incompressible/icoFoam/cavity/cavity/ Regards, MJ |
||
July 27, 2022, 19:44 |
|
#10 | |
Member
Michael Jensen
Join Date: May 2022
Posts: 36
Rep Power: 4 |
Quote:
This is really wierd.. I could run cases before.. so it isn't a problem with my directory path. I've also tried running it from cavity, cavity/cavity, and cavity/cavity/system, always the same result. ..could it be confused by my having .com and .org versions of openfoam on my system? ... ..not sure if I should start a new thread.. |
||
October 18, 2022, 13:17 |
|
#11 |
New Member
Join Date: Oct 2022
Posts: 11
Rep Power: 4 |
After installing openfoam via
sudo apt-get install openfoam I followed the user guide and copied the cavity case to a new user directory. Then I ran blockMesh and got the same error message previous posters saw. --> FOAM FATAL ERROR : Could not find mandatory etc entry (mode=ugo) 'controlDict' this is openfoam10, in 2022 and this problem keeps cropping up. but I haven't found a clear, deterministic answer in any of the forums I've reviewed. Any help is appreciated. Thanks, ============================= (base) ie@ie-OptiPlex-9020:/opt/openfoam10/tutorials/incompressible/icoFoam$ pwd /opt/openfoam10/tutorials/incompressible/icoFoam (base) ie@ie-OptiPlex-9020:/opt/openfoam10/tutorials/incompressible/icoFoam$ cp -R cavity/cavity ~/ (base) ie@ie-OptiPlex-9020:/opt/openfoam10/tutorials/incompressible/icoFoam$ pushd ~/cavity ~/cavity /opt/openfoam10/tutorials/incompressible/icoFoam ~/CODE/cavity (base) ie@ie-OptiPlex-9020:~/cavity$ pwd /home/ie/cavity (base) ie@ie-OptiPlex-9020:~/cavity$ ls 0 constant system (base) ie@ie-OptiPlex-9020:~/cavity$ blockMesh --> FOAM FATAL ERROR : Could not find mandatory etc entry (mode=ugo) 'controlDict' (base) ie@ie-OptiPlex-9020:~/cavity$ |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wmake compiling new solver | mksca | OpenFOAM Programming & Development | 14 | June 22, 2018 07:29 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise | mbeaudoin | OpenFOAM Installation | 20 | June 17, 2008 07:43 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |