Page 1 of 1

Plotting particle trajectories in ParaView

Posted: Wed May 25, 2016 10:15 am
by ffan
Hi Code_Saturne users and developers,

I work on the pulverized coal combustion example case following the example manual. Section 8.1 of the manual is on outputting the particle trajectories. After the case is run, we have PARTICLE.case and particles.geo.00001, particles.geo.00002, particles.geo.00003, ... in the postprocessing direction.
Then, how do we plot the particle trajectories in ParaView? Thank you.

- ffan

Re: Plotting particle trajectories in ParaView

Posted: Wed May 25, 2016 9:55 pm
by Yvan Fournier
Hello,

I'm not sure ParaView can directly plot trajectories, at least in the Code_Saturne case (most particle-oriented formats such as h5part or associated viewers assume a constant number of particles). You can activate a dedicated trajectory writer an associate a trajectory mesh (a succession of segments) in the Code_Saturne GUI, so check this...

Regards,

Yvan

Re: Plotting particle trajectories in ParaView

Posted: Thu May 26, 2016 3:03 am
by ffan
Hi Yvan,

Thank you. After creating a trajectory writer and associating a trajectory mesh to it (see attached pictures), I should have trajectory files (trajectories.00001, trajectories.00002, trajectories.00003, ...) generated in the postprocessing directory, right? But, I don't see such files being generated. I use v4.0.5 on Ubuntu. Thank you for helps.

- ffan

Re: Plotting particle trajectories in ParaView

Posted: Fri May 27, 2016 12:27 am
by Yvan Fournier
Hello,

You also need to set the type of the trajectory writer to "trajectory" (and not particles). The type is actually more important than the name.

Regards,

Yvan

Re: Plotting particle trajectories in ParaView

Posted: Tue May 31, 2016 8:00 am
by ffan
Thanks. I get trajectories now.

- ffan