Plotting particle trajectories in ParaView

Questions and remarks about Code_Saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
ffan
Posts: 66
Joined: Thu Jul 24, 2014 3:23 pm

Plotting particle trajectories in ParaView

Post by ffan » Wed May 25, 2016 10:15 am

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

Yvan Fournier
Posts: 2825
Joined: Mon Feb 20, 2012 3:25 pm

Re: Plotting particle trajectories in ParaView

Post by Yvan Fournier » Wed May 25, 2016 9:55 pm

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

ffan
Posts: 66
Joined: Thu Jul 24, 2014 3:23 pm

Re: Plotting particle trajectories in ParaView

Post by ffan » Thu May 26, 2016 3:03 am

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
Attachments
Particle mesh.png
Writer.png

Yvan Fournier
Posts: 2825
Joined: Mon Feb 20, 2012 3:25 pm

Re: Plotting particle trajectories in ParaView

Post by Yvan Fournier » Fri May 27, 2016 12:27 am

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

ffan
Posts: 66
Joined: Thu Jul 24, 2014 3:23 pm

Re: Plotting particle trajectories in ParaView

Post by ffan » Tue May 31, 2016 8:00 am

Thanks. I get trajectories now.

- ffan

Post Reply