CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Basic Paraview question (https://www.cfd-online.com/Forums/paraview/118947-basic-paraview-question.html)

jhapk June 7, 2013 01:58

Basic Paraview question
 
Hello,

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.

Pradeep

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,
Bruno

edit: I saw your other thread related to this - http://www.cfd-online.com/Forums/par...iew-movie.html - 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: http://www.cfd-online.com/Forums/par...tml#post405668 post #4

Best regards,
Bruno

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
z*,y*,z*

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?
Code:

file000.csv
file006.csv
file012.csv
...
file600.csv

Best regards,
Bruno


All times are GMT -4. The time now is 13:06.