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

time-averaged wall shear stress gradient udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2018, 00:24
Default time-averaged wall shear stress gradient udf
  #1
New Member
 
miss001
Join Date: Aug 2014
Posts: 5
Rep Power: 12
Azi Lotfi is on a distinguished road
Hi everyone

Does anyone here know how to write a udf for calculating time-averaged wall shear stress gradient (TAWSSG). I desperately looking for some help/hints on how to write a udf calculating it.

Any helps/suggestions on this would be much appreciated

cheers
Azi Lotfi is offline   Reply With Quote

Old   April 3, 2018, 20:18
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Do you mean the average of the wall shear stress gradient or the gradient of the time-averaged wall shear stresss (TAWSSG)? Meaning average first then gradient or gradient first and then average?

Activating the data sampling for time statistics will get you the time-averaged wall shear stress. Then you simply need to calculate its gradient. A post-processor would do this better than Fluent because Fluent is a solver not a post-processor. You need to define a discretization scheme for the wall shear stress. Tecplot or CFD-Post comes to mind.
LuckyTran is offline   Reply With Quote

Old   April 4, 2018, 02:19
Default
  #3
New Member
 
miss001
Join Date: Aug 2014
Posts: 5
Rep Power: 12
Azi Lotfi is on a distinguished road
Hi LuckyTran,

I need to calculate two parameters: (i) the average of |WSSG| which means first calculating the magnitude of WSSG and then taking an average, (ii) the average of WSSG vector which means first finding the WSSG vector/matrix out of WSS and then taking a time-average.

I thought it would be much easier to write a udf for such calculations rather than post-processing. I've already done that for TAWSS, OSI and RRT but got stuck for WSSG sort of things.

Any suggestions on how to do this in post-processing/udf?

Many thanks
Azi Lotfi is offline   Reply With Quote

Old   April 16, 2020, 16:57
Default
  #4
New Member
 
Rupali
Join Date: Oct 2019
Posts: 14
Rep Power: 7
Rupali is on a distinguished road
Quote:
Originally Posted by Azi Lotfi View Post
Hi LuckyTran,

I need to calculate two parameters: (i) the average of |WSSG| which means first calculating the magnitude of WSSG and then taking an average, (ii) the average of WSSG vector which means first finding the WSSG vector/matrix out of WSS and then taking a time-average.

I thought it would be much easier to write a udf for such calculations rather than post-processing. I've already done that for TAWSS, OSI and RRT but got stuck for WSSG sort of things.

Any suggestions on how to do this in post-processing/udf?

Many thanks
Can you share with me how you calculated TAWSS, OSI and RRT?
Rupali 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
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
Contour of wall shear stress (average in the flow time) pedroxramos FLUENT 6 March 12, 2014 13:02
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 13:03
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07
shear stress scalar definitions? Novak Elliott CFX 0 April 6, 2003 02:45


All times are GMT -4. The time now is 16:06.