Trying to show csv data in Paraview

Hello everyone, I want to show a CFD result csv data(x coordinate, y coordinate, z coordinate, physical data temperature/velocity/…) in Paraview as cell data
I tried following filters:

  1. TableToPoints → point 3D plot, but what I want is cell 3D plot
  2. TableToPoints+Delauay3D → It works, but in my fluid case, geometry is really complex, and it seems Delauay3D will “fill” all the holes
  3. TableToStructured → Not work, science my grid is not a “cube”

So I want to know if there is any way I could show csv data in Paraview as cell data?
I have the grid in med or cgns format, so I’m wondering if I could map these data to my grid?Or could I do this in Paraview or through other way like Python?

Thanks

Hi,

You should load the csv, then load the mesh (from the cgns) and apply the data to it:

  • File / open .csv
  • TableToPoints to create points from csv
  • File / open .cgns
  • select cgns then points
  • Append Attributes → csv data is on the cgns grid
  • Point Data To Cell Data

Note that all this can be done either from the interface (recommended when learning) and in a paraview python script.

Hello Nicolas,
I am a student trying your given method. I have extracted data from paraview in csv file and now worked on in matlab and now i am again importing back the data in paraview to visualize the result . My csv file contains 3 columns of x,y and z coordinates and last column of specified data . i did all the steps as you mentioned first imported csv then Table to Points then opened cgns file for the same the append attributes after selecting cgns the table to pints in pipeline . But I cannot see my data in the cgns and I have also done point data to cell data. Can you help me out here where I am going wrong. Please I am not visualize my data back on it.

Hi,

First, did you have some error messages or warning at some steps ?

Some way to explore:

  • which pipeline source are you displaying ?
  • did you try to change the array used for coloration ?
  • select the PointDataToCellData in the pipeline and look at the Information panel. Do you have a geometry ? Do you see the expected data in array list ?




I am not getting data into cgns file as you can see. adn I am not ablr to apply filter Point Data To Cell Data in that appendattributes1 . I hope I am able to present my problem correctly . I would like to visualize POD values on this cgns mesh. And thank so much for replying!!