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

How to assign solutiontime to a variable in Tec360 Macro

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 28, 2017, 08:52
Default How to assign solutiontime to a variable in Tec360 Macro
  #1
New Member
 
Myth
Join Date: Jul 2011
Location: chennai
Posts: 16
Rep Power: 8
mg.mithun is on a distinguished road
Send a message via Yahoo to mg.mithun Send a message via Skype™ to mg.mithun
Sponsored Links
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
mg.mithun is offline   Reply With Quote
Sponsored Links

Old   March 6, 2017, 16:34
Default
  #2
New Member
 
Scott Fowler
Join Date: May 2009
Posts: 24
Rep Power: 10
wsfowler is on a distinguished road
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
wsfowler 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
How to pass a variable from a define macro... Padian FLUENT 2 May 30, 2008 05:22
Macro problem cfddummy Siemens 1 April 9, 2007 12: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

Sponsored Links


All times are GMT -4. The time now is 01:37.