|
[Sponsors] |
April 13, 2009, 12:12 |
Showing Time in TECPLOT
|
#1 |
Member
Join Date: Mar 2009
Location: Texas
Posts: 33
Rep Power: 17 |
I have some unsteady results from fluent that I am going to use to make an animation. I've loaded all of the files (both data and case files) at once using the Fluent data loader. When I animate the solutions files, I would like to see the solution time somewhere in the frame, and have it update as the solution updates. I've seen animations like this in presentations before and I haven't been able to figure it out on my own. Does anyone know how to do this? Thanks in advance.
|
|
April 14, 2009, 21:42 |
|
#2 |
Senior Member
N/A
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
Do you use Tecplot 10 or Tecplot 360 ? I remember seeing a python script for the same in Tecplot forums but only for Tecplot 360.
|
|
April 15, 2009, 11:13 |
|
#3 |
Member
Join Date: Mar 2009
Location: Texas
Posts: 33
Rep Power: 17 |
I am using Tecplot 360. I found the solution to my problem not too long after I posted. It was to put &(SOLUTIONTIME) in a text box in the frame. Thanks
|
|
April 15, 2009, 13:35 |
|
#4 |
New Member
Asghar
Join Date: Apr 2009
Posts: 16
Rep Power: 17 |
I write a fortran code for making a macro file that this macro file add time in every zone, but u must correct the position and size of the font in this program for your purpose.
integer*2 i_hr,i_min open(1,file='add_date.mcr') no_zone=1000 write(1,5) 5 format ('#!MC 1000') write(1,*)'$!VarSet |MFBD| = ',char(39),'D:',char(39) itime =0 time =0 do iz=1,no_zone i_hr = itime / 60 i_day= i_hr / 24 if (i_day < 0 ) then xxx= 0 endif i_hr = mod(i_hr , 24) i_min= mod(itime , 60) write(1,*)'$!ATTACHTEXT' write(1,*)' XYPOS' write(1,*)'{' write(1,*)'X = 40.0' write(1,*)'Y = 85.00' write(1,*)'}' write(1,*)'ZONE =',iz write(1,*)'ATTACHTOZONE = YES' write(1,*)'TEXTSHAPE' write(1,*)' {' write(1,*)'HEIGHT = 15' write(1,*)' }' ! write(1,10)char(39),i_day , i_hr,i_min,char(39) ! 10 format ('TEXT = ',a1,'Time ',i2,' day ' ,i3,':',i2,a1) write(1,10)char(39),time,char(39) 10 format ('TEXT = ',a1,' ',f8.2,' Sec ',a1) write(1,*)'$!ACTIVEFIELDZONES += [',iz+1,']' write(1,*)'$!ACTIVEFIELDZONES -= [', iz,']' write(1,*)'$!REDRAW' time = time+0.05 enddo write(2,*)'$!RemoveVar |MFBD|' end |
|
April 29, 2016, 18:39 |
|
#5 |
New Member
settou belkhir
Join Date: Dec 2015
Posts: 5
Rep Power: 11 |
||
May 2, 2016, 11:30 |
|
#6 |
Senior Member
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17 |
Tecplot gives a good example of showing solution time in one’s plot in the tutorial titled:
Transient Series Video 2: Understanding Transient Data through Extractions. The link is: http://www.tecplot.com/blog/2016/04/13/transient-series-video-2-understanding-transient-data-extractions/ . Of course, you should also watch the first tutorial as well to get more tips on handling transient data in Tecplot 360 EX. That video is titled:Transient Series Video 1: Introduction to Transient Data and here is the link: http://www.tecplot.com/blog/2016/03/25/transient-series-video-1-introduction-transient-data/ . Scott |
|
Tags |
tecplot, unsteady results |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 07:55 |
air bubble is disappear increasing time using vof | xujjun | CFX | 9 | June 9, 2009 08:59 |
Computational time | sunnysun | OpenFOAM Running, Solving & CFD | 5 | March 16, 2009 04:32 |
Animation step by time in Tecplot | SeungWon, Jeon | Tecplot | 0 | July 3, 2008 06:06 |
Navier-Stokes time step size | Martin | Main CFD Forum | 2 | June 6, 2008 04:38 |