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

Tecplot 10:Question about internal |LOOP| variable

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 19, 2004, 19: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.
Светлана likes this.
  Reply With Quote

Old   July 21, 2004, 10: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
Светлана likes this.
  Reply With Quote

Reply

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
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 09:48
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas Main CFD Forum 1 May 30, 2008 04:35
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


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