# Crash when trying to volume render or clip unstructured grid data

**URL:** https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797
**Category:** ParaView Support
**Created:** [November 13, 2020, 8:56pm UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797 "2020-11-13T20:56:27Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![robertwi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/8797f3/32.png) [@robertwi](https://discourse.paraview.org/u/robertwi)
#### Post date: [November 13, 2020, 8:56pm UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/1 "2020-11-13T20:56:27Z")

</div>

Hi,

I’m trying to visualize a cloud collapse using Paraview, the original data is generated by an SPH program and the output is transformed into a vtk unstructured grid format. This has worked well for previous simulation work (with higher resolution), however compared to the cloud collapse my previous work have not exhibited a large range of densities and thereby not a large range of different cell sizes. The cloud collapse simulation involves densities that range over several orders of magnitude.

Surface, wireframe, and point rendering works, however, trying to apply any clipping or changing to volume rendering for this simulation crashes Paraview. I have also tried to resample it to image file(within Paraview) but this also crashes Paraview. I can get it to work if I limit the box and remove the very high and low density regions. My knowledge about visualization techniques is quite limited, but I’m guessing that there might be some issue with using a large range of different cell sizes for the volume rendering? Is this just a memory issue? And if so, why can’t I clip or resample the data to an image file? The data files are not very large (around 200mb).

Delaunoy triangulation generated by qhull first from SPH point data and then turned into vtk format with the attached file [delaunayVTK.cpp](https://discourse.paraview.org/uploads/short-url/ruLL9P2q5V5xwiXyAsPZIy77S6z.cpp) (3.9 KB) . I have also attached the crash log from my Mac [crash.log](https://discourse.paraview.org/uploads/short-url/kKVhAPUuP1dVuiAb7nxiSIfXGgY.log) (123.3 KB) . The same crashes occurs on my Windows machine aswell (i9 9900k, 16gb ram, Nvidia RTX 2090).

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 16, 2020, 11:05am UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/2 "2020-11-16T11:05:21Z")

</div>

Please share your data so we can test with it.

---

<div class="post-metadata">

### Author: ![robertwi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/8797f3/32.png) [@robertwi](https://discourse.paraview.org/u/robertwi)
#### Post date: [November 16, 2020, 4:13pm UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/3 "2020-11-16T16:13:43Z")

</div>

Here is the full vtk datafile:

> **[a1.vtu](https://www.dropbox.com/s/5if2h2mxo2nuubs/a1.vtu?dl=0)**
>
> Shared with Dropbox

And a reduced version:

> **[a1reduced.vtu](https://www.dropbox.com/s/6avfrev22g04cx3/a1reduced.vtu?dl=0)**
>
> Shared with Dropbox

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 16, 2020, 7:13pm UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/4 "2020-11-16T19:13:57Z")

</div>

This site require signin. Please share using another service.

---

<div class="post-metadata">

### Author: ![robertwi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/8797f3/32.png) [@robertwi](https://discourse.paraview.org/u/robertwi)
#### Post date: [November 16, 2020, 7:54pm UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/5 "2020-11-16T19:54:22Z")

</div>

Sorry, I have updated the links above.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [April 2, 2021, 2:22pm UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/6 "2021-04-02T14:22:11Z")

</div>

I reproduce but there is probably issues in your files.

How did you produce these files ?

---

<div class="post-metadata">

### Author: ![robertwi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/8797f3/32.png) [@robertwi](https://discourse.paraview.org/u/robertwi)
#### Post date: [April 6, 2021, 4:01am UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/7 "2021-04-06T04:01:43Z")

</div>

Delaunoy triangulation generated by qhull first from SPH point data and then turned into vtk format with the attached file [delaunayVTK.cpp](https://discourse.paraview.org/uploads/short-url/ruLL9P2q5V5xwiXyAsPZIy77S6z.cpp) (3.9 KB) .

SPH point data qhullParticles.txt with following format:  
3  
7723247  
-0.000178 -0.000099 -0.007983  
-0.000177 0.000095 -0.007965  
-0.000046 -0.000793 -0.007945  
…

SPH scalar field data qhullFields.txt with following format:  
3  
7723247  
16.989479 16.989479  
17.084078 17.084078  
17.499884 17.499884  
…

qhull tetrahedron data qhullTetrahedra.txt containing face data with following format:

50346662  
3104067 2924391 3103884 3019059  
2924391 2856654 3104067 2642829  
250060 305059 232444 286378  
7721163 7717105 7721218 7719503  
…

---

<div class="post-metadata">

### Author: ![adamgranthendry](https://discourse.paraview.org/user_avatar/discourse.paraview.org/adamgranthendry/32/7472_2.png) [@adamgranthendry](https://discourse.paraview.org/u/adamgranthendry)
#### Post date: [September 4, 2021, 9:36pm UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/8 "2021-09-04T21:36:57Z")

</div>

I am having the same problem. I cannot share my data as it is confidential, but it is a micro-CT DICOM stack. I am on Windows and using clip box with volume data causes ParaView to crash and shutdown.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 6, 2021, 6:29am UTC](https://discourse.paraview.org/t/crash-when-trying-to-volume-render-or-clip-unstructured-grid-data/5797/9 "2021-09-06T06:29:12Z")

</div>

Confidential data can be shared through a NDA:  
[https://www.kitware.com/what-we-offer/#support](https://www.kitware.com/what-we-offer/#support)
