Dear all,

Using the library LEoPart I am currently trying to compute “strain-history” for particles inside a velocity field.

At t=0, I release 100 particles. Every timestep, these particles are advected inside the velocity field.

As output, I get a new coordinate and a new value of the strain for every particle (100 coordinates, 100 values for every timestep).

For post-processing, I would like to write the particle locations and the corresponding scalar values to XDMF.

In the link below I found that if I have a point cloud, I can use the XDMFFILE “write”-function as follows:

`write(points, values)`

However, it does not allow me to write the points and corresponding values for all timesteps into one single XMDF file.

Is there a convenient way that one can write a Timeseries of point clouds (with scalar values) to one single XDMF file?

With kind regards,

https://fenicsproject.org/olddocs/dolfin/2016.1.0/python/programmers-reference/cpp/io/XDMFFile.html