CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Transient Macro in CFD-POST (https://www.cfd-online.com/Forums/cfx/76758-transient-macro-cfd-post.html)

blackbody June 3, 2010 10:55

Transient Macro in CFD-POST
 
Hello

For CFD-Post

Does anybody have a macro that loads all the timesteps in a loop automatically and gives out a calculation funtion:

massflowAve T_tot and P_tot at inlet and outlet....

or even better the total-to-total efficiency of a turbine at each timestep...

THANK YOU VERY MUCH!

ghorrocks June 3, 2010 18:54

Start a session and do the first few time steps. It will record the session file, and hopefully you can extend it to do the entire thing.

If you want to use perl to do nicer looping for more generalisation then search the forum and read the documentation.

blackbody June 3, 2010 19:14

I will try to "record" my session as soon as possible and see if that works... Didn't know that there is such a tool...
Thanx.

AliTr June 4, 2010 02:19

look at this post:
http://www.cfd-online.com/Forums/cfx...t-results.html


All times are GMT -4. The time now is 05:16.