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

variable definition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2017, 09:42
Question variable definition
  #1
Member
 
ram_call's Avatar
 
ram
Join Date: Apr 2013
Posts: 37
Rep Power: 13
ram_call is on a distinguished road
Hi,
I am trying to draw a curve of temperature during 24 hours of a day. So, I have to define X axes from 6 (6 am) to 23, next 0 (24 pm), 1, 2, ..., 5 (5 am of the next day).
How can I define X axes like that in Tecplot?
It should be like this:
6,7,8,...,23,0,1,2,3,4,5
ram_call is offline   Reply With Quote

Old   February 1, 2017, 19:39
Default
  #2
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 112
Rep Power: 16
wsfowler is on a distinguished road
To do this you can include a CUSTOMLABEL record in an ASCII data file.

Below is an example ASCII (.dat) file with a CUSTOMLABEL record. In this case "6" will correspond with 0, "7" with 1, etc. Tecplot 360 will repeat the pattern beyond the end. Custom labels are not displayed for negative data values.

Then in the Axis Details dialog on the Labels page click on the Number Format button and select Custom in the drop down menu.

TITLE = "Grid"
VARIABLES = "X" "Y"
CUSTOMLABELS = "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "0" "1" "2" "3" "4" "5"
ZONE T="1-D Zone"
STRANDID=0, SOLUTIONTIME=0
I=24, J=1, K=1, ZONETYPE=Ordered
DATAPACKING=POINT
DT=(SINGLE SINGLE )
0.000000000E+000 1.000000000E+000
1.086956501E+000 1.000000000E+000
2.173913002E+000 1.000000000E+000
3.260869503E+000 1.000000000E+000
4.347826004E+000 1.000000000E+000
5.434782505E+000 1.000000000E+000
6.521739006E+000 1.000000000E+000
7.608695507E+000 1.000000000E+000
8.695652008E+000 1.000000000E+000
9.782608986E+000 1.000000000E+000
1.086956501E+001 1.000000000E+000
1.195652199E+001 1.000000000E+000
1.304347801E+001 1.000000000E+000
1.413043499E+001 1.000000000E+000
1.521739101E+001 1.000000000E+000
1.630434799E+001 1.000000000E+000
1.739130402E+001 1.000000000E+000
1.847826004E+001 1.000000000E+000
1.956521797E+001 1.000000000E+000
2.065217400E+001 1.000000000E+000
2.173913002E+001 1.000000000E+000
2.282608604E+001 1.000000000E+000
2.391304398E+001 1.000000000E+000
2.500000000E+001 1.000000000E+000

Hope that helps,
Scott
wsfowler is offline   Reply With Quote

Reply


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
Variable name for heat flux peterle CFX 4 February 13, 2014 02:21
Instalation on ubuntu 710 basilwatson OpenFOAM Installation 17 March 16, 2012 20:16
Additional variable as output of an expression Chander CFX 1 November 22, 2011 12:54
Additional Variable tav98f CFX 3 April 28, 2011 12:33
Question about making a variable function of proprities of onother variable ? rafiktharwat CFX 0 March 26, 2011 14:23


All times are GMT -4. The time now is 20:15.