CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

DPM particle tracking in TUI (without displaying)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tbraun84

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2010, 14:01
Default DPM particle tracking in TUI (without displaying)
  #1
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, 13:57
Default Maybe...
  #2
New Member
 
Tim
Join Date: Jun 2018
Posts: 10
Rep Power: 8
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 16:25. Reason: Adding note about my software version for historical reasons.
tbraun84 is offline   Reply With Quote

Old   October 1, 2018, 14:08
Default
  #3
New Member
 
Brian Connolly
Join Date: May 2015
Posts: 3
Rep Power: 11
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, 12:54
Default DPM particle tracking in TUI (without displaying) -- Stey by Step summary
  #4
New Member
 
Thomas F
Join Date: Aug 2012
Location: Germany
Posts: 6
Rep Power: 14
habo is on a distinguished road
Hallo.


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
/display/set/particle-tracks/report-variables
particle-mass
particle-x-position
particle-y-position
particle-z-position
particle-reynolds-number
particle-temperature
q

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

;-- maximum value (k) [1700]


Best Regards,
habo
habo is offline   Reply With Quote

Old   April 4, 2023, 15:28
Default can you export the particle history as xml file with tui?
  #5
New Member
 
Shyam Prasad V Atri
Join Date: Mar 2022
Posts: 1
Rep Power: 0
satri is on a distinguished road
Can you export the file in xml format
satri is offline   Reply With Quote

Reply

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


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 13:52
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29
DPM tracking particle Clementine FLUENT 0 November 7, 2008 19:08
DPM: Particle Tracking Madhukar FLUENT 1 July 24, 2007 04:51
Particle Tracking Pravir Kumar Rai FLUENT 2 January 30, 2003 20:16


All times are GMT -4. The time now is 18:36.