CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Paraview - Segmentation fault

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2011, 13:03
Default Paraview - Segmentation fault
  #1
Member
 
Join Date: Nov 2010
Posts: 41
Rep Power: 11
grjmell is on a distinguished road
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?
grjmell is offline   Reply With Quote

Old   March 23, 2011, 16:41
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   August 22, 2019, 23:09
Default
  #3
Senior Member
 
Brett
Join Date: May 2013
Posts: 169
Rep Power: 9
Bdew8556 is on a distinguished road
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:"
Bdew8556 is offline   Reply With Quote

Old   August 23, 2019, 03:13
Default
  #4
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 140
Rep Power: 4
Carlo_P is on a distinguished road
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
Carlo_P is offline   Reply With Quote

Old   December 20, 2019, 05:01
Default Segmentation fault when exporting .vtp to .vtk
  #5
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 63
Rep Power: 4
Rasmusiwersen is on a distinguished road
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?
Rasmusiwersen is offline   Reply With Quote

Reply

Tags
paraview, segmentation fault

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 20:07
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 00:56
[OpenFOAM] Segmentation fault with paraview 3.10.1 aot ParaView 4 November 13, 2015 06:55
[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


All times are GMT -4. The time now is 18:43.