CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

DPM particle tracking in TUI (without displaying)

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By tbraun84

LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2010, 13:01
Default DPM particle tracking in TUI (without displaying)
New Member
Sean C
Join Date: Apr 2010
Posts: 1
Rep Power: 0
hankjones1 is on a distinguished road
Hi All,

I'm trying to write a journal file which tracks particles flowing through a geometry in a steady state flow. I am able to do this through the GUI journal commands by displaying injections and tracking particles on screen, and summary reporting the fates to a text file. However, I believe this bottlenecks my simulation speed and I want to write one in text-based user interface only.

Does anyone know the TUI commands for one-way coupling DPM injections and reporting their fates to file (without displaying them)? Should give me something like:

Escaped Incomplete
Zone 5 - 50 0
Zone 4 - 45 0

Thanks in advance. -sjc
hankjones1 is offline   Reply With Quote

Old   September 13, 2018, 12:57
Default Maybe...
New Member
Join Date: Jun 2018
Posts: 8
Rep Power: 6
tbraun84 is on a distinguished road
In case this helps visitors after today - although I assume I'm too late to help the original poster...

You need to set up some parameters first:
1) /display/set/particle-tracks display? no
2) /display/set/particle-tracks report-type summary
3) /display/set/particle-tracks report-to file
4) /display/set/particle-tracks history-filename "your-file-name-here"

Then, you need to use the (counter-intuitive) command:
/display/particle-tracks particle-tracks <color-by variable> ("your-injection-1" ...) <min-of-variable> <max-of-variable>

Yes, you need to give it the display variables even with no gui. But this will get you that summary. In step 4) above, you could use %i to save the iteration step in the file name and therefore keep a history for each tracking command.

Note: the following applies to ANSYS Fluent v16.x. The TUI commands and syntax could be subject to change in the future and also may not be the same in versions prior to v16.
Darko likes this.

Last edited by tbraun84; September 13, 2018 at 15:25. Reason: Adding note about my software version for historical reasons.
tbraun84 is offline   Reply With Quote

Old   October 1, 2018, 13:08
New Member
Brian Connolly
Join Date: May 2015
Posts: 3
Rep Power: 9
bjc8z is on a distinguished road
Thanks so much, this is exactly what I needed.
bjc8z is offline   Reply With Quote

Old   June 9, 2020, 11:54
Default DPM particle tracking in TUI (without displaying) -- Stey by Step summary
New Member
Thomas F
Join Date: Aug 2012
Location: Germany
Posts: 6
Rep Power: 12
habo is on a distinguished road

Thank you for the input. I really appreciated it. Just an remark. My goal is to write a step-by-step dpm summary report and this would be a working example:

;-- Report Particle -----------------------------------------
;-- Report to File
/display/set/particle-tracks/report-to file
/display/set/particle-tracks/report-type step
/display/set/particle-tracks/display no
/display/set/particle-tracks/history-filename "dpm-data-inj01.his"

;-- What to report

;-- Which injection
/display/particle-tracks particle-tracks
;-- Particle tracks colored by>
;-- Injection name(1) ["inj01"]
;-- Injection name(2) ["inj02"]
;-- minimum value (k) [300]

;-- maximum value (k) [1700]

Best Regards,
habo is offline   Reply With Quote


dpm in fluent, particle fates, particle tracking, summary report, tui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Number density tracking rather than particle tracking Rebecca Main CFD Forum 2 April 23, 2009 12:52
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
DPM tracking particle Clementine FLUENT 0 November 7, 2008 18:08
DPM: Particle Tracking Madhukar FLUENT 1 July 24, 2007 03:51
Particle Tracking Pravir Kumar Rai FLUENT 2 January 30, 2003 19:16

All times are GMT -4. The time now is 23:02.