# plot selection over time crash

**URL:** https://discourse.paraview.org/t/plot-selection-over-time-crash/7446
**Category:** ParaView Support
**Created:** [June 19, 2021, 3:30pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446 "2021-06-19T15:30:06Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 19, 2021, 3:30pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/1 "2021-06-19T15:30:06Z")

</div>

Hello. Using results from openfoam. I define a scalar boundary for a species concentration. Calculate the volume, integrate variables and then plotselectionovertime. Over the time, that volume (defined by the scalar boundary) may reach zero (depending upon the assigned concentration). If this volume at any time step is zero, paraview crashes/exits. To prevent this occuring i have to eliminate the data files for all time steps when the volume is zero - then paraview doesn’t crash/exit. This is a rather laborious workaround, especially when the subsequent calculations use a different scalar (concentration) boundary and i have to restore/eliminate other time step data files accordingly. Is there an easier way to avoid this?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 21, 2021, 4:02pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/2 "2021-06-21T16:02:36Z")

</div>

Welcome to the ParaView community, Daniel!

Could you please post a dataset that shows this behavior?

---

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 21, 2021, 4:19pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/3 "2021-06-21T16:19:01Z")

</div>

Thanks, Walter. Sure. How would i do that? (Please excuse my ignorance.) The openfoam files, or loaded into paraview and saved?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 21, 2021, 4:31pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/4 "2021-06-21T16:31:21Z")

</div>

How big is the smallest dataset you can create that shows the issue? This would be the files that ParaView reads in. (I don’t know openfoam at all…)

---

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 21, 2021, 4:50pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/5 "2021-06-21T16:50:51Z")

</div>

About 120 MB

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 21, 2021, 7:28pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/6 "2021-06-21T19:28:14Z")

</div>

@mwestphal any advice?

---

<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: [June 21, 2021, 7:50pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/7 "2021-06-21T19:50:32Z")

</div>

sharing the OpenFOAM results is fine and can be opened in ParaView.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 21, 2021, 8:05pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/8 "2021-06-21T20:05:17Z")

</div>

the question is how to get 120 MBytes where Kitware can get to it. That’s too big for Discourse, isn’t it?

---

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 21, 2021, 8:10pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/9 "2021-06-21T20:10:09Z")

</div>

We can use “wetransfer”

---

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 21, 2021, 8:11pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/10 "2021-06-21T20:11:47Z")

</div>

I should be able to put a link pn here and you can download it, or send the link to an email address

---

<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: [June 21, 2021, 8:30pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/11 "2021-06-21T20:30:15Z")

</div>

Yes, any file sharing website is fine.

---

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 21, 2021, 8:34pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/12 "2021-06-21T20:34:58Z")

</div>

You should be able to download it from here. There’s also a pdf with some steps.

Just in case, I have paraview version 5.6.0 64 bit

[https://wetransfer.com/downloads/c374b8abaff3cc5cb5cf899f9800abe620210621202952/a603b060047a9b52c0f9f965539865fb20210621203016/8c90b8](https://wetransfer.com/downloads/c374b8abaff3cc5cb5cf899f9800abe620210621202952/a603b060047a9b52c0f9f965539865fb20210621203016/8c90b8)

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 21, 2021, 8:59pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/13 "2021-06-21T20:59:38Z")

</div>

Daniel, could you try ParaView 5.9.1? Does that work correctly?

---

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 22, 2021, 9:42am UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/14 "2021-06-22T09:42:53Z")

</div>

I installed 5.9.1 and repeated the exercise as described and unfortunately there was the same outcome (crashed/exited).

---

<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: [June 22, 2021, 11:38am UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/15 "2021-06-22T11:38:38Z")

</div>

I’am unable to reproduce.

Please explain, step by step, how to reproduce your issue.

---

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 22, 2021, 9:50pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/16 "2021-06-22T21:50:14Z")

</div>

Sorry, Mathieu, for my vague instructions. (A lifetime habit, I’m afraid!)  
Hopefully the following is sufficient:

Open the file xyz.foam in paraview  
Press “Apply”  
Add “clip” filter  
Select “scalar” from the drop-down  
From “scalars” choose “C3H8”  
Unselect “invert”  
Input a value of “0.024”  
Press “apply”  
Add “calculator” filter  
Attribute type to “cell data”  
In the calculator input (line below “result array name”) insert “1”  
Press “apply”  
Add “integrate variables” filter  
Press “apply”  
Select/highlight the values row in the (newly appeared) spreadsheet view box  
Add “plot selection over time” filter  
Press “apply”  
Cross fingers…

If you repeat it with a much lower concentration (e.g., input value of say, 0.0001), so that there is always a volume for the duration of the time steps, then the crash doesn’t occur.

---

<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: [June 23, 2021, 9:05am UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/17 "2021-06-23T09:05:02Z")

</div>

I reproduce. This is caused because CopyTuple is called on an array where CopyAllocate has not been called. This would require further investigation to understand why, probably the usecase where the “volume is zero” as @Danno stated.

An issue should be opened on [https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 23, 2021, 5:06pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/18 "2021-06-23T17:06:36Z")

</div>

I tried replicating with g1s1. No crash.

---

<div class="post-metadata">

### Author: ![Danno](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Danno](https://discourse.paraview.org/u/Danno)
#### Post date: [June 23, 2021, 6:35pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/19 "2021-06-23T18:35:47Z")

</div>

So I should open an issue on [https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)? And copy and paste all the text from above?

What is g1s1?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 23, 2021, 6:42pm UTC](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446/20 "2021-06-23T18:42:39Z")

</div>

g1s1 is a dataset that Kitware has.

[Next page](https://discourse.paraview.org/t/plot-selection-over-time-crash/7446.md?page=2)
