CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

gmshToFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 15, 2012, 18:21
Default gmshToFoam
  #1
New Member
 
Matteo
Join Date: Jan 2012
Posts: 7
Rep Power: 5
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

FaceZones:
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/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/gmshToFoam"
#4 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#5
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/gmshToFoam"
Segmentation fault
.
.
.
matteogir is offline   Reply With Quote

Old   July 9, 2012, 05:12
Default
  #2
Senior Member
 
Join Date: Sep 2010
Location: France
Posts: 184
Rep Power: 6
T.D. is on a distinguished road
HI,
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

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
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
gmshToFoam problem. nilashansen Open Source Meshers: Gmsh, Netgen, CGNS, ... 5 December 28, 2009 13:41


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