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

Gmsh2ToFoam bsegmentation faultb error in OF13 Release

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 8, 2007, 15:19
Default Hi Foamers, I wish to repo
  #1
New Member
 
Rui Alexandre Trigo Ribeiro Pereira
Join Date: Mar 2009
Location: Coimbra, Coimbra, Portugal
Posts: 23
Rep Power: 8
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: 11
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: 11
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: 8
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

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
GmshToFoam or gmsh2ToFoam amp gmsh sudden disappear zhoubinwx Open Source Meshers: Gmsh, Netgen, CGNS, ... 20 August 7, 2009 18:07
Gmsh2toFoam sega Open Source Meshers: Gmsh, Netgen, CGNS, ... 16 April 27, 2009 08:23
BlockMesh versus gmsh2ToFoam bretttully OpenFOAM Running, Solving & CFD 1 March 6, 2008 10:36
How to deal with bSegmentation faultb xiuying OpenFOAM Installation 0 September 25, 2007 16:53
heat release error caty CFX 0 February 21, 2005 07:45


All times are GMT -4. The time now is 04:51.