Issue with Integrate Variables Write Time Steps

When I click File → Save Data, and include “Write Time Steps”, to save the results of an Integrate Variables to csv over time, there are several problems…

  1. Some of the time-steps do not get written. Some of the variable are written as 0, while others, including the coordinates, are completely missing
  2. Some of the data is incorrectly written. If I compare what was saved in the csv file vs what’s shown in Paraview, it does not match. If I re-write the csv, I may get different values again

I tried various things, like not writing the time step, writing to different files, unchecking String for the header, but the same problem persisted

It’s able to write the first few time-steps correctly, but eventually it starts writing the wrong values to the csv file(s)

I tried other solution, such as plot over time… This unfortunately did not work either, because I have a plane that moves with each time step. The plot over time seems to take the plane at a single fixed position over all the time-steps, but does not recalculate it’s position each step, and then plot.

I do not know if the non-fixed position of my plane I want to integrate over is what’s also causing problems. It’s possible but tedious to do everything manually, which is what seems I will have to do for now.

Please share data and steps to reproduce the issue.

due to data limitations, I’ve sent you a link in a discord and e-mail message

Thanks, please share simple steps to reproduce the issue.

  1. Open the pvsm

    1. Load from “Choose File Names” –> select reproduceParaviewIssue_ensight_adj.case
  2. scroll to the bottom of the pipe line and ensure “GroupDatasets1” is selcted

  3. File→ Save Data

    1. choose a file name (results.csv is already there, from my testing)
    2. Activate “Write Steps”
    3. Choose Arrays to Write –> flow_velocity and relativeVelocity
    4. Activate “Add Time Step”
    5. OK
    6. Wait until writing (takes about 5 minutes)
  4. Open up the csv file to compare

    1. first of all, it’s not necessarily the same as teh results.csv I already saved. I would expect the same results each time
    2. Comparing to what’s shown in Paraview may also be different
    3. There may also be missing data (but this is also inconsistent, sometimes it can write the data, other times it fails). Meta Data (Points coordinateds) are sometimes written as 0, 0,0 in such case