CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > Tecplot

Extract execution time from output file and plot it as dynamic text

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2018, 07:30
Default Extract execution time from output file and plot it as dynamic text
  #1
New Member
 
Pará
Join Date: Sep 2016
Posts: 5
Rep Power: 9
leoenav is on a distinguished road
Hello Guys, I have a problem and would appreciate any help.

I calculate my simulation time in the program I am developing. And the time inside the program is not the same as real world time or computer clock time. Than for each output file i write this "extime" variable that tell me the time in that particular output. I would like to know if it is possible to take that variable "extime", or take its minimun or maximum (considering these are the same values) and plot it as a dynamic text in my frame.

Attached you will find the pictures I took from my output file and the variable in tecplot. I changed the variable name in tecplot so in the file you're gonna see that the variable name is actually "time".

I am using tecplot 360 2008

The vorticity plot shows what I want to do. To Show my "extime" variable as a dynamic text on my frame.

Thanks a lot.
Attached Images
File Type: png 3.png (38.7 KB, 23 views)
File Type: jpg 2.jpg (194.4 KB, 17 views)
File Type: jpg 2018-04-18_12-40-38.jpg (189.8 KB, 15 views)
File Type: png 2018-04-18_12-42-07.png (19.9 KB, 14 views)
leoenav is offline   Reply With Quote

Old   May 10, 2018, 19:08
Default
  #2
New Member
 
John Connell
Join Date: Apr 2017
Posts: 7
Rep Power: 9
JohnConnell is on a distinguished road
Hello leoenav,

Tecplot dynamic text variables are all listed in the Quick Reference Guide. If you would like to add "extime" as a dynamic variable you can use the following text:

time = &(MAXVAR[13])

This assumes that "extime" is the 13th variable in your list.

Thanks,

John Connell
Tecplot Tech Support
JohnConnell is offline   Reply With Quote

Old   May 11, 2018, 07:57
Default
  #3
New Member
 
Pará
Join Date: Sep 2016
Posts: 5
Rep Power: 9
leoenav is on a distinguished road
Thanks bro, I'll give it a try
leoenav is offline   Reply With Quote

Old   May 11, 2018, 08:12
Default
  #4
New Member
 
Pará
Join Date: Sep 2016
Posts: 5
Rep Power: 9
leoenav is on a distinguished road
Thanks bro, it worked fine. Just one more thing, where can I find the format options? I'd like to show the number with only three decimal places.

Thank you
leoenav is offline   Reply With Quote

Old   May 11, 2018, 08:26
Default
  #5
New Member
 
Pará
Join Date: Sep 2016
Posts: 5
Rep Power: 9
leoenav is on a distinguished road
Founf it. Just make time = &(MAXVAR[13]%.0f) in this case there is no decimal places.
leoenav is offline   Reply With Quote

Reply

Tags
dynamic, tecplot, tecplot 2008, text


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
[PyFoam] stuck: Text file busy cbcoutinho OpenFOAM Community Contributions 4 October 21, 2016 05:06
Problems launching adjoint max_ SU2 2 March 12, 2016 11:32
SU2 cfg file and runtime problems hedley SU2 19 January 26, 2016 04:17
[swak4Foam] Foam warnings - related to swak4Foam Salam-H OpenFOAM Community Contributions 20 August 2, 2015 15:40
[stressAnalysis] Residual plot for OpenFOAM-ext problem. Sargam05 OpenFOAM CC Toolkits for Fluid-Structure Interaction 26 July 14, 2014 08:36


All times are GMT -4. The time now is 06:01.