|
[Sponsors] |
July 6, 2014, 00:06 |
Oscillatory Shear Index Calculation
|
#1 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
Dear all,
Does anybody know how to calculate the oscillatory shear index (OSI) by ANSYS CFX, the OSI equation is attached. Thank you. Regards, AshtonJ |
|
July 6, 2014, 07:07 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
What are all the terms in the equation?
|
|
July 6, 2014, 08:15 |
|
#3 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
OSI is equal to absolute of wall shear stress integral over time divided by integral of absolute wall shear stress over time.
|
|
July 6, 2014, 08:32 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
Is this evaluated at each wall node, or averaged somehow?
You will probably need to activate the transient statistics on the results tab in CFX-Pre to do this. |
|
July 7, 2014, 06:46 |
|
#5 |
Member
Dave
Join Date: Aug 2011
Posts: 33
Rep Power: 15 |
Hi Ashkan,
Glenn - OSI is a non-dimensional scalar variable that is often used to characterise the oscillatory nature of vascular flows. It is calculated at each node and describes the transient deflection of the instantaneous WSS vector from the direction of the time-averaged WSS vector. Ashkan - You can approximate both integrals using the trapezoidal rule and the instantaneous values of the WSS vector/components. From there it is straightforward to calculate the OSI. I did this in the past using a small python script but I'm sure you can do it in CFD post and/or any data manipulation package (Matlab, SciLab etc.) Good luck, Dave |
|
July 7, 2014, 06:53 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
OK, thanks.
You might be able to do this using the transient statistics options in CFX. Then you will be able to have this as a variable accessible in CFD-Post like any other variable. So you should be able to do this inside the solver without any external post-processing. |
|
December 9, 2014, 13:30 |
|
#7 |
New Member
Emily Imdieke
Join Date: Apr 2013
Posts: 20
Rep Power: 13 |
Were you able to calculate it via Ansys?
|
|
December 9, 2014, 15:26 |
|
#8 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
Yes.
In CFX-Pre, what you need to do is to calculate the transient statistics of wall shear stress (WSSX, WSSY, WSSZ) and absolute wall shear stress components. Then OSI can be calculated via the following formula: OSI=0.5*(1-(trans_statistic(abs(WSSX))+trans_statistic(abs(WS SY))+trans_statistic(abs(WSSZ)))/(abs(trans_statistic(WSSX)+trans_statistic(WSSY)+t rans_statistic(WSSZ)))) |
|
December 12, 2014, 10:51 |
|
#9 |
New Member
Emily Imdieke
Join Date: Apr 2013
Posts: 20
Rep Power: 13 |
Thanks for your response.
I have never seen the trans_static function used like that before. You may not know, but is this equation then not possible to implement just in CFD-Post using the WSS.Trnavg variables that you can set to solve for Pre? |
|
December 12, 2014, 23:48 |
|
#10 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
Yes, it needs to be done in CFD-Post. In CFX Pre you just save the arithmetic average of WSS and abs(WSS) components and then in CFD-Post you define the above-mentioned formula to find the OSI.
|
|
December 14, 2014, 00:37 |
|
#11 |
New Member
Emily Imdieke
Join Date: Apr 2013
Posts: 20
Rep Power: 13 |
I have tried this and it has given me negative numbers for some reason. I am going to keep playing around with it, but do you know why this might be?
|
|
December 14, 2014, 02:02 |
|
#12 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 17 |
OK. There is a mistake in the OSI equation, swap the numerator and the denominator of the OSI equation, then it should work ...
|
|
December 15, 2014, 13:16 |
|
#13 |
New Member
Emily Imdieke
Join Date: Apr 2013
Posts: 20
Rep Power: 13 |
I finally got it to work in CFD-Post. I was trying to manipulate the data in Matlab as well to see if I could get it to run that way too and it didn't work, but doing it straight in CFD-Post is much easier.
Thanks for the help! I really appreciate it! |
|
August 5, 2015, 11:18 |
|
#14 |
New Member
Dimitris
Join Date: May 2012
Location: Patras, Greece
Posts: 2
Rep Power: 0 |
Dear all,
I've tried all the instructions above but it seems that i have a problem. When i'm changing the time step in CFD-Post the value of the OSI is changing too, which is not right. It suppose to be a time average WSS ratio, which means that has to has a fixed value. Any thoughts??Have i done anything wrong or I've just missing something? Best regards, Dimitris |
|
August 5, 2015, 20:23 |
|
#15 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
You don't set time step in CFD-Post so I do not understand what you mean. Also, time step does not appear in the equations shown above so I and now confused x2.
|
|
August 6, 2015, 02:49 |
|
#16 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
By changing time step in post you mean that you are looking at different .trn files I presume? The OSI calculation will change when looking at different results (in time), because your time-averaging is changing too. I guess OSI is defined over one single heart beat and not over a fraction of a heartbeat?
|
|
August 6, 2015, 03:16 |
|
#17 | ||
New Member
Dimitris
Join Date: May 2012
Location: Patras, Greece
Posts: 2
Rep Power: 0 |
Quote:
Quote:
0.5*(1-((abs((Wall Shear X.Trnavg)+(Wall Shear Y.Trnavg)+(Wall Shear Z.Trnavg)))/((abs(Wall Shear X.Trnavg))+(abs(Wall Shear Y.Trnavg))+(abs( Wall Shear Z.Trnavg))))). |
|||
August 6, 2015, 03:23 |
|
#18 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
Load the .trn file that is the last time step in the cardiac cycle. It will contain data that is time-averaged over one heart beat. But I guess you will need to run several cycles to get rid of initial value effects? Then delay the start of the averaging.
|
|
June 18, 2017, 03:31 |
|
#19 | |
New Member
reza abdollahi
Join Date: Oct 2016
Posts: 6
Rep Power: 10 |
Quote:
I working with fluent. how can I use this function? I can use cfd-post. |
||
June 18, 2017, 07:46 |
|
#20 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
No idea. Try the fluent forum.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for calculating Oscillatory Shear Index (OSI) | vasava | Fluent UDF and Scheme Programming | 24 | April 20, 2023 06:48 |
Shear Stress Calculation in the flow. | auburnuser | FLOW-3D | 11 | May 12, 2018 14:49 |
[OpenFOAM] Paraview 3.98 - errors when saving geometry file | pajot | ParaView | 1 | September 28, 2013 11:45 |
OpenFOAM install on Ubuntu Natty 11.04 | bkubicek | OpenFOAM | 13 | May 26, 2011 06:48 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |