CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Mesh Utilities

gmshToFoam: missing controlDict file?

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

LinkBack Thread Tools Display Modes
Old   August 25, 2016, 16:44
Default gmshToFoam: missing controlDict file?
New Member
Germán Salazar
Join Date: Apr 2015
Posts: 11
Rep Power: 4
gsal is on a distinguished road
First of all, excuse my ignorance...I do not use OpenFOAM, but an online search revealed mapFields...which may be of interest and my next step.

I have a colleague that would like to map some fields from one mesh to another, both representing the same geometry.

The first thing I tried to do was get a simple gmsh and tried to convert it using gmshToFoam; here is the command and the error message:

$ gmshToFoam m1.msh
--> FOAM FATAL ERROR in Foam::findEtcFile() : could not find mandatory file

What's a "controlDict" file? and what should the contents of it be?

Thanks in advance for any hints or full sample controlDict file ;-)

gsal is offline   Reply With Quote

Old   August 26, 2016, 10:07
Senior Member
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,761
Rep Power: 29
alexeym will become famous soon enoughalexeym will become famous soon enough
Send a message via Skype™ to alexeym

controlDict is one of the dictionaries defining case. You can find examples in tutorials. Here is random one:
alexeym 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
Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 4 August 14, 2014 06:42
Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit OpenFOAM Paraview & paraFoam 60 September 18, 2013 03:23
Error bulding swak4Foam sfigato OpenFOAM Installation 18 August 22, 2013 12:41
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51

All times are GMT -4. The time now is 21:43.