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

Error trying export gmsh's mesh

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

Like Tree1Likes
  • 1 Post By cutter

Reply
 
LinkBack Thread Tools Display Modes
Old   September 4, 2012, 06:02
Default Error trying export gmsh's mesh
  #1
New Member
 
Darío López
Join Date: Oct 2011
Location: Vigo, Spain
Posts: 10
Rep Power: 5
darlopez is on a distinguished road
Hi everybody!

I tried to export my mesh from Gmsh to OpenFoam with gmshToFoam but an error appeared. In order to learn about Gmsh I built a very simple geometry to try one more time. The error persist.
It is this:

Create time

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-1.6/lib /linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/opt/OpenFOAM/OpenFOAM-1.6/lib /linux64GccDPOpt/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3
in "/opt/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/gmshToFoam"
#4 __libc_start_main in "/lib/libc.so.6"
#5
at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116
Segmentation fault


I created the 0, constant and system folders with their corresponding files.

This is my .geo file

Point(1) = {0, 0, 0};
Point(2) = {0, 1, 0};
Point(3) = {1, 1, 0};
Point(4) = {1, 0, 0};
Line(1) = {2, 3};
Line(2) = {3, 4};
Line(3) = {4, 1};
Line(4) = {1, 2};
Line Loop(5) = {2, 3, 4, 1};
Plane Surface(6) = {5};
Extrude {0, 0, 1} {
Surface{6};
}
Physical Surface("entrada") = {28};
Physical Surface("salida") = {6};
Physical Surface("paredes") = {23, 19, 15, 27};
Physical Volume("internalField") = {1};


I did my .msh file using the tool "3D" in the menu "mesh" in Gmsh.

Any solutions?

Thanks a lot!

Dario.
darlopez is offline   Reply With Quote

Old   October 24, 2012, 16:58
Default
  #2
Member
 
Join Date: Mar 2010
Posts: 88
Rep Power: 6
cutter is on a distinguished road
Hi,

today I've been working on exactly the same thing. I therefore checked your geometry in my test project and it seems to work just fine. I'm using OF 2.1.x (git release) though, so maybe a simple upgrade to a newer OF version will do the trick.

Cutter
darlopez likes this.
cutter 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Export 2D mesh from ICEM to Fluent BuilttoSpill ANSYS Meshing & Geometry 4 August 28, 2010 09:16
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
2D mesh export of an original 3D model Yogendra Shastri Main CFD Forum 0 February 22, 2008 14:14
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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