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

Tecplot 10:Question about internal |LOOP| variable

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Matt Morse
  • 1 Post By Lionel Larcheveque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2004, 20:08
Default Tecplot 10:Question about internal |LOOP| variable
  #1
Matt Morse
Guest
 
Posts: n/a
Is there any way that you can change the interval that |LOOP| counts at in a macro? For instance, I want |LOOP| to go by 2's instead of 1's so I can read 2,4,6,8,10,12, etc.

Thanks.
Svetlana likes this.
  Reply With Quote

Old   July 21, 2004, 11:26
Default Re: Tecplot 10:Question about internal |LOOP| vari
  #2
Lionel Larcheveque
Guest
 
Posts: n/a
Hi,

I think you can't change the increment for |LOOP|. However you can define an auxiliary variable |DUMMY| instead.

$!Varset |DUMMY|=2

$!Loop NUMBER_OF_ITERATIONS

#use |DUMMY| as a counter

$!Varset |DUMMY|+=2

$!Endloop
Svetlana likes this.
  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
Tecplot - Macro: Variable with variable name... trial Tecplot 3 January 9, 2014 11:53
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14
Tecplot Macro - conditional - array variable pchidamb Tecplot 2 July 29, 2009 10:48
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 1 May 30, 2008 05:35
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 08:37.