|
[Sponsors] |
February 23, 2012, 12:11 |
Macro for wall shear stress gradient
|
#1 |
Member
Vitaly
Join Date: Jan 2012
Posts: 32
Rep Power: 14 |
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 |
|
February 28, 2012, 09:19 |
|
#2 |
New Member
Join Date: Jun 2009
Posts: 11
Rep Power: 17 |
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! |
|
February 28, 2012, 11:13 |
|
#3 |
Member
Vitaly
Join Date: Jan 2012
Posts: 32
Rep Power: 14 |
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. |
|
April 3, 2018, 00:11 |
time-averaged wall shear stress gradient (TAWSSG) udf
|
#4 |
New Member
miss001
Join Date: Aug 2014
Posts: 5
Rep Power: 12 |
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 |
|
April 10, 2018, 04:55 |
|
#5 | |
Senior Member
Join Date: Feb 2010
Posts: 164
Rep Power: 17 |
Quote:
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 |
||
|
|
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 |