CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Macro for wall shear stress gradient

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 23, 2012, 12:11
Default Macro for wall shear stress gradient
  #1
Member
 
Vitaly
Join Date: Jan 2012
Posts: 32
Rep Power: 6
Vitaly is on a distinguished road
Hello,

I am writing a UDF to obtain the wall shear stress gradient.

If I have a WSS on a single face, I have an algorithm for finding the gradient based on the WSS of the surrounding faces.

Is there a macro to automatically identify surrounding faces?
Thanks,
Vitaly
Vitaly is offline   Reply With Quote

Old   February 28, 2012, 09:19
Default
  #2
New Member
 
Join Date: Jun 2009
Posts: 9
Rep Power: 9
dfytanid is on a distinguished road
Hello Vitaly!

A good idea would be to store Wall Shear Stress (WSS) Values in UDS and after that use UDSI_G in order to access WSS gradient values.

Good work!
dfytanid is offline   Reply With Quote

Old   February 28, 2012, 11:13
Default
  #3
Member
 
Vitaly
Join Date: Jan 2012
Posts: 32
Rep Power: 6
Vitaly is on a distinguished road
Hello,

I am not sure how to get the WSS values. Do I have to calculate them or does Fluent allow me to just access them like I can access temperature values using F_T(f,t)?

I am getting confused by the macros in Fluent because some of them are not listed in the (very long) manual. Examples in the manual use macros that are never explained or defined (e.g. SV_UDS_I...what is that???). Is there a location where all these little things are explained?

It would be nice if there was an extensive list of macros and descriptions.

The ANSYS documentation is completely amateurish!!!

Thanks,

Vitaly

Last edited by Vitaly; February 28, 2012 at 18:51.
Vitaly is offline   Reply With Quote

Reply

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
wall shear stress Gradient az_f CFX 16 June 6, 2011 07:41
Macro to set Wall Shear Stress Satish FLUENT 4 November 26, 2003 15:46
shear stress scalar definitions? Novak Elliott CFX 0 April 6, 2003 01:45
Macro accessing the Wall shear stress? Li Jingping FLUENT 0 April 1, 2003 23:22
What is the detail definition of wall shear stress zjm FLUENT 0 January 2, 2002 08:43


All times are GMT -4. The time now is 17:02.