Good day to all! I’m new to ParaView, so here I go. I have a set of CSV file (properly named File01, etc.) that contain 20 column x 20 rows (x and y 1 to 20), each cell is the z value. I have played with imports and filters (TabletoGrid) without success. My goal is to create a 3D plot, and have it cycle through the group of files to make a short clip.
Any pointers are welcome, thank you!
Mathieu, as I was walking back to my computer I realized how little sense my file structure made!! You are right, for the sake of (visual) simplicity, the CSV files are built on a rectilinear grid, with x and y being integer from 1 to n. The content of a “cell” is the z value.
If I understand your comment, I’d be better to structure my file where the 1st column is x coordinate, 2nd column the y coordinates and the third column the z coordinate, right? Should I then have the 4th and following columns to contains the z values through time? Or keep each “time stamp” in different files?
If you want to use TableToGrid, yes. X,Y,Z and then each data for each point. You also may want to used headers in the csv for clarity.
For the time, just use multiple files with the timestep in the name.
But if you are generating rectilinear grid, you may best even not use .csv file at all but generate VTKHDF files using image data directly: VTKHDF format specification - VTK documentation, which also supports temporal data natively.
Mathieu, thank you for your help! After reviewing the structure of my civ files, it made more sense in Paraview, I got to a nice 3D view of what I wanted!