|
[Sponsors] |
How to assign solutiontime to a variable in Tec360 Macro |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 28, 2017, 08:52 |
How to assign solutiontime to a variable in Tec360 Macro
|
#1 |
New Member
|
Hi,
I am writing a macro to load multiple fluent case and data using a loop function. My intention is to make some contour images and export it as png and later create animation with these images. (I cannot use multiple case and data option because I am dealing with large size files). My question is, how I can save the images with name followed by the time extracted using "&(solutiontime)"? eg: Suppose if &(solutiontime) gives 0.01, I need to save my image as Image_0.01.png Myth |
|
March 6, 2017, 16:34 |
|
#2 |
Senior Member
Scott Fowler
Join Date: May 2009
Posts: 123
Rep Power: 17 |
I have a few thoughts for you:
1) Try using |SOLUTIONTIME|, which is a macro variable. You should be able to use this when constructing the file name string. 2) Check out our new Python API (http://www.tecplot.com/products/pytecplot/), this will give you a lot more flexibility than the macro language. 3) My team is currently working on performance & RAM improvements to our Fluent reader. These improvements are for a narrow set of use cases, but transient solutions are one that may be helped with these changes. Let me know if you're interested in testing these changes before our next release. Thanks, Scott Fowler Tecplot Product Manager |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tecplot Macro - conditional - array variable | pchidamb | Tecplot | 2 | July 29, 2009 10:48 |
How to pass a variable from a define macro... | Padian | FLUENT | 2 | May 30, 2008 06:22 |
Macro problem | cfddummy | Siemens | 1 | April 9, 2007 13:37 |
Why doesnbt the macro forall work for the volVectorField variable | siwen | OpenFOAM Running, Solving & CFD | 2 | February 24, 2006 16:27 |
field variable macro of the mean-x-velocity? | zt xie | FLUENT | 2 | November 15, 2005 06:48 |