CFD Online Logo CFD Online URL
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...


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

LinkBack Thread Tools Display Modes
Old   March 15, 2012, 18:21
Default gmshToFoam
New Member
Join Date: Jan 2012
Posts: 7
Rep Power: 7
matteogir is on a distinguished road
Ho everybody!
I am a complete newby in the world of CFD and OpenFoam + gmsh in particular.
For this reason i am trying with tutorial files. First i try to solve a demo file of openfoam and all is working fine; then i 've tried with a demo file taken from gmsh with extension .geo ; i have created in a total automatic way the mesh file with extension msh; now i would like to convert it, but i don't know how to do and all my trials have gone bad.
I have created the folders as requested, in particular "constant" and "system". Inside "constant" i have created "polyMesh" and inside system i have put the files controlDict fvschemes and fvSolutions. Now i don't know exactly where i have to put my msh file, but i have tried in almost all the locations. When I call the funciton gmshToFoam i get this kind of error. May anyone help me? Thank you very much for your help.
--> FOAM Warning : Not using gmsh face 3(5937 6138 6114) since zero vertex is not on boundary of polyMesh

Zone Size
0 12310

Writing zone 0 to cellZone cellZone_0 and cellSet
Writing zone 0 to faceZone faceZone_0 and faceSet
#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/"
#1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/"
#2 in "/lib/x86_64-linux-gnu/"
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/gmshToFoam"
#4 __libc_start_main in "/lib/x86_64-linux-gnu/"
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/gmshToFoam"
Segmentation fault
matteogir is offline   Reply With Quote

Old   July 9, 2012, 05:12
Senior Member
Join Date: Sep 2010
Location: France
Posts: 225
Rep Power: 10
T.D. is on a distinguished road
what you can do, is simply take an original case Folder example, lets say the "cavity" test case from icoFoam tutorials or any other one.
Then you just place your .msh file directly inside the "cavity" Folder, then you do "gmshToFoam". It should be OK (don't forget to include for physical surfaces and volume in your mesh inside gmsh). Good Luck

Last edited by T.D.; July 9, 2012 at 05:43.
T.D. 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
gmshToFoam problem. nilashansen Open Source Meshers: Gmsh, Netgen, CGNS, ... 11 June 5, 2016 10:45
GmshToFoam FOAM FATAL ERROR faces deallocated Tobias Prousa (Prousa) Open Source Meshers: Gmsh, Netgen, CGNS, ... 14 January 31, 2012 11:45
Problem gmshToFoam lucy OpenFOAM Bugs 1 November 1, 2011 09:52
gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi Open Source Meshers: Gmsh, Netgen, CGNS, ... 8 July 7, 2011 02:28
Help needed with gmshToFoam TomStarke OpenFOAM 1 August 12, 2010 19:12

All times are GMT -4. The time now is 02:40.