CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF for calculating Oscillatory Shear Index (OSI)

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree6Likes
  • 6 Post By khuti

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2013, 05:59
Default UDF for calculating Oscillatory Shear Index (OSI)
  #1
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 19
vasava will become famous soon enough
I am writing a UDF for calculating Oscillatory Shear Index (OSI).

The definition of OSI can be found here (right side bottom of 2nd page)
http://utopia.duth.gr/~soulis/Public...0of%20Non-.pdf

Any hint or help about this?
vasava is offline   Reply With Quote

Old   October 15, 2013, 08:53
Default
  #2
New Member
 
Join Date: Sep 2013
Posts: 2
Rep Power: 0
Mailto is on a distinguished road
I'm trying to do the same actually
Mailto is offline   Reply With Quote

Old   October 22, 2014, 07:02
Default osi in Fluent
  #3
New Member
 
Join Date: Sep 2011
Posts: 14
Rep Power: 11
djing is on a distinguished road
hi dear colleague, to calculate the shear oscillation index in FLUENT I found these two links:

http://www.cfd-online.com/Forums/flu...ng-fluent.html
http://cape-forum.com/index.php/topic,1074.0.html

but in the second link the colleague "infocfd" is about a UDF attached, but I canít download it ... if you can download the UDF or help me to understand the principle of calculated OSI on FLUENT please answer me ... thank you for your cooperation.

Last edited by wyldckat; October 26, 2014 at 11:22. Reason: fixed Google'lized links
djing is offline   Reply With Quote

Old   October 23, 2014, 01:46
Default
  #4
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 19
vasava will become famous soon enough
Sorry but I cant download it either. Anyways I calculated OSI with matlab however visualization of the calculated is still an issue for us.
vasava is offline   Reply With Quote

Old   October 29, 2015, 03:24
Default Osi udf
  #5
New Member
 
Join Date: Oct 2013
Posts: 4
Rep Power: 9
khuti is on a distinguished road
Hello Guys,

I did some work in this field awhile ago, you can use the attached UDF I wrote for my uses back then.

Hope it helps, and yeah I know this one is an oldie...

Regards.
Attached Files
File Type: c osi.c (1.7 KB, 316 views)
khuti is offline   Reply With Quote

Old   November 18, 2015, 01:39
Default
  #6
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 19
vasava will become famous soon enough
I will give it a try. Thanks Khuti!
vasava is offline   Reply With Quote

Old   November 25, 2015, 04:49
Default
  #7
New Member
 
Join Date: Jun 2014
Posts: 1
Rep Power: 0
dhplsy is on a distinguished road
Thank you, Khuti.
I want to clarify if the OSI values are area-averaged.
dhplsy is offline   Reply With Quote

Old   December 20, 2015, 04:33
Default
  #8
New Member
 
Join Date: Oct 2013
Posts: 4
Rep Power: 9
khuti is on a distinguished road
Hi Dhplsy,

Sorry for the delayed response.

The values that are being used in the calculation are taken from the Fluent raw data storage, so they are per cell face and averaged by the relevant cell face area.

Also please note, that you might want to delete some of the code related to the names of the UDM:

DEFINE_EXECUTE_ON_LOADING(nameinit, libudf)
{
Set_User_Memory_Name(0, "uWSS");
Set_User_Memory_Name(1, "uWSSx");
Set_User_Memory_Name(2, "uWSSy");
Set_User_Memory_Name(3, "uWSSz");
Set_User_Memory_Name(4, "OSI");
}

( as I remember it caused some problems, hadn't the chance to figure out what was the problem)

Enjoy!
khuti is offline   Reply With Quote

Old   October 26, 2019, 15:20
Exclamation Osi udf
  #9
New Member
 
Andrea
Join Date: Oct 2019
Location: Italy
Posts: 2
Rep Power: 0
andrea impiombato is on a distinguished road
Hello,
I've been used the UDF above. I don't understand why the WSS values are not in good agreement as those automatically calculated by Fluent. Consequently, the calculation of OSI is not consistent ... Has anyone solved this problem?


Thanks
andrea impiombato is offline   Reply With Quote

Old   January 3, 2020, 05:22
Default
  #10
ATT
New Member
 
wangke
Join Date: Jan 2020
Posts: 1
Rep Power: 0
ATT is on a distinguished road
Quote:
Originally Posted by khuti View Post
Hello Guys,

I did some work in this field awhile ago, you can use the attached UDF I wrote for my uses back then.

Hope it helps, and yeah I know this one is an oldie...

Regards.
Can you give me?Thank you
ATT is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
specified shear at wall - temperature gradient - UDF - access violation error senD Fluent UDF and Scheme Programming 9 September 18, 2014 07:29
Accessing wall shear stress using UDF Robert Fluent UDF and Scheme Programming 2 July 31, 2013 08:34
UDF of shear flows - Just need a little little help yannossss FLUENT 5 July 11, 2011 07:11
OpenFOAM install on Ubuntu Natty 11.04 bkubicek OpenFOAM 13 May 26, 2011 05:48
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03


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