|
[Sponsors] |
April 3, 2018, 00:24 |
time-averaged wall shear stress gradient udf
|
#1 |
New Member
miss001
Join Date: Aug 2014
Posts: 5
Rep Power: 12 |
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 |
|
April 3, 2018, 20:18 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
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. |
|
April 4, 2018, 02:19 |
|
#3 |
New Member
miss001
Join Date: Aug 2014
Posts: 5
Rep Power: 12 |
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 |
|
April 16, 2020, 16:57 |
|
#4 | |
New Member
Rupali
Join Date: Oct 2019
Posts: 14
Rep Power: 7 |
Quote:
|
||
|
|
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 |