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

Oscillatory Shear Index Calculation

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2017, 13:54
Default
  #21
New Member
 
ahmad
Join Date: Jun 2013
Posts: 11
Rep Power: 13
ahmad95 is on a distinguished road
Quote:
Originally Posted by Lance View Post
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.
Hello.
How can I delay time to start?
All off my Runs done by TRANSIENT STATISTICS checked with out any thing about time off starting.
I have 8 cycle and I wanna to calculate OSI in last cycle and done all of runs with out any start time. Can I set an expression which do it:
WSS(8.24s)]-WSS(7.58)
ahmad95 is offline   Reply With Quote

Old   November 6, 2017, 03:52
Default
  #22
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by ahmad95 View Post
Hello.
How can I delay time to start?
All off my Runs done by TRANSIENT STATISTICS checked with out any thing about time off starting.
I have 8 cycle and I wanna to calculate OSI in last cycle and done all of runs with out any start time. Can I set an expression which do it:
WSS(8.24s)]-WSS(7.58)
You need to set the start/stop iteration for transient statistics in cfx-pre. It is right there in the trn stats tab. As far as I know there is no way to to time-averaging in post.
Lance is offline   Reply With Quote

Old   March 15, 2018, 06:47
Default Can you explain how to understand the denominator expression?
  #23
New Member
 
yuqian mei
Join Date: Mar 2017
Posts: 1
Rep Power: 0
yuqian is on a distinguished road
Sorry, I can not appreciate the expression on your denominator of the equation. Can you explain it more?

Quote:
Originally Posted by Alfamaniac View Post
Exactly!When i'm changing the time step in CFD-Post the value of OSI is changing too. But now i can understand that it's happening because we are looking on a different .trn file as you mentioned above.How it would be possible to calculate OSI for one single heart beat?Should I do anything differently in CFX-Pre or should I define there any expressions?The expression that i'm using for the OSI (in CFD-Post) is

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))))).
yuqian is offline   Reply With Quote

Old   June 11, 2018, 10:59
Default
  #24
New Member
 
Ranit Das
Join Date: Jun 2018
Posts: 1
Rep Power: 0
RAN123 is on a distinguished road
I am trying to calculate the TAWSS over a particular surface . i have 1800 points all over the surface. so it is not possible manually to calaculate TAWSS ans OSI for each and individual points. is there any way by which i can find out the TAWSS & OSI for the entire surface and its graphical variation as obtained in other parameters like pressure velocity and others?
RAN123 is offline   Reply With Quote

Old   October 16, 2018, 14:53
Default
  #25
New Member
 
carlos torres martinez
Join Date: Oct 2018
Posts: 1
Rep Power: 0
carlos11194 is on a distinguished road
Quote:
Originally Posted by Alfamaniac View Post
Exactly!When i'm changing the time step in CFD-Post the value of OSI is changing too. But now i can understand that it's happening because we are looking on a different .trn file as you mentioned above.How it would be possible to calculate OSI for one single heart beat?Should I do anything differently in CFX-Pre or should I define there any expressions?The expression that i'm using for the OSI (in CFD-Post) is

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))))).
Hello could you help me, how can I get the values ​​of Wall Shear X.Trnavg, etc.
carlos11194 is offline   Reply With Quote

Old   October 17, 2018, 03:27
Default
  #26
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by carlos11194 View Post
Hello could you help me, how can I get the values ​​of Wall Shear X.Trnavg, etc.
Transient averages can be defined in CFX-pre. See the manual?
Lance is offline   Reply With Quote

Old   November 13, 2018, 00:31
Default
  #27
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10
dewey is on a distinguished road
Hi, I try this equation but with out success


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))))).


0.5 * (1 - (((Wall Shear X.Trnavg) ^ 2 + (Wall Shear Y.Trnavg) ^ 2 + (Wall Shear Z.Trnavg)^ 2) ^ 0.5) / (((Wall Shear X) ^ 2 + (Wall Shear Y) ^ 2 + (Wall Shear Z) ^ 2) ^ 0.5))


some one could tell me wich is the OSI equation for CFX please?
dewey is offline   Reply With Quote

Old   August 23, 2022, 11:20
Default Error
  #28
New Member
 
Md Asif Equbal
Join Date: Aug 2022
Location: India
Posts: 15
Rep Power: 4
mep20108@tezu.ac.in is on a distinguished road
while typing expression of OSI it shows errror as the following unrecognised name was referenced: trans_statistic.

Can anyone help me regarding this. I am using Ansys version 2022R1.
Attached Images
File Type: png osi.PNG (10.2 KB, 16 views)
mep20108@tezu.ac.in is offline   Reply With Quote

Old   August 23, 2022, 12:36
Default
  #29
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
who introduced the "trans_statistic( )" function? where did you get that expression from?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   August 23, 2022, 14:46
Default
  #30
New Member
 
Md Asif Equbal
Join Date: Aug 2022
Location: India
Posts: 15
Rep Power: 4
mep20108@tezu.ac.in is on a distinguished road
I get it from the link

Oscillatory Shear Index Calculation
Attached Images
File Type: png osi.PNG (10.2 KB, 11 views)
mep20108@tezu.ac.in is offline   Reply With Quote

Old   August 23, 2022, 14:48
Default
  #31
New Member
 
Md Asif Equbal
Join Date: Aug 2022
Location: India
Posts: 15
Rep Power: 4
mep20108@tezu.ac.in is on a distinguished road
I get it from the link

Oscillatory Shear Index Calculation
mep20108@tezu.ac.in is offline   Reply With Quote

Old   August 23, 2022, 15:07
Default Error
  #32
New Member
 
Md Asif Equbal
Join Date: Aug 2022
Location: India
Posts: 15
Rep Power: 4
mep20108@tezu.ac.in is on a distinguished road
while typing expression in cfd post provided above shows errror as the following unrecognised name was referenced: trans_statistic.

Can anyone help me regarding this. I am using Ansys version 2022R1.
Attached Images
File Type: png osi.PNG (10.2 KB, 7 views)
mep20108@tezu.ac.in is offline   Reply With Quote

Old   August 24, 2022, 05:42
Default
  #33
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28
Gert-Jan will become famous soon enough
Above in this thread and in the link you provided it is explained. The term trans_statistic does not exist in Post. It is an reference to Transient average variables. This can be a simple number average, or rms values, or whatever you defined.

You first need to calculate these variables in a transient calculation. Therefore you should open CFX-Pre and define the type of Transient average variable ou want (in Output Control).
Then after the run, you can open the results in Post, and you obtain additional variables like WSS.Trnavg.
This is the Transient Average of WSS. Then in you expression you should replace the trans_statistic by WSS.Trnavg

It is all already explained above.
Gert-Jan is offline   Reply With Quote

Old   August 25, 2022, 06:49
Default
  #34
New Member
 
Md Asif Equbal
Join Date: Aug 2022
Location: India
Posts: 15
Rep Power: 4
mep20108@tezu.ac.in is on a distinguished road
Thanks for detail explanation.
But I am using Fluent. So that method not works for me.Can you suggest how to do same in Fluent.
mep20108@tezu.ac.in is offline   Reply With Quote

Old   August 25, 2022, 07:22
Default
  #35
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28
Gert-Jan will become famous soon enough
Ask your question in the Fluent-forum, not the CFX-forum.

Alternatively, start using CFX. I can highly recommend this piece of software, especially for transient calculations. For multiple reasons, too many to list them here.
Gert-Jan is offline   Reply With Quote

Old   December 6, 2022, 01:55
Default
  #36
New Member
 
Md Asif Equbal
Join Date: Aug 2022
Location: India
Posts: 15
Rep Power: 4
mep20108@tezu.ac.in is on a distinguished road
Thanks Gert-Jan for your valuable suggestion.
mep20108@tezu.ac.in is offline   Reply With Quote

Old   October 18, 2023, 08:18
Talking
  #37
New Member
 
wangyuan
Join Date: Oct 2023
Posts: 1
Rep Power: 0
a4oft is on a distinguished road
MARK AND LEARN thanks
a4oft is offline   Reply With Quote

Old   December 4, 2023, 22:58
Default
  #38
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by dewey View Post
Hi, I try this equation but with out success


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))))).


0.5 * (1 - (((Wall Shear X.Trnavg) ^ 2 + (Wall Shear Y.Trnavg) ^ 2 + (Wall Shear Z.Trnavg)^ 2) ^ 0.5) / (((Wall Shear X) ^ 2 + (Wall Shear Y) ^ 2 + (Wall Shear Z) ^ 2) ^ 0.5))


some one could tell me wich is the OSI equation for CFX please?
Hello, I encountered the same problem as you. I believe your formula is correct. However, the reason it cannot be successfully solved in CFX is that the denominator might be zero. Did you manage to solve this problem in the end?
Yanlu is offline   Reply With Quote

Old   December 4, 2023, 23:35
Default
  #39
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If the denominator is zero then put in an if() statement or use a min() function.

Note that with the if() statement both the negative and positive cases are evaluated, so if one evaluates to a divide by zero error but the if() statement should go to the other one it will still return an error.

For instance, C=if(abs(B)>0.01,A/B,A/0.01) will return an error if B=0; but this function will work with B=0:
Denominator = max(B,0.01)
C = A/Denominator
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 6, 2023, 02:24
Default
  #40
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If the denominator is zero then put in an if() statement or use a min() function.

Note that with the if() statement both the negative and positive cases are evaluated, so if one evaluates to a divide by zero error but the if() statement should go to the other one it will still return an error.

For instance, C=if(abs(B)>0.01,A/B,A/0.01) will return an error if B=0; but this function will work with B=0:
Denominator = max(B,0.01)
C = A/Denominator
Your response was accurate and effectively resolved my issue. I greatly appreciate your assistance.
Yanlu 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
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


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