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

Help on UDF: access to wall shear stress

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Ajay

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2004, 01:21
Default Help on UDF: access to wall shear stress
  #1
Zhihua Li
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
  Reply With Quote

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

Amir likes this.
  Reply With Quote

Old   May 26, 2004, 12:55
Default Re: Help on UDF: access to wall shear stress
  #3
Zhihua Li
Guest
 
Posts: n/a
Thank you very much, Ajay!
  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
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


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