|
[Sponsors] |
DPM particle tracking in TUI (without displaying) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 27, 2010, 14:01 |
DPM particle tracking in TUI (without displaying)
|
#1 |
New Member
Sean C
Join Date: Apr 2010
Posts: 1
Rep Power: 0 |
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 |
|
September 13, 2018, 13:57 |
Maybe...
|
#2 |
New Member
Tim
Join Date: Jun 2018
Posts: 10
Rep Power: 8 |
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. Last edited by tbraun84; September 13, 2018 at 16:25. Reason: Adding note about my software version for historical reasons. |
|
October 1, 2018, 14:08 |
|
#3 |
New Member
Brian Connolly
Join Date: May 2015
Posts: 3
Rep Power: 11 |
Thanks so much, this is exactly what I needed.
|
|
June 9, 2020, 12:54 |
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 |
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 |
|
April 4, 2023, 15:28 |
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 |
Can you export the file in xml format
|
|
Tags |
dpm in fluent, particle fates, particle tracking, summary report, tui |
|
|
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 |