|
[Sponsors] |
May 20, 2004, 01:21 |
Help on UDF: access to wall shear stress
|
#1 |
Guest
Posts: n/a
|
Hi,
I am doing an unsteady simulation. I wish to report the time averaged pressure coefficient and friction coefficient around a cylinder. I am considering using UDF to store the local pressure values at each time step and take an average on time at the end of my simulation. Can anybody tell me how to store an array of data at each time step and read it out later? I am also wondering if anybody knows how to access the wall shear stress and heat transfer coefficient in UDF. Thank you very much and I appreciate your help! Zhihua |
|
May 21, 2004, 23:29 |
Re: Help on UDF: access to wall shear stress
|
#2 |
Guest
Posts: n/a
|
include storage.h header file
define real wallshear[ND_ND]; face = face variable ; tf= face thread NV_V (wallshear, =, C_STORAGE_R_NV(face,tf,SV_WALL_SHEAR)); this will give you the wall_shear_force multiplying by the area vector would give you the wall_shear_stress. Hope this helps , Ajay |
|
May 26, 2004, 12:55 |
Re: Help on UDF: access to wall shear stress
|
#3 |
Guest
Posts: n/a
|
Thank you very much, Ajay!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for shear stress at wall in laminar flow | Jafri | FLUENT | 1 | April 6, 2020 19:20 |
Accessing wall shear stress using UDF | Robert | Fluent UDF and Scheme Programming | 2 | July 31, 2013 09:34 |
Problems with wall shear stress. | xiexiehezuo | FLUENT | 1 | September 22, 2009 13:26 |
Re: About wall shear stress | Mike | FLUENT | 9 | November 17, 2003 15:41 |
Wall shear stress in a UDF | Jafri | FLUENT | 3 | December 6, 2002 18:29 |