CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

GambitToFoam segmentation fault

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 18, 2006, 04:22
Default hi some problems with gambi
  #1
New Member
 
Matthias Hoerl
Join Date: Mar 2009
Posts: 8
Rep Power: 8
hoerl is on a distinguished road
hi

some problems with gambitToFoam here. i created a very simple 2D net in gambit and exported it to mesh01.neu. when i want to convert it there is a SegV which shows like this

hoerl@ubuntu:~/OpenFOAM/hoerl-1.3/run$ gambitToFoam facingstep facing01 facingstep/facing01/constant/polyMesh/mesh1.neu
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : gambitToFoam facingstep facing01 facingstep/facing01/constant/polyMesh/mesh1.neu
Date : Nov 18 2006
Time : 10:17:06
Host : ubuntu
PID : 10337
Root : facingstep
Case : facing01
Nprocs : 1
Create time


Title: mesh1
Written by Gambit version 2.2.30

File written on 18 Nov 2006 09:36:30
number of points: 12721
number of cells: 12000
number of patches: 2
Reading nodal coordinates
Reading cells

Reading cell streams
Reading cell stream labels
Finished reading cell stream labels
Reading patches
patch 0: name: inlet
Reading patches
patch 1: name: outlet
Finished lexing
Foam::error::printStack(Foam:stream&)
Foam::sigSegv::sigSegvHandler(int)
[0xffffe420]
gambitToFoam [0x80514d5]
__libc_start_main
__gxx_personality_v0
Segmentation fault (core dumped)
hoerl@ubuntu:~/OpenFOAM/hoerl-1.3/run$




i also did an strace from gambitToFoam and there it shows me a lot of ENOENT errors like:

access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/home/hoerl/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/lam-7.1.1/tls/i686/ss e2/cmov/libOpenFOAM.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/hoerl/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/lam-7.1.1/tls/i686/ss e2/libOpenFOAM.so", O_RDONLY) = -1 ENOENT (No such file or directory)
...
stat64("/home/hoerl/OpenFOAM/hoerl-1.3/run/facingstep/facing01/0/time", 0xbfcc0500) = -1 ENOENT (No such file or directory)



the installation i have is an ubuntu 6.10 in a vmware machine - i did the install the way which is shown here: https://help.ubuntu.com/community/OpenFOAM

is there anything i should have added and is not in this tut!?

kind regards matthias
hoerl is offline   Reply With Quote

Old   November 18, 2006, 08:58
Default I've never seen a failure like
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
I've never seen a failure like this: it did the lex all right and then failed in putting the mesh together. As the mesh has points, faces and cells, nothing really comes to mind. Can you show me this mesh? Alternatively, you could compile and run the debug version and post the full trace-back.

BTW, are other applications running OK?

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   November 19, 2006, 09:20
Default fluentMeshToFoam - means expor
  #3
New Member
 
Matthias Hoerl
Join Date: Mar 2009
Posts: 8
Rep Power: 8
hoerl is on a distinguished road
fluentMeshToFoam - means exporting fluent5/6 from gambit and convert it with fluentMeshToFoam - works fine

also working with blockMesh i wanna test

mfg matthias

PS: is there an ability to append files to the messageboard ?!
hoerl is offline   Reply With Quote

Old   November 20, 2006, 06:47
Default For the record: this was a 2-D
  #4
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
For the record: this was a 2-D Gambit mesh and cannot be converted: please make it 3-D in Gambit before exporting.

I've fixed some bugs and made a nicer error message instead of segmentation fault.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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
Segmentation fault billy OpenFOAM Installation 20 April 23, 2007 22:57
segmentation fault Sheila CD-adapco 8 October 9, 2005 05:40
segmentation fault natesan CD-adapco 4 January 12, 2004 09:51
Segmentation fault Veebs CD-adapco 3 June 4, 2002 22:17
Segmentation fault Jose Sanchez CD-adapco 1 December 16, 2001 09:13


All times are GMT -4. The time now is 15:34.