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

[Gmsh] Gmsh2ToFoam bsegmentation faultb error in OF13 Release

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2007, 15:19
Default Gmsh2ToFoam bsegmentation faultb error in OF13 Release
  #1
New Member
 
Rui Alexandre Trigo Ribeiro Pereira
Join Date: Mar 2009
Location: Coimbra, Coimbra, Portugal
Posts: 23
Rep Power: 17
ed_teller is on a distinguished road
Hi Foamers,

I wish to report a bug in gmsh2ToFoam that happened to stop prematurely the mesh conversion from esempio5.geo (.msh) created in gmsh 2.0.8

from Mavimo webpage

http://mavimo.netsons.org/seconda_simulazione_openfoam

As I was saying, i increased the mesh refinement in .geo file, batch converted it to .msh file ( approx. 6.0 Meg size ), and finally executed gmsh2ToFoam /../../icoFoam /../../exe2 **.msh ;

The conversion starts, and it progresses as shown in the shell, but it stops with a rather cryptic ( the file size is small ) segmentation fault error.

Can someone please help me on this...?

Best regards,

Alex

My system is a Novell Suse 10.1, 512 Megs, Pentium 4 2.66 GHz, with OpenFOAM 1.3 release.
ed_teller is offline   Reply With Quote

Old   September 9, 2007, 06:32
Default Hi Alex, The command line "gm
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Alex,
The command line "gmsh2ToFoam /../../icoFoam /../../exe2 **.msh" seems a bit strange since it should set exe2 directly under the root directory as the case-path.

Apart from that, the site seems to be down so I can't test by myself as of now... Meanwhile could you be a bit more specific as to espceially the version you are using, the message you got, etc? For clarification the latest one is version 20070905 (05, Sep. '07) that comes with gmshFoam package. I wish you test it first if you are not using the version. To install it in a simplest way download the package into $WM_PROJECT_USER_DIR/applications/utilities and run the followings:

$ cd $WM_PROJECT_USER_DIR/applications/utilities
$ tar -zxf gmshFoam-20070905.tar.gz
$ cd gmshFoam-20070905
$ ./Allwmake

Takuya
7islands is offline   Reply With Quote

Old   September 9, 2007, 23:12
Default Hi, OK the site recovered so
  #3
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi,
OK the site recovered so I tried esempio5.geo refined to characteristic length 0.02 (actually modello.geo on the site, resulting .msh file size 6 MBytes) with Gmsh 2.0.8 and the latest gmsh2ToFoam on OF 1.3.

The mesh was converted just fine and passed checkMesh (with some highly non-orthogonal faces). The back-imported polyMesh by gmshFoam (not the as-generated original .msh) looks like
.

So, my suggestion is to use the latest gmsh2ToFoam.

Takuya
7islands is offline   Reply With Quote

Old   September 10, 2007, 16:53
Default Ok, I will give it a new try.
  #4
New Member
 
Rui Alexandre Trigo Ribeiro Pereira
Join Date: Mar 2009
Location: Coimbra, Coimbra, Portugal
Posts: 23
Rep Power: 17
ed_teller is on a distinguished road
Ok, I will give it a new try.

Btw, is there any alternative way to impose boundary conditions on computational domains besides patchTool ? Do Gambit mesh exports preserve the boundary assignments to OpenFOAM under gambitToFoam (think its the name...) conversion...?

Thanks

Alexandre
ed_teller 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
Heat Release vs. Apparent Heat Release // Comparison with GT Power MFGT CONVERGE 10 August 17, 2016 02:38
Openfoam Ubuntu 12.04 Unmet dependencies slls33 OpenFOAM Installation 10 April 9, 2013 04:16
How to deal with bSegmentation faultb xiuying OpenFOAM Installation 0 September 25, 2007 16:53


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