|
[Sponsors] |
Adding Variables to Display Titles from an UDF or Scheme |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 12, 2021, 05:27 |
Adding Variables to Display Titles from an UDF or Scheme
|
#1 |
New Member
Join Date: Jun 2021
Posts: 13
Rep Power: 5 |
Hello, does anyone has any experience with adding a variable to the display titles?
For an example I would like to have a changing variable just like time which is implemented by default to a transient analysis animation. I have enabled this by File>Preferences>Appearance>Titles In fluent TUI, I have found that Title names can be customized. I would like to add another dynamic variable that changes over time to the animation display. Any help would be appreciated. Thanks! |
|
October 12, 2021, 23:21 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
there is an option to add annotations
Code:
display> annotate title
__________________
best regards ****************************** press LIKE if this message was helpful |
|
October 13, 2021, 04:02 |
|
#3 |
New Member
Join Date: Jun 2021
Posts: 13
Rep Power: 5 |
The main problem with what you suggested and what I'm trying to do is that fluent accepts string inputs for those commands.
I did try something like (format #f "Moment Z is ~a" <variable>) with all its possible variants I could think of, but inside the string input quotation marks are not accepted. Also, Fluent automatically updates the time part of the title, so in my opinion this should be possible in someway. |
|
October 15, 2021, 01:46 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
if you need quotation marks you need to use \ before "
Code:
(format #f "Moment Z is \"~a\"" <variable>)
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting density, temperature, and other cell flow variables via macros in Fluent UDF | ingabobjoe | Fluent UDF and Scheme Programming | 2 | August 15, 2020 22:08 |
Dynamic mesh using UDF and layering method - no dynamic mesh zones to display error | HootanRahimi | Fluent UDF and Scheme Programming | 3 | May 7, 2019 13:03 |
conjugateHeatFoam + interFoam | farhagim | OpenFOAM Programming & Development | 15 | July 19, 2016 08:55 |
changing scheme variable with UDF? | Wagemakers | FLUENT | 17 | September 30, 2015 15:34 |
errors when installing openfoam2.1 on ubuntu12.o4 | hewei | OpenFOAM Installation | 5 | May 29, 2012 08:43 |