
[Sponsors] 
February 25, 2012, 05:22 
Time Averaged Shear Stress

#1 
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 248
Rep Power: 10 
Dear All,
I want to calculate time average wall shear stress(TAWSS) from following equation using CFXPre. TAWSS=(1/T)*(Integral [(wall shear stress)*dt]) Please let me know how to do that. Thank you, Regards, AshtonJ 

February 25, 2012, 06:56 

#2 
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 13,808
Rep Power: 107 
I would export the history of wall shear stress as a text file and do the integration in another package (excel, matlab etc). But you may be able to do this in CFDPost V14, I have not checked in detail.


April 23, 2012, 03:59 

#3 
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 7 
Hi,
Can Time average wall shear stress be calculated in Fluent? 

April 23, 2012, 04:02 

#4 
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 248
Rep Power: 10 
I agree with ghorrocks, the easiest way is to export the data as txt file and do the time average WSS in excel or matlab.


April 23, 2012, 04:09 

#5 
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 7 
if do in excel/matlab, how to see the TAWSS contour plot on the image/geometry?


April 23, 2012, 04:15 

#6 
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 248
Rep Power: 10 
After finding the TAWSS, in CFXpre, define a 3D function and import the time aweraged WSS, then using this function, define an expression and using the expression, define a new variable. Now, if you run your case just for one iteration, you can find your defined varibale in CFD Post and plot it.


April 23, 2012, 04:38 

#7  
Senior Member
Lance
Join Date: Mar 2009
Posts: 610
Rep Power: 14 
Quote:
Also, wouldnt it be possible to use the transient statistics to get the timeaveraged variable in post directly? 

April 23, 2012, 05:04 

#8 
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 7 
is that the things above mentioned is using CFX?
Can I applied the same method on FLUENT? Is there any tutorials that can show me on how to do it? 

April 27, 2012, 04:35 

#9 
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 7 
Hi ashton j,
Based on this, " After finding the TAWSS, in CFXpre, define a 3D function and import the time aweraged WSS, then using this function, define an expression and using the expression, define a new variable. Now, if you run your case just for one iteration, you can find your defined varibale in CFD Post and plot it. " What expression you have defined? Is that the TAWSS expression that you have mentioned above. Hi Lance, "Or import your results as a user surface in cfdpost... Also, wouldnt it be possible to use the transient statistics to get the timeaveraged variable in post directly? " How to do this in CFD post. Would you mind to help me? Thank you Naima 

April 27, 2012, 04:38 

#10 
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 248
Rep Power: 10 
Lets say you defined a 3D function TWSS(x,y,z) then u define a new expresssin TWSS2= TWSS(x,y,z)
Good luck 

April 27, 2012, 04:48 

#11 
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 7 
Thank you so much.
Sorry, I have another question, where you defined the 3D function, is it in pre CFX? 

April 27, 2012, 04:50 

#12 
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 248
Rep Power: 10 
Yes. In CFXPre, click on "User Function", then you can define 1D and 3D functions.


April 27, 2012, 04:52 

#13 
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 7 
I got another question,
You have calculated the time average wall shear stress. Why do you need to find the 3D function? The TAWSS cannot be directly imported into the CFD post? 

April 27, 2012, 05:03 

#14  
Senior Member
Lance
Join Date: Mar 2009
Posts: 610
Rep Power: 14 
Quote:
Now, simply replace the variable you exported with your calculated values of TAWSS, and then import the file as a user surface. 

April 27, 2012, 05:18 

#15 
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 7 
Thank you so much.
After import the data, do I still need to define an expression and define a new variable in CFD Post? naimah 

April 27, 2012, 05:20 

#16 
Senior Member
Lance
Join Date: Mar 2009
Posts: 610
Rep Power: 14 
Nope, whatever you name your variable to in the .csvfile will show up in the variables list in post.
No need for CFXpre at all. 

April 27, 2012, 05:20 

#17 
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 248
Rep Power: 10 
Before plotting your TAWSS in CFD Post you need to define a new variable for your computed TAWSS in CFX Pre.
In order to define a new variable, you need an expression and in order to import your computed TAWSS into CFX Pre, you need a new function. TAWSS the you calculate is a 3D function, because at each node of your domain, you have a corresponding value for TAWSS and each node has three coordinates x, y, z 

April 27, 2012, 05:22 

#18 
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 248
Rep Power: 10 
I recommend you to use the method explained by Lance, it is straightforward.


April 27, 2012, 05:31 

#19 
Senior Member
Lance
Join Date: Mar 2009
Posts: 610
Rep Power: 14 
But if you only want the arithmetic average of WSS then I would use the transient statistics function instead. Then you would get the value directly in post.
(this needs to be setup in pre, before you run your simulation) 

April 27, 2012, 05:43 

#20 
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 7 
Dear all,
Thank you so much. I will try my best first since i used fluent, but I can import my results into excel/matlab and calculate the TAWSS. I will try to bring this TAWSS results into CFD post. Thank you so much for your help. Naimah 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
How to write k and epsilon before the abnormal end  xiuying  OpenFOAM Running, Solving & CFD  8  August 27, 2013 15:33 
Full pipe 3D using icoFoam  cyberbrain  OpenFOAM  4  March 16, 2011 10:20 
Post processing  Wall shear stress  Carlo  Siemens  1  March 4, 2009 08:35 
Re: About wall shear stress  Mike  FLUENT  9  November 17, 2003 15:41 
Specifying shear stress on wall in 5.5.1  michael rasmussen  CFX  1  May 19, 2003 09:49 