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

Tecplot - Macro: Variable with variable name...

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By trial

Reply
 
LinkBack Thread Tools Search this Thread 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: 400
Rep Power: 19
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 8, 2014, 23:52
Default
  #3
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана 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, 10:53
Default
  #4
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 16
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


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 - conditional - array variable pchidamb Tecplot 2 July 29, 2009 09:48
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 1 May 30, 2008 04:35
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 04: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 20:09


All times are GMT -4. The time now is 23:24.