CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Tecplot (https://www.cfd-online.com/Forums/tecplot/)
-   -   passing a variable as parameter to solutiontime (https://www.cfd-online.com/Forums/tecplot/176098-passing-variable-parameter-solutiontime.html)

manuc August 11, 2016 02:53

passing a variable as parameter to solutiontime
 
Hello

I would like to calculate solution time of zones in a loop

so would I be able to pass on a variable defined in the macro as an input parametet to solution time.


eg:
$!VarSet |WEIGHTL| =(|SOLUTIONTIME[814]|) //this works


I want
$!VarSet |KLOOP| =814
$!VarSet |WEIGHT| =(|SOLUTIONTIME[KLOOP]|) //I need to know how to implement this


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