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

star4ToFoam Segfault on Mac OS X 10.6.5 / OF 1.7.x

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 25, 2010, 09:10
Default star4ToFoam Segfault on Mac OS X 10.6.5 / OF 1.7.x
  #1
Member
 
sushant's Avatar
 
Join Date: Mar 2009
Location: Switzerland
Posts: 40
Rep Power: 17
sushant is on a distinguished road
Hi Foamers,

I have compiled OF 1.7.x on Mac OS X Snow Leopard 10.6.5 thanks to gschaider's patches. I can run all solvers and utilities fine, even in parallel. However I always get a segmentation fault while trying to import a Star-CD (cel/vrt/bnd) mesh, no matter which model I try. All the models I have tested can be imported just fine on any other computer running OF 1.7.x on linux.

I can also import fluent meshes without any issues.

The output of star4ToFoam is:

PHP Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.7.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  1.7.x
Exec   
star4ToFoam /some/model/file/name
Date   
Dec 25 2010
Time   
19:32:45
Host   
MacBook.local
PID    
4278
Case   : /some/case
nProcs 1
SigFpe 
Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
no constant/boundaryRegion information available
Number of points  
234707
Number of fluids  
222075
Number of baffles 
0
Ignored   solids  
0
Ignored   shells  
0
Unused    points  
215108
#0  Foam::backtrace(void**, unsigned int) in "/Users/me/OpenFOAM/OpenFOAM-1.7.x/lib/darwinIntel64DPOpt/libOpenFOAM.dylib"
#1  Foam::error::printStack(Foam::Ostream&) in "/Users/me/OpenFOAM/OpenFOAM-1.7.x/lib/darwinIntel64DPOpt/libOpenFOAM.dylib"
#2  Foam::sigSegv::sigSegvHandler(int) in "/Users/me/OpenFOAM/OpenFOAM-1.7.x/lib/darwinIntel64DPOpt/libOpenFOAM.dylib"
#3  _sigtramp in "/usr/lib/libSystem.B.dylib"
#4  _sigtramp in "/usr/lib/libSystem.B.dylib"
#5  Foam::meshReaders::STARCD::readGeometry(double) in "/Users/me/OpenFOAM/OpenFOAM-1.7.x/lib/darwinIntel64DPOpt/libconversion.dylib"
#6  Foam::meshReader::mesh(Foam::objectRegistry const&) in "/Users/me/OpenFOAM/OpenFOAM-1.7.x/lib/darwinIntel64DPOpt/libconversion.dylib"
#7  main in "/Users/me/OpenFOAM/OpenFOAM-1.7.x/applications/bin/darwinIntel64DPOpt/star4ToFoam"
#8  start in "/Users/me/OpenFOAM/OpenFOAM-1.7.x/applications/bin/darwinIntel64DPOpt/star4ToFoam"
Segmentation fault 
What could be wrong?

Thanks in advance,
Sushant
__________________
If you only have a hammer, you tend to see every problem as a nail.
sushant 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



All times are GMT -4. The time now is 17:33.