CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Lagrangian - ParticleTracks function (https://www.cfd-online.com/Forums/openfoam/216564-lagrangian-particletracks-function.html)

cojua8 April 11, 2019 18:22

Lagrangian - ParticleTracks function
 
Hello!,

I'm running a turbulent channel with thousands of particles. I'm interested on the particle tracks, and im using the ParticleTracks function.

The thing is that I use
Code:

purgeWrite 1
, which deletes the previous written time from the directory, leaving only the last time of the simulation. This forces me to set
Code:

resetOnWrite 0
, so I get the full track of all particles. Doing this, I get an "out of memory" error.

Is there a way to set ParticleTracks to write the tracks of only a few particles?. I've found that there is no identifier for particles more than
Code:

origId
and
Code:

origProcID
, which changes from one simulation to another.

Thank you!

Rid@foam October 3, 2020 10:48

Hello Joaquín. My question to you is how are you utilising the data generated by the particleTracks function?
I want to get my particle trajectories as shown in the attached picture. Can you help me how to do so.

cojua8 October 3, 2020 11:17

I think paraview has the option for particle tracks.

Also, if you simulation has a small dt so that every point of the trajectory is close to the previous, you should consider using the output of each dt instead of of the particle tracks function, which is too heavy is you have too many particles.

Hope this helps!

Good luck

EdgarRey October 4, 2022 21:11

Quote:

Originally Posted by cojua8 (Post 784347)
I think paraview has the option for particle tracks.

Also, if you simulation has a small dt so that every point of the trajectory is close to the previous, you should consider using the output of each dt instead of of the particle tracks function, which is too heavy is you have too many particles.

Hope this helps!

Good luck

The particle tracker on paraview is only valid for one way coupling systems, may you tell me more about that second method?


All times are GMT -4. The time now is 00:30.