CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (http://www.cfd-online.com/Forums/ansys-meshing/)
-   -   Gambit Segmentation Fault (http://www.cfd-online.com/Forums/ansys-meshing/67536-gambit-segmentation-fault.html)

bucksfan August 18, 2009 09:24

Gambit Segmentation Fault
 
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::printStack(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::polyMesh::polyMesh(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

-mAx- August 19, 2009 01:12

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

bucksfan August 19, 2009 08:10

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.

-mAx- August 19, 2009 10:36

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)

bucksfan August 19, 2009 11:59

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?

-mAx- August 19, 2009 12:16

I need the tpoly utility from Fluent 64bit (linux version).
Regarding your mesh, it should work.
can you paste the errors from the fluentMeshToFoam.

bucksfan August 19, 2009 12:38

i actually have the fluentMeshToFoam in a different string -

http://www.cfd-online.com/Forums/ope...oam-error.html

-mAx- August 19, 2009 13:15

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


All times are GMT -4. The time now is 05:37.