[Paraview] ParaView Particle simulation xyz file format
Moreland, Kenneth
kmorel at sandia.gov
Wed May 14 17:59:35 EDT 2014
You can also set the Discrete Time Step Interval option to get the temporal interpolated to make fixed time steps, which ParaView will automatically follow.
-Ken
From: Rohit Narurkar <rohitnarurkar at gmail.com<mailto:rohitnarurkar at gmail.com>>
Date: Wednesday, May 14, 2014 3:51 PM
To: Kenneth Moreland <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>
Cc: Walter Scott <wascott at sandia.gov<mailto:wascott at sandia.gov>>, "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: Re: [EXTERNAL] Re: [Paraview] ParaView Particle simulation xyz file format
Sorry for that, I could modify the frames and total time to get a decent animation.
Thank you,
Rohit.
On Thu, May 15, 2014 at 3:18 AM, Rohit Narurkar <rohitnarurkar at gmail.com<mailto:rohitnarurkar at gmail.com>> wrote:
Yes, I figured that out, but using the temporal interpolator converts my Animation mode to 'Sequence' and then there's a problem in the animation. Earlier, I was using the 'Snap to TimeSteps' mode.
On Thu, May 15, 2014 at 3:13 AM, Moreland, Kenneth <kmorel at sandia.gov<mailto:kmorel at sandia.gov>> wrote:
The filter named Temporal Interpolator does that. Note, however, that in order for this filter to work correctly the particles have to be consistent across all time steps. That is, particles cannot appear or disappear and the order the particles are listed always has to be the same.
-Ken
From: Rohit Narurkar <rohitnarurkar at gmail.com<mailto:rohitnarurkar at gmail.com>>
Date: Wednesday, May 14, 2014 3:24 PM
To: Kenneth Moreland <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>
Cc: Walter Scott <wascott at sandia.gov<mailto:wascott at sandia.gov>>, "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: Re: [EXTERNAL] Re: [Paraview] ParaView Particle simulation xyz file format
Kenneth,
Right now, the animation that I get, is based on position vectors at discrete time steps. If I wish to get a smooth movement for each particle (from initial position to next time steps position), then how am I supposed to achieve that? Which filter can I use to make that possible?
Thank you,
Rohit.
On Thu, May 15, 2014 at 2:11 AM, Rohit Narurkar <rohitnarurkar at gmail.com<mailto:rohitnarurkar at gmail.com>> wrote:
Dear Kenneth,
Yes I can now see my animation.
Thank you so much for the help!
That was very very quick!
I appreciate your help.
Thank you,
Rohit.
On Thu, May 15, 2014 at 1:50 AM, Moreland, Kenneth <kmorel at sandia.gov<mailto:kmorel at sandia.gov>> wrote:
When you open the file browser, you should see your csv files grouped together in the file list. You can expand that, but instead just open the group as if it is a single file. ParaView will load this file series as if it were a single file.
Press the play button to get an animation.
-Ken
From: Rohit Narurkar <rohitnarurkar at gmail.com<mailto:rohitnarurkar at gmail.com>>
Date: Wednesday, May 14, 2014 2:18 PM
To: Walter Scott <wascott at sandia.gov<mailto:wascott at sandia.gov>>
Cc: Kenneth Moreland <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>, "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: Re: [EXTERNAL] Re: [Paraview] ParaView Particle simulation xyz file format
And once I have the csv files in my pipeline browser, how do I get the animation? What options do I have to check and how to go about doing that?
On Thu, May 15, 2014 at 1:40 AM, Rohit Narurkar <rohitnarurkar at gmail.com<mailto:rohitnarurkar at gmail.com>> wrote:
Yes. I can import all the csv files then.
But I am not able to apply the filters to all the csv files collectively. How to fix that?
On Thu, May 15, 2014 at 12:55 AM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov>> wrote:
There is an example of what Ken is discussing below on the Wiki here: http://www.paraview.org/Wiki/ParaView/Data_formats. Look for CSV time series.
Alan
From: ParaView [mailto:paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>] On Behalf Of Moreland, Kenneth
Sent: Wednesday, May 14, 2014 12:32 PM
To: Rohit Narurkar; paraview at paraview.org<mailto:paraview at paraview.org>
Subject: [EXTERNAL] Re: [Paraview] ParaView Particle simulation xyz file format
I don't really know anything about the xyz format, but if you write a series of csv files with numbered filenames each containing data for one time step, ParaView can read this as a time series and will animate it.
-Ken
From: Rohit Narurkar <rohitnarurkar at gmail.com<mailto:rohitnarurkar at gmail.com>>
Date: Wednesday, May 14, 2014 12:18 PM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] ParaView Particle simulation xyz file format
Hi
I am working with ParaView for the very first time, and I am supposed to simulate 'n' particles over 't' time steps.
With a code, I can generate the position vectors (3-D) of all the particles at all the time steps and I am currently writing the data down to a .csv format. I also have the data in .xyz format but when I import it, only the first time step data is visible. What to do in order to be able to get all the data, from all the time steps?
How am I supposed to import the position vector data in to ParaView and simulate it over all the time steps?
In the end, I would like to see something like this https://www.youtube.com/watch?v=4MOuKUExmFU. If I must output the data from my code to some other format, which can be easily identified by ParaView as time-varying data, then what is that output format and how do I go about doing it?
Thanks a lot! Rohit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140514/31d0909d/attachment-0001.html>
More information about the ParaView
mailing list