CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Help on UDF: access to wall shear stress

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

Like Tree1Likes
  • 1 Post By Ajay

LinkBack Thread Tools Display Modes
Old   May 20, 2004, 00:21
Default Help on UDF: access to wall shear stress
Zhihua Li
Posts: n/a

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!

  Reply With Quote

Old   May 21, 2004, 22:29
Default Re: Help on UDF: access to wall shear stress
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 ,


Amir likes this.
  Reply With Quote

Old   May 26, 2004, 11:55
Default Re: Help on UDF: access to wall shear stress
Zhihua Li
Posts: n/a
Thank you very much, Ajay!
  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
Accessing wall shear stress using UDF Robert Fluent UDF and Scheme Programming 2 July 31, 2013 08:34
Problems with wall shear stress. xiexiehezuo FLUENT 1 September 22, 2009 12:26
Re: About wall shear stress Mike FLUENT 9 November 17, 2003 15:41
UDF for shear stress at wall in laminar flow Jafri FLUENT 0 February 4, 2003 12:04
Wall shear stress in a UDF Jafri FLUENT 3 December 6, 2002 18:29

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