CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Using a macro to write a plot to a file, and supress the popups (http://www.cfd-online.com/Forums/fluent/93029-using-macro-write-plot-file-supress-popups.html)

stevenvanharen October 3, 2011 07:43

Using a macro to write a plot to a file, and supress the popups
 
Hi everybody,

I use a macro to write a line plot every 100 iterations.

This works fine, but I also get a pop-up every 100 iterations on my screen.

Can I suppress the fact that the macro creates these pop-ups? Or can I write this line plot to a file in a different way?

Thanks for your help!

Regards,

Steven

3DmaniacSLDWRKS October 3, 2011 20:44

please explain what you mean when you say line plot????
and also what sort of pop up????

if by pop-up you mean the overwrite message you can suppress that by typing
file confirm-overwrite no in the TUI

hope that helps

stevenvanharen October 4, 2011 02:37

Quote:

Originally Posted by 3DmaniacSLDWRKS (Post 326558)
please explain what you mean when you say line plot????
and also what sort of pop up????

if by pop-up you mean the overwrite message you can suppress that by typing
file confirm-overwrite no in the TUI

hope that helps

I create a line plot by selelecting plot --> XY plot. I select a line as a surface and click the 'write to file' option to write the XY data to a file.

I record all these steps in a macro (solve --> execute commands), and then execute this macro every 1000 iterations. However this macro will open the XY plot window and write file window. This is what I mean when I refer to popups.

These popups I would like to supress.

Amir October 4, 2011 05:42

Quote:

Originally Posted by stevenvanharen (Post 326578)
I create a line plot by selelecting plot --> XY plot. I select a line as a surface and click the 'write to file' option to write the XY data to a file.

I record all these steps in a macro (solve --> execute commands), and then execute this macro every 1000 iterations. However this macro will open the XY plot window and write file window. This is what I mean when I refer to popups.

These popups I would like to supress.

Dear steven,
If you use journal file instead of macro, these pop-ups will be suppressed.

Bests,

stevenvanharen October 4, 2011 05:55

Dear Amir,

Thanks for your tip. I will try it with a journal file.

Regards,

Steven

stevenvanharen October 4, 2011 08:15

I solved it using:

http://www.cfd-online.com/Forums/flu...tml#post133019

If I put these TUI commands in a macro I have no more annoying pop-ups!

Thanks for staying tuned :)


All times are GMT -4. The time now is 06:21.