|
[Sponsors] | |||||
|
|
|
#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 |
|
|
||
|
|
|
#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
|
|
|
||
|
|
|
#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. |
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 20:23 |
| access to variables at interface of porous media? | Mazyar | FLUENT | 0 | October 10, 2003 14:59 |