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

[Other] fe40 surfaceConvert Segmentation Fault (core dumped)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By bhakar.raju98

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2017, 07:59
Default fe40 surfaceConvert Segmentation Fault (core dumped)
  #1
New Member
 
raju ram bhakar
Join Date: May 2017
Posts: 11
Rep Power: 9
bhakar.raju98 is on a distinguished road
Hello,

I'm facing problem in converting .stl file to .ftr format using surfaceConvert 2.stl 2.ftr
Reason for conversion : refineImmersedBoundaryMesh need .ftr file to refine the mesh.(If you can tell me a way where I don't need the ftr file that will also do)

Error :
Segmentation fault (core dumped)

At the time of compiling the fe40 for every other utility the results were shown as name_of_the_library is up to date
but for only surfaceConvert I got this message


Quote:
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/environ/foam/foam-extend-4.0/src/meshTools/lnInclude -IlnInclude -I. -I/home/environ/foam/foam-extend-4.0/src/foam/lnInclude -I/home/environ/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/surfaceConvert.o -L/home/environ/foam/foam-extend-4.0/lib/linux64GccDPOpt \
-lmeshTools -lfoam -ldl -lrt -lm -o /home/environ/foam/foam-extend-4.0/applications/bin/linux64GccDPOpt/surfaceConvert
Please try to reply asap as this is important for my project.
ordinary likes this.
bhakar.raju98 is offline   Reply With Quote

Old   August 31, 2018, 12:05
Default
  #2
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11
ordinary is on a distinguished road
Hello,

foam-extend 3.2 gives me same issue on Ubuntu 16.04 LTS. I succeeded 1 year ago on a different machine/OS with same configuration today. It is too weird.
Quote:
emre@acer:~/FOAM_RUN/2cylinders/constant/triSurface$ surfaceConvert ibCylinder2.stl ibCylinder2.ftr
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.2 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | For copyright notice see file Copyright |
\*---------------------------------------------------------------------------*/
Build : 3.2-0b2838935026
Exec : surfaceConvert ibCylinder2.stl ibCylinder2.ftr
Date : Aug 31 2018
Time : 17:50:26
Host : acer
PID : 4603
CtrlDict : "/home/emre/FOAM_RUN/2cylinders/constant/triSurface/system/controlDict"
Case : /home/emre/FOAM_RUN/2cylinders/constant/triSurface
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Segmentation fault (core dumped)
This is frustrating. I also tried this issue in foam-extend 4.0 on Ubuntu 18.04. I encounter same problem:
Quote:
Build : 4.0-efcc2b1b7df8
Exec : surfaceConvert ibPlate_0.5.stl plate.ftr
Date : Sep 01 2018
Time : 00:43:05
Host : toshiba
PID : 18327
CtrlDict : "/home/emre/foam/foam-extend-4.0/tutorials/immersedBoundary/pitchingPlate/constant/triSurface/system/controlDict"
Case : /home/emre/foam/foam-extend-4.0/tutorials/immersedBoundary/pitchingPlate/constant/triSurface
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Segmentation fault (core dumped)

Last edited by ordinary; August 31, 2018 at 19:27. Reason: I also tried this issue on foam-extend 4.0
ordinary is offline   Reply With Quote

Old   June 16, 2019, 12:04
Default
  #3
New Member
 
Sujay
Join Date: Oct 2018
Posts: 12
Rep Power: 8
sujay3101 is on a distinguished road
I'm facing the same issue with fe40. Anyone found the solution to this?
I'm trying to follow an immersed boundary tutorial, so not really sure of how this ftr file is utilised. Is there any way to overcome this or just use stl instead?
sujay3101 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
[OpenFOAM] paraview parafoam segmentation fault (core dumped) RicardoLB ParaView 3 April 28, 2020 21:07
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 01:56
Segmentation fault (core dumped) Sugajen OpenFOAM Running, Solving & CFD 1 August 2, 2017 13:06
Segmentation fault (core dumped) zhoubiao1088 OpenFOAM Running, Solving & CFD 4 March 13, 2017 21:06
Segmentation fault (core dumped) when changing pressure BC jptorol OpenFOAM Running, Solving & CFD 0 September 25, 2013 19:05


All times are GMT -4. The time now is 20:09.