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

Gambit Segmentation Fault

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2009, 09:24
Default Gambit Segmentation Fault
  #1
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
I built a simple mesh in gambit that I need in openFOAM, however, everytime i try to convert i always get this:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : gambitToFoam mesh.neu
Date : Aug 18 2009
Time : 09:24:36
Host : bale-login
PID : 21117
Case : /nfs/06/astalnak/OpenFOAM/OpenFOAM-1.5.x/tutorials/interFoam/fillWaterNewMesh2
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time


Title: mesh
Written by Gambit version 2.3.16

File written on 18 Aug 2009 09:12:28
number of points: 21869
number of cells: 21350
number of patches: 0
Reading nodal coordinates
Reading cells

Reading cell streams
Reading cell stream labels
Finished reading cell stream labels
Reading cell streams
Reading cell stream labels
Finished reading cell stream labels
Finished lexing
gambitToFoam:
Gambit file format does not provide information about the type of the patch (eg. wall, symmetry plane, cyclic etc).
All the patches have been created as type patch. Please reset after mesh conversion as necessary.

Default patch type set to empty
#0 Foam::error:rintStack(Foam::Ostream&) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64IccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64IccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib64/libpthread.so.0"
#3 Foam::cellShape::faces() const in "/usr/local/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64IccDPOpt/gambitToFoam"
#4 _ZN4Foam8polyMeshC9ERKNS_8IOobjectERKNS_5FieldINS_ 6VectorIdEEEERKNS_4ListINS_9cellShapeEEERKNSA_INSA _INS_4faceEEEEERKNSA_INS_4wordEEESN_RKSK_SP_SN_b in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64IccDPOpt/libOpenFOAM.so"
#5 Foam:olyMesh:olyMesh(Foam::IOobject const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<Foam::cellShape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::List<Foam::word> const&, Foam::word const&, Foam::word const&, Foam::List<Foam::word> const&, bool) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64IccDPOpt/libOpenFOAM.so"
#6 main in "/usr/local/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64IccDPOpt/gambitToFoam"
#7 __libc_start_main in "/lib64/libc.so.6"
#8 _start in "/usr/local/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64IccDPOpt/gambitToFoam"
Segmentation fault
bucksfan is offline   Reply With Quote

Old   August 19, 2009, 01:12
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
In Gambit, select Fluent Solver.
Export your *.msh mesh-file.
Then in OpenFOAM, > fluentMeshToFoam your_file.msh
...
If you used Hexcore with hanging nodes, then you need to convert your mesh file with tpoly utility from Fluent.
Then in OpenFOAM, > fluent3DMeshToFoam your_file.msh
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   August 19, 2009, 08:10
Default
  #3
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
fluentMeshToFoam is giving me the error -

Problem : cannot find a single face in the mesh which uses vertices 4(61206 61208 61316 61315)

From function findFace(const primitiveMesh&, const face&)
in file fluentMeshToFoam.L at line 858.

So that isn't working either, and the mesh is just a simple cube as well.
bucksfan is offline   Reply With Quote

Old   August 19, 2009, 10:36
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
have you boult a 2d, or 3d mesh?
what kind of cells? (hexa, tetra, prism)?
have you set the BC?

By the way, I see you have linux 64bit: do you have also fluent for linux 64bit?
I need the installation file (for using the tpoly utility)
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   August 19, 2009, 11:59
Default
  #5
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
I actually have linux 64 bit on at a different location I'm running 32 bit on both on this location. And its a 3d mesh with hex cells, what file did you say you needed?
bucksfan is offline   Reply With Quote

Old   August 19, 2009, 12:16
Default
  #6
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
I need the tpoly utility from Fluent 64bit (linux version).
Regarding your mesh, it should work.
can you paste the errors from the fluentMeshToFoam.
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   August 19, 2009, 12:38
Default
  #7
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
i actually have the fluentMeshToFoam in a different string -

http://www.cfd-online.com/Forums/ope...oam-error.html
bucksfan is offline   Reply With Quote

Old   August 19, 2009, 13:15
Default
  #8
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Ok I checked the thread.
Can you provide your mesh file? or the dbs file
I never had any problem from gambit (windows) into OpenFOAM
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- 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
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel francesco OpenFOAM Bugs 4 May 2, 2017 21:59
Debugging a segmentation fault? hansel OpenFOAM Bugs 3 July 31, 2010 13:13
segmentation fault usker Siemens 5 March 5, 2007 23:14
KIVA and Segmentation Fault Felix Main CFD Forum 2 January 18, 2006 01:24
Illegal segmentation error in gambit Rob FLUENT 1 February 21, 2005 07:31


All times are GMT -4. The time now is 02:57.