|
[Sponsors] |
March 23, 2011, 13:03 |
Paraview - Segmentation fault
|
#1 |
Member
Join Date: Nov 2010
Posts: 41
Rep Power: 15 |
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? |
|
March 23, 2011, 16:41 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
August 22, 2019, 23:09 |
|
#3 |
Senior Member
Brett
Join Date: May 2013
Posts: 212
Rep Power: 14 |
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.] Last edited by wyldckat; August 25, 2019 at 07:55. Reason: see "Moderator note:" |
|
August 23, 2019, 03:13 |
|
#4 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
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 |
|
December 20, 2019, 05:01 |
Segmentation fault when exporting .vtp to .vtk
|
#5 |
Member
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8 |
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? |
|
January 9, 2024, 13:14 |
Same exact error
|
#6 |
New Member
Join Date: Aug 2016
Posts: 14
Rep Power: 10 |
Hi, I have the same error, do you have any solution? thanks
|
|
Tags |
paraview, segmentation fault |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Segmentation fault with paraview 3.10.1 | aot | ParaView | 5 | June 5, 2023 01:32 |
[OpenFOAM] paraview parafoam segmentation fault (core dumped) | RicardoLB | ParaView | 3 | April 28, 2020 20:07 |
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) | dslbkxd | OpenFOAM Installation | 1 | February 3, 2018 00:56 |
[General] Paraview segmentation fault | jrmuller | ParaView | 0 | December 10, 2012 12:02 |
ParaView segmentation fault only for multiphase | gwierink | OpenFOAM | 9 | March 25, 2010 07:23 |