CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Macro to access mean variables

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

LinkBack Thread Tools Display Modes
Old   February 2, 2005, 05:11
Default Macro to access mean variables
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
  Reply With Quote

Old   February 2, 2005, 09:41
Default Re: Macro to access mean variables
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
  Reply With Quote

Old   February 2, 2005, 12:30
Default Re: Macro to access mean variables
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.
  Reply With Quote


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
reading "global" variables in a UDF macro? bawfuls Fluent UDF and Scheme Programming 1 July 1, 2010 21:22
OpenFOAM - Quick way to delete previous calculation & HowTo get access to variables kriz OpenFOAM 2 April 19, 2010 13:02
How to access surrounding variables? chemycc CFX 0 April 30, 2009 01: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 14:59

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