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

gmshToFoam teminates on Segmentation fault

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 29, 2011, 08:33
Default gmshToFoam teminates on Segmentation fault
  #1
New Member
 
Join Date: Nov 2011
Posts: 14
Rep Power: 14
XXLRay is on a distinguished road
I created a .msh file with gmsh 2.4.2 on Ubuntu Linux. Now I want to convert it to OpenFoam201. I copied the mesh to the OpenFoam example folder $FOAM_RUN/tutorials/incompressible/icoFoam/cavity/ . There I executed "gmshToFoam ./Savonius_S2.geo.msh". It terminates on a Segmentation fault (I shortened some long output):
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.0.1-51f1de99a4bc
Exec   : gmshToFoam ./Savonius_S2.geo.msh
Date   : Nov 29 2011
Host   : ubuntu
PID    : 8927
Case   : /home/hanke/OpenFOAM/hanke-2.0.1/run/tutorials/incompressible/icoFoam/Savonius
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Starting to read mesh format at line 2
Read format version 2.1  ascii 0

Starting to read points at line 5
Vertices to be read:175
Vertices read:175

Starting to read cells at line 183
Cells to be read:1333

Unhandled element 15 at line 185
...
Unhandled element 15 at line 209
Unhandled element 1 at line 210
...
Unhandled element 1 at line 305
Mapping region 0 to Foam patch 0
Mapping region 0 to Foam cellZone 0
Cells:
    total:876
    hex  :0
    prism:0
    pyr  :0
    tet  :876

CellZones:
Zone    Size
    0    876

Skipping tag  at line 1519
Patch 0 gets name patch0

Finding faces of patch 0
--> FOAM Warning : Not using gmsh face 3(27 25 7) since zero vertex is not on boundary of polyMesh
...
--> FOAM Warning : Not using gmsh face 3(22 35 38) since zero vertex is not on boundary of polyMesh

FaceZones:
Zone    Size
    0    336

Writing zone 0 to cellZone cellZone_0 and cellSet
Writing zone 0 to faceZone faceZone_0 and faceSet
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2  Uninterpreted: 
#3  
 in "/opt/openfoam201/platforms/linuxGccDPOpt/bin/gmshToFoam"
#4  __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#5  
 in "/opt/openfoam201/platforms/linuxGccDPOpt/bin/gmshToFoam"
Segmentation fault
I guess that something is wrong with my mesh. I attached the file and would be glad if you could have a look at it.
Attached Files
File Type: zip Savonius_S2.geo.msh.zip (11.8 KB, 6 views)
XXLRay is offline   Reply With Quote

 


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
[OpenFOAM] Paraview - Segmentation fault grjmell ParaView 5 January 9, 2024 13:14
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel francesco OpenFOAM Bugs 4 May 2, 2017 21:59
Segmentation Fault Shawn_A OpenFOAM Running, Solving & CFD 6 October 31, 2011 14:38
ParaView segmentation fault only for multiphase gwierink OpenFOAM 9 March 25, 2010 07:23


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