CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Foam::findEtcFile() : could not find mandatory file 'controlDict' (http://www.cfd-online.com/Forums/openfoam/91591-foam-findetcfile-could-not-find-mandatory-file-controldict.html)

AndersO August 16, 2011 09:04

Foam::findEtcFile() : could not find mandatory file 'controlDict'
 
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.

wyldckat August 16, 2011 10:36

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

Kanarya February 2, 2012 08:14

controlDict Error
 
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

wyldckat February 2, 2012 16:52

Quote:

Originally Posted by Kanarya (Post 342445)
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 :rolleyes:), here is a very nice explanation: http://openfoamwiki.net/index.php/Ho..._Message_Board

Good luck!
Bruno

Kanarya February 3, 2012 05:39

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

wyldckat February 4, 2012 11:16

Hi Recep,

I know how annoying machines and the internet can get :rolleyes:
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


All times are GMT -4. The time now is 23:32.