sushant |
December 25, 2010 09:10 |
star4ToFoam Segfault on Mac OS X 10.6.5 / OF 1.7.x
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
|