CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Error trying export gmsh's mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By cutter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2012, 05: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: 14
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, 15:58
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[foam-extend.org] foam-extend-4.0 gcc errors & maybe paraFoam powerline332 OpenFOAM Installation 3 May 24, 2018 21:16
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Export 2D mesh from ICEM to Fluent BuilttoSpill ANSYS Meshing & Geometry 4 August 28, 2010 08:16
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 12:16.