CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Macro to access mean variables

Register Blogs Community New Posts Updated Threads Search

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

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

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

Reply


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 Off
Pingbacks are On
Refbacks are On


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 03:20
reading "global" variables in a UDF macro? bawfuls Fluent UDF and Scheme Programming 1 July 1, 2010 21:22
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 20: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 03:47.