CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ParaView (
-   -   Basic Paraview question (

jhapk June 7, 2013 01:58

Basic Paraview question

how should I store the coordinates of a particle so that paraview can read it and I can do visualize some particles in a 3D cube of 512x512x512.


wyldckat June 9, 2013 16:30

Greetings Pradeep,

The simplest is to save the list of points of the centre of the particles into a CSV file and then import it into ParaView.

Best regards,

edit: I saw your other thread related to this - - but unfortunately I don't know the answer to that one.

jhapk June 9, 2013 23:23

But your solution sounds for plotting many particles at one time instant. How do I input a time varying solution? Can you please give me a brief example?

wyldckat June 10, 2013 07:37

Hi Pradeep,

A few months ago, I explained how ParaView handles files in a temporal way. Start reading here: post #4

Best regards,

jhapk June 11, 2013 07:57

Thank you very much. It works just as I wanted now. I have another question. I specify the coordinates in each file, for example:

contents of fileXXX.csv

I have 100 files like these. But These files correspond to times 0, 6, 12, ...600 and not 0,1,2,..100.

I am plotting these particles with another data set for which the times are mentioned clearly in the xmf file. So when I plot these two together, while I want both of them to move in sync, PV plots six csv files for every time interval of the other data set. So these two data sets are not in sync. How can I specify the time in the csv files?

wyldckat June 15, 2013 08:53

Hi Pradeep,

Have you tried the following?


Best regards,

All times are GMT -4. The time now is 23:58.