Exporting sim to txt/csv

Hi FD heroes!

I want to save my Phoenix sim to a txt or csv file, at the moment I only need the positions of the particles. I have been searching for an clear pipeline without success, any tips?

Best,

J.