-
-
May 4, 2026 at 1:31 pm
aniruddhabose96
SubscriberHi
I have a pipe flow with solid DPM particles. I want to get the particle x, y, z position for all particles in seperate files at each time step while the simulation is running. How can i do that? Otherwise it is not possible to save .dat file every time step and open each file seperately.
thanks
-
May 5, 2026 at 10:30 am
Rob
Forum ModeratorHave a look at the Report options in Particle Tracking. You may need to use TUI Execute Commands, but I'm not sure you'll get a separate file for each step.Â
-
May 5, 2026 at 12:49 pm
aniruddhabose96
SubscriberNo i was saying the file will remain same but they must be updated each time step only with the x, y, z positions of all the particles and not with anything else. Normally we get the particle dat file but it contains everything so cant save them every time step as will lead to huge data. SO do I have to use TUI command for this?
-
May 5, 2026 at 1:36 pm
Rob
Forum ModeratorIn which case have a look at a custom DPM out file if you want to reduce the amount of saved data. I'd question why every time step, but that's for you to determine.Â
-
May 5, 2026 at 2:07 pm
aniruddhabose96
SubscriberActually in the file>export>part history data, there is no option to choose the particle positions as variable but there are other variables available to select. So, is there a method I can save the particle positions every time step in a seperate file and update the file continously? The .dat file has all the variables but too costly to save at every time step. Also I want to plot the dispersio func (which depends on part positions) with time which should be a continous graph-so need to save at every time step.
-
May 5, 2026 at 2:29 pm
Rob
Forum ModeratorI think the positions are included automatically? Did you try it to see?Â
-
May 5, 2026 at 9:59 pm
aniruddhabose96
SubscriberHi. I have exported the part hist file in CFD-Post format. When i open the part hist.xml file in CFDPost, it does not show particle position variables. Please see attached screenshot. When i scroll down there are no variables for particle positions, therefore i think they cannot be exported in the part hist file. Do I have to export it in some other format?

-
May 6, 2026 at 8:12 am
-
May 6, 2026 at 10:46 am
aniruddhabose96
SubscriberDPM reporting is fine but if I want the positions every time step, then i cant manually open the reporting every time. For that I need to save the file in the directory.
-
May 6, 2026 at 10:49 am
Rob
Forum ModeratorPlease rephrase. If you run the equivalent report as an Execute Command it should dump the data out into a file.Â
-
May 6, 2026 at 12:05 pm
aniruddhabose96
SubscriberOkay i need to see the execute command now
-
May 6, 2026 at 12:30 pm
Rob
Forum ModeratorUnless it's just a GUI function as I can't see it. You may just need to use the CFD Post or another output and do some editting afterwards.Â
-
May 7, 2026 at 10:57 am
aniruddhabose96
SubscriberHi After I open the .xml file using a text editor it is showing the following picture:
Here it is very confusing to know which data indicates particle position and which data indicates time. Also there are some Ascii things written if i scroll down so very confusing to clearly understand this file. Any suggestions? -
May 7, 2026 at 11:21 am
Rob
Forum ModeratorCompare blocks of text with what you know. Ie is it a block of IDs, then something else?Â
-
May 7, 2026 at 12:11 pm
aniruddhabose96
SubscriberHi-Still it is not quite understable as X position etc should be in decimal right? but i am seeing everything as integer in this text file.
-
May 7, 2026 at 12:57 pm
Rob
Forum ModeratorWhat does the rest of the file look like?Â
-
May 7, 2026 at 1:36 pm
-
May 7, 2026 at 2:37 pm
Rob
Forum ModeratorYes, which are then interpreted into the next Ansys package. Yes it is possible, have a look at the other format options, failing that it's a UDF or some additional work on whatever output you get or on the data sets.Â
-
- You must be logged in to reply to this topic.
-
6379
-
1906
-
1457
-
1308
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.

