|
[Sponsors] |
March 15, 2012, 18:21 |
gmshToFoam
|
#1 |
New Member
Matteo
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
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 . . . |
|
July 9, 2012, 06:12 |
|
#2 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 16 |
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 06:43. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] New version of gmshToFoam? | stootoon | OpenFOAM Meshing & Mesh Conversion | 7 | February 14, 2022 10:01 |
[Gmsh] gmshToFoam problem. | nilashansen | OpenFOAM Meshing & Mesh Conversion | 11 | June 5, 2016 11:45 |
[Gmsh] Cell to node connectivity after 'gmshToFoam' | Jibran | OpenFOAM Meshing & Mesh Conversion | 1 | June 8, 2015 10:09 |
[Gmsh] gmshTofoam pbm with cyclicAMI | acahuzac | OpenFOAM Meshing & Mesh Conversion | 2 | October 20, 2014 04:53 |
[Gmsh] gmshToFoam command | mvinassa | OpenFOAM Meshing & Mesh Conversion | 1 | April 25, 2014 08:36 |