CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Tecplot

Showing Time in TECPLOT

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 13, 2009, 11:12
Question Showing Time in TECPLOT
  #1
Member
 
Forrest's Avatar
 
Join Date: Mar 2009
Location: Texas
Posts: 32
Rep Power: 7
Forrest is on a distinguished road
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.
Forrest is offline   Reply With Quote

Old   April 14, 2009, 20:42
Default
  #2
Senior Member
 
N/A
Join Date: Mar 2009
Posts: 170
Rep Power: 7
harishg is on a distinguished road
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.
harishg is offline   Reply With Quote

Old   April 15, 2009, 10:13
Default
  #3
Member
 
Forrest's Avatar
 
Join Date: Mar 2009
Location: Texas
Posts: 32
Rep Power: 7
Forrest is on a distinguished road
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
Forrest is offline   Reply With Quote

Old   April 15, 2009, 12:35
Default
  #4
New Member
 
Asghar
Join Date: Apr 2009
Posts: 16
Rep Power: 7
bohluly is on a distinguished road
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
bohluly is offline   Reply With Quote

Reply

Tags
tecplot, unsteady results

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 24 August 27, 2013 17:41
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07: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 05:06
Navier-Stokes time step size Martin Main CFD Forum 2 June 6, 2008 03:38


All times are GMT -4. The time now is 19:48.