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

Time Averaged Shear Stress

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2012, 05:22
Question Time Averaged Shear Stress
  #1
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17
ashtonJ is on a distinguished road
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
ashtonJ is offline   Reply With Quote

Old   February 25, 2012, 06:56
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   April 23, 2012, 04:59
Default
  #3
Member
 
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15
wanna88 is on a distinguished road
Hi,

Can Time average wall shear stress be calculated in Fluent?
wanna88 is offline   Reply With Quote

Old   April 23, 2012, 05:02
Default
  #4
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17
ashtonJ is on a distinguished road
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.
ashtonJ is offline   Reply With Quote

Old   April 23, 2012, 05:09
Default
  #5
Member
 
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15
wanna88 is on a distinguished road
if do in excel/matlab, how to see the TAWSS contour plot on the image/geometry?
wanna88 is offline   Reply With Quote

Old   April 23, 2012, 05:15
Default
  #6
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17
ashtonJ is on a distinguished road
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.
ashtonJ is offline   Reply With Quote

Old   April 23, 2012, 05:38
Default
  #7
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by ashtonJ View Post
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?
Lance is offline   Reply With Quote

Old   April 23, 2012, 06:04
Default
  #8
Member
 
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15
wanna88 is on a distinguished road
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?
wanna88 is offline   Reply With Quote

Old   April 27, 2012, 05:35
Default
  #9
Member
 
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15
wanna88 is on a distinguished road
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
wanna88 is offline   Reply With Quote

Old   April 27, 2012, 05:38
Default
  #10
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17
ashtonJ is on a distinguished road
Lets say you defined a 3D function TWSS(x,y,z) then u define a new expresssin TWSS2= TWSS(x,y,z)

Good luck
ashtonJ is offline   Reply With Quote

Old   April 27, 2012, 05:48
Default
  #11
Member
 
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15
wanna88 is on a distinguished road
Thank you so much.


Sorry, I have another question, where you defined the 3D function, is it in pre CFX?
wanna88 is offline   Reply With Quote

Old   April 27, 2012, 05:50
Default
  #12
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17
ashtonJ is on a distinguished road
Yes. In CFX-Pre, click on "User Function", then you can define 1D and 3D functions.
ashtonJ is offline   Reply With Quote

Old   April 27, 2012, 05:52
Default
  #13
Member
 
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15
wanna88 is on a distinguished road
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?
wanna88 is offline   Reply With Quote

Old   April 27, 2012, 06:03
Default
  #14
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by wanna88 View Post
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.
Lance is offline   Reply With Quote

Old   April 27, 2012, 06:18
Default
  #15
Member
 
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15
wanna88 is on a distinguished road
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
wanna88 is offline   Reply With Quote

Old   April 27, 2012, 06:20
Default
  #16
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
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.
Lance is offline   Reply With Quote

Old   April 27, 2012, 06:20
Default
  #17
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17
ashtonJ is on a distinguished road
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
ashtonJ is offline   Reply With Quote

Old   April 27, 2012, 06:22
Default
  #18
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17
ashtonJ is on a distinguished road
I recommend you to use the method explained by Lance, it is straightforward.
ashtonJ is offline   Reply With Quote

Old   April 27, 2012, 06:31
Default
  #19
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
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)
Lance is offline   Reply With Quote

Old   April 27, 2012, 06:43
Default
  #20
Member
 
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15
wanna88 is on a distinguished road
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
wanna88 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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16: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 10:49


All times are GMT -4. The time now is 03:00.