|
[Sponsors] |
February 25, 2012, 05:22 |
Time Averaged Shear Stress
|
#1 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
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: 17,854
Rep Power: 144 |
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, 04:59 |
|
#3 |
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15 |
Hi,
Can Time average wall shear stress be calculated in Fluent? |
|
April 23, 2012, 05:02 |
|
#4 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
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, 05:09 |
|
#5 |
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15 |
if do in excel/matlab, how to see the TAWSS contour plot on the image/geometry?
|
|
April 23, 2012, 05:15 |
|
#6 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
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, 05:38 |
|
#7 | |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
Quote:
Also, wouldnt it be possible to use the transient statistics to get the time-averaged variable in post directly? |
||
April 23, 2012, 06:04 |
|
#8 |
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15 |
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, 05:35 |
|
#9 |
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15 |
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, 05:38 |
|
#10 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
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, 05:48 |
|
#11 |
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15 |
Thank you so much.
Sorry, I have another question, where you defined the 3D function, is it in pre CFX? |
|
April 27, 2012, 05:50 |
|
#12 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
Yes. In CFX-Pre, click on "User Function", then you can define 1D and 3D functions.
|
|
April 27, 2012, 05:52 |
|
#13 |
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15 |
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, 06:03 |
|
#14 | |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
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, 06:18 |
|
#15 |
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15 |
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, 06:20 |
|
#16 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
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, 06:20 |
|
#17 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
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, 06:22 |
|
#18 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
I recommend you to use the method explained by Lance, it is straightforward.
|
|
April 27, 2012, 06:31 |
|
#19 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
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, 06:43 |
|
#20 |
Member
Naimah
Join Date: Nov 2011
Posts: 58
Rep Power: 15 |
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 |
|
|
|
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 |