|
[Sponsors] |
February 2, 2005, 05:11 |
Macro to access mean variables
|
#1 |
Guest
Posts: n/a
|
Hello everybody, I am running an unsteady case and I want to access from my udf the mean velocities. Is there a macro for this, because I could not find it in the manual pages?
Thank you! Dragos |
|
February 2, 2005, 09:41 |
Re: Macro to access mean variables
|
#2 |
Guest
Posts: n/a
|
Hi Dragos, the macros you need seem not to be available in FLUENT.
They are not documented and I've never been able to find them looking into the FLUENT header files. Regards, ap |
|
February 2, 2005, 12:30 |
Re: Macro to access mean variables
|
#3 |
Guest
Posts: n/a
|
I got the answer from a pro: mean u velocity: U = SV_STORAGE_R(c,t, SV_U_MEAN);
The same for v, w and p. For rms values: urms = SV_STORAGE_R(c,t,SV_U_RMS) I hope those of you who need this information, will find this answer helpfull. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM - Quick way to delete previous calculation & HowTo get access to variables | kriz | OpenFOAM | 12 | March 6, 2023 04:20 |
reading "global" variables in a UDF macro? | bawfuls | Fluent UDF and Scheme Programming | 1 | July 1, 2010 22:22 |
How to access surrounding variables? | chemycc | CFX | 0 | April 30, 2009 02:42 |
UDF Data Access Macro | Woo Meng Wai | FLUENT | 0 | November 6, 2007 21:23 |
access to variables at interface of porous media? | Mazyar | FLUENT | 0 | October 10, 2003 15:59 |