I’m currently trying to track particle using the solver icoUncoupledKinematicParcelFoam of OpenFoam 7 .
My simulation runs well but the only positions for the particles that I get are barycentric coordinates. And I didn’t find on Internet an easy method to switch barycentric coordinates to cartesian 's ones…
So I tried to do it using Paraview by using this method:
run the simulation
type paraFoam on the terminal
add the filter extrudeBlocks and chose lagrangian data
open a new layout and select spreedsheet view
export date into . csv file
I was really happy with this method when I figured out there was a problem. Indeed, if, for exemple, in the file time1.csv, at the line 3 there is the coordinate of the particle 3 then in the file time2.csv , at the line 3 it’s not the coordinate of the particle 3 anymore but of another one…
It’s really a problem for me because I need to follow the trajectory of the particles…
I was wondering if there is a way in Paraview to print the trajectory of particles?
Thanks to all in advance, hope someone know how to do that…