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

Macro for wall shear stress gradient

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gearboy

Reply
 
LinkBack Thread Tools Search this Thread 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: 14
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: 11
Rep Power: 17
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: 14
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

Old   April 3, 2018, 00:11
Default time-averaged wall shear stress gradient (TAWSSG) udf
  #4
New Member
 
miss001
Join Date: Aug 2014
Posts: 5
Rep Power: 12
Azi Lotfi is on a distinguished road
Hi

Does anyone here know how to write a udf to calculate time-averaged wall shear stress gradient (TAWSSG)?

Any suggestions would be much appreciated

cheers

Azi Lotfi is offline   Reply With Quote

Old   April 10, 2018, 04:55
Default
  #5
Senior Member
 
Join Date: Feb 2010
Posts: 164
Rep Power: 17
gearboy is on a distinguished road
Quote:
Originally Posted by Vitaly View Post
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
You can use the below macro to get the shear force on wall.

NV_VS(shear_force,=,F_STORAGE_R_N3V(f,tf,SV_WALL_S HEAR),*,-1); //F_STORAGE_R_N3V(f,tf,SV_WALL_SHEAR) is the fluid's force, so multiply -1 to get force on wall
letsroll likes this.
gearboy is offline   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
wall shear stress Gradient az_f CFX 16 June 6, 2011 08: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 02:45
Macro accessing the Wall shear stress? Li Jingping FLUENT 0 April 2, 2003 00: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 18:42.