# Time Averaged Shear Stress

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 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 CFX-Pre. 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: 14,194 Rep Power: 109 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 CFD-Post V14, I have not checked in detail.

 April 23, 2012, 03:59 #3 Member   Naimah Join Date: Nov 2011 Posts: 58 Rep Power: 8 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: 8 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 CFX-pre, 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: 622
Rep Power: 15
Quote:
 Originally Posted by ashtonJ After finding the TAWSS, in CFX-pre, 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.
Or import your results as a user surface in cfd-post...

Also, wouldnt it be possible to use the transient statistics to get the time-averaged variable in post directly?

 April 23, 2012, 05:04 #8 Member   Naimah Join Date: Nov 2011 Posts: 58 Rep Power: 8 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: 8 Hi ashton j, Based on this, " After finding the TAWSS, in CFX-pre, 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 cfd-post... Also, wouldnt it be possible to use the transient statistics to get the time-averaged 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: 8 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 CFX-Pre, 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: 8 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: 622
Rep Power: 15
Quote:
 Originally Posted by wanna88 I got another question, The TAWSS cannot be directly imported into the CFD post?
Yes you can, through a user surface. Say that you have calculated TAWSS in excel/matlab and know the value at each coordinate. Then, in CFD-post goto file/export and export any variable (say e.g. velocity) at the wall of interest. Check "line and face connectivity" and you'll get a file with coordinates and the variable + face connectivity.

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: 8 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: 622 Rep Power: 15 Nope, whatever you name your variable to in the .csv-file will show up in the variables list in post. No need for CFX-pre 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: 622 Rep Power: 15 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: 8 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 Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33 cyberbrain OpenFOAM 4 March 16, 2011 10:20 Carlo Siemens 1 March 4, 2009 08:35 Mike FLUENT 9 November 17, 2003 15:41 michael rasmussen CFX 1 May 19, 2003 09:49

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

 Contact Us - CFD Online - Privacy Statement - Top