gmshToFoam teminates on Segmentation fault
1 Attachment(s)
I created a .msh file with gmsh 2.4.2 on Ubuntu Linux. Now I want to convert it to OpenFoam201. I copied the mesh to the OpenFoam example folder $FOAM_RUN/tutorials/incompressible/icoFoam/cavity/ . There I executed "gmshToFoam ./Savonius_S2.geo.msh". It terminates on a Segmentation fault (I shortened some long output):
Code:
/*---------------------------------------------------------------------------*\ |
you are not in the right forum >>>> http://www.cfd-online.com/Forums/ope...meshing-other/
With which software did you create your .msh file? |
As stated out in the first post I created the mesh with gmsh 2.4.2.
Perhaps one of the admins could be so kind to move this thread to the correct location? |
Can anybody confirm that the mesh itself and not my installation of OpenFOAM causes the fault?
|
In http://www.cfd-online.com/Forums/ope...ion-error.html a similar problem has been described. It seems as if it could be solved by removing the "gmsh label". Unfortunately I have not idea what this means. Anyone else?
|
1 Attachment(s)
I tried a mesh from an new smaller and simpler geometry (attached to this post). The output of the mesh conversion is now:
Code:
/*---------------------------------------------------------------------------*\ Are the unhandled elements bad? Does the conversion work now because the geometry is smaller or simpler (I used a copy of the incompressible/icofoam/cavity example as starting point)? Which tutorial should I copy to convert the mesh from my initial Post? When I directly launch "icoFoam" after conversion, I get the following error message: Code:
/*---------------------------------------------------------------------------*\ Is there something else I have to do before launching "icoFoam"? Does the cavity tutorial simply not fit to my mesh? |
Do you need any more information to help me? Just ask and I will provide it.
I expect it to be an effort of a few minutes for someone experienced to try my mesh. Finding a solution on my own yet took me weeks and will take me months. Any help is really appreciated. |
Is anybody out there?
|
Greetings XXLRay,
I personally don't have time to test the mesh, but this should be self explanatory in one of your latter posts: Code:
keyword patch0 is undefined in dictionary "/home/.../run/tutorials/incompressible/icoFoam/Cylinder/0/p::boundaryField" I suggest that you review the first tutorial (or even all 3 tutorials) on the User Guide to remember about boundaries and patches: http://www.openfoam.com/docs/user/cavity.php#x5-40002.1 As for «removing the "gmsh label"», the ".gmsh" files can sometimes be in text format, so editing the mesh ".gmsh" file with a text editor might be the way to go! Best regards and good luck! Bruno |
Thanks a lot. I will try that.
|
All times are GMT -4. The time now is 06:07. |