Paraview - Segmentation fault
I know this error has been discussed in places previously, but nowhere did i find the solution. First I installed paraviewopenfoam381 on my ubuntu laptop. When i try to run it, I get a message in the terminal "Segmentation fault". I can't even open it. after searching on google, it seemed that compiling from source would help. So i rebuilt paraview (and enabled python while at it) following this:
http://www.paraview.org/Wiki/ParaView:Build_And_Install The build is successful, but i get exactly the same segmentation fault. I have installed and built paraview previously on a ubuntu desktop with no problems... anyone have any ideas? |
Greetings grjmell,
Might I suggest that you skim through my list of topics about problems with ParaView: Related issues to ParaView with OpenFOAM - Fixes and solutions The most relevant thread might be this one: Segmentation fault when visualizing in ParaView Best regards and good luck! Bruno |
This issue is still happening with version 18.10. We're running it on windows.
Tyring to view a VTK file of some bad mesh. I made the file via foamToVTK -cellSet skewCells Any ideas?? [Moderator note: 18.10 refers to a version provided by CFD-Support.] |
Hey Brett,
this problem appears with all the simulations or only with one specific case? A simple solution can be to run "paraFoam" that is installed with OpenFoam |
Segmentation fault when exporting .vtp to .vtk
Hi,
I am experiencing sort of the same problems, when exporting a .vtp file to .vtk. Following is my python script: import os,sys import numpy as np from decimal import Decimal from paraview.simple import * path = './postProcessing/freeSurface' files = os.listdir(path) val=np.empty(0) for name in files: ff=Decimal(name) val = np.append(val, ff) val = np.sort(val) for name in val: name = np.str(name) print(name) freeSurfacevtp = XMLPolyDataReader(FileName=[path + '/' + name + '/freeSurface.vtp']) freeSurfacevtp.CellArrayStatus = ['alpha.water'] SaveData(path + '/' + name + '/freeSurface.vtk', proxy=freeSurfacevtp, FileType='Ascii') I have a directory comprised by folders ranging from 0.02 to 96 for every 0.01. Each folder contains a .vtp file. The above script is run over all folders to convert the .vtp file to .vtk. At folder ~46, i get the error: Segmentation fault (core dumped) Note the python script is executed through ubuntu. I haven't had luck with any debugging yet. Do either of you guys know what might be happening? |
Same exact error
Hi, I have the same error, do you have any solution? thanks
|
All times are GMT -4. The time now is 08:43. |