CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Macro to access mean variables (

Dragos February 2, 2005 05:11

Macro to access mean variables
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

ap February 2, 2005 09:41

Re: Macro to access mean variables
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 :)

Dragos February 2, 2005 12:30

Re: Macro to access mean variables
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.

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