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

Tecplot - Macro: Variable with variable name...

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

Like Tree1Likes
  • 1 Post By trial

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2010, 12:35
Default Tecplot - Macro: Variable with variable name...
  #1
New Member
 
Join Date: Apr 2010
Posts: 1
Rep Power: 0
trial is on a distinguished road
Hello,

is it possible to define variables in Tecplot macros with a variable name?
I tried something like this in a loop:

$!GETFIELDVALUE (|Y|NEXTPOINT||)

didn't work out!

If anyone has an idea or KNOWS that it doesn't work would make me very happy. Thanks for your help.

Cheerio,
trial
Светлана likes this.
trial is offline   Reply With Quote

Old   April 17, 2010, 03:04
Default
  #2
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 105
Rep Power: 8
quarkz is on a distinguished road
You can try the www.tecplottalk.com forum. Tecplot specialists 'll be there to help you.
quarkz is offline   Reply With Quote

Old   January 9, 2014, 00:52
Default
  #3
Member
 
Join Date: Oct 2013
Posts: 30
Rep Power: 3
Светлана is on a distinguished road
After $!GETFIELDVALUE and a space you usually type the name of macro variable to put the value into. Unclear what you want from your description and snippet. Please elaborate.
Светлана is offline   Reply With Quote

Old   January 9, 2014, 11:53
Default
  #4
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 119
Rep Power: 8
scott_rumage is on a distinguished road
It is my understanding that Tecplot’s macro language does not support the use of a variable within a variable.

If one’s work requires this, then the alternative is to write a Python script in Tecplot.

Scott
scott_rumage is offline   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 - 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
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 05:27
TECPLOT 10 macro problem Matthew Morse Tecplot 5 July 5, 2004 01:31
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 10:33.