Table to Structured Grid, whole extent issue

Hi,

I am trying to read in the attached data and plot it out using the Table to Structured Grid command. From the web, it seems as though the extents should be X_points-1, Y_points-1, Z_points-1 (or 9999, 9999, 9999 since there are 10,000 points in each direction). However, when I do that, I keep getting the error that follows this message.

Can someone explain to me what I am doing wrong? Thank you,

Alan

test4.txt (369.3 KB)

ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Filters\General\vtkTableToStructuredGrid.cxx, line 98
vtkTableToStructuredGrid (000000000F40B460): The input table must have exactly -727379968 rows. Currently it has 10000 rows.

ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 784
vtkPVCompositeDataPipeline (0000000018549C00): Algorithm vtkTableToStructuredGrid(000000000F40B460) returned failure for request: vtkInformation (000000001A9F24F0)
Debug: Off
Modified Time: 712944
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
FROM_OUTPUT_PORT: 0

ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 784
vtkCompositeDataPipeline (000000001882B730): Algorithm vtkPVGeometryFilter(000000001882A150) returned failure for request: vtkInformation (000000001A9F1240)
Debug: Off
Modified Time: 712516
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
FROM_OUTPUT_PORT: 0

Welcome to ParaView, Alan!

You have 10,000 rows in your table, so X_point * Y_points * Z_points must equal 10,000. However, you have your whole extent set so that the output will be a structured grid with 10,000 x 10,000 x 10,000 elements, which is obviously far more!

Does your data really form a structured grid? Or is it a set of disorganized points? If it is the latter, you can use the Table to Points filter instead.

Hello. Cory, How to create cubes instead of point objects, as in the picture?
Screenshot_20220907_095642

This is unrelated to the original topic, but you can use Glyph filter with “Glyph Type” set to “Box”.

Thank you

Hi Quammen,

I have the same problem and I would be thankful if you help me.
I am doing some experimental research and I have the velocity vector in a domain (x,y,vx,vy) in a csv file (16000 rows). I would like to read this file in the paraview in order to postprocess it. As far as I know, after importing the file, I need to use “table to point” filter. I did it successfully. Now, I would like to plot velocity over a line, but it does not work. I think there are some missing seteps in between in order to be able to post process further. I would be thankful if you share your opinion with me.

Best regards

Hi Again,

I just understood how to solve the problem. :smile:
In order tohave it here for other people, I explain it here.
I exported the CSV file from the experiment. “n” different csv files for different time steps. Then, I named them .csv.0, .csv.1, .csv.2 and so on for different time steps. Then, I imported the csv sequence and selected the csv reader. Then, I applied the “table to point filter”. Then, I applied the Delaunay2D in order to see the mesh and be ready for the postprocessing. Before applying the Delaunay2D, it was not possible for me to plot over line or time, for example.
I hope this explanation helps other people. Good luck.