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

UDF for calculating Oscillatory Shear Index (OSI)

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

Like Tree1Likes
  • 1 Post By khuti

Reply
 
LinkBack Thread Tools Display Modes
Old   February 27, 2013, 06:59
Default UDF for calculating Oscillatory Shear Index (OSI)
  #1
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 592
Rep Power: 13
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: 11
Rep Power: 6
djing is on a distinguished road
hi dear colleague, to calculate the shear oscillation index in FLUENT I found these two links:

Time averaging in Fluent
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 12: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: 592
Rep Power: 13
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, 04:24
Default Osi udf
  #5
New Member
 
Join Date: Oct 2013
Posts: 4
Rep Power: 4
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, 61 views)
vasava likes this.
khuti is offline   Reply With Quote

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

Old   November 25, 2015, 05: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, 05:33
Default
  #8
New Member
 
Join Date: Oct 2013
Posts: 4
Rep Power: 4
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

Reply

Thread Tools
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 On
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 19:20.