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 modified drag force

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2015, 09:59
Default UDF for modified drag force
  #1
New Member
 
Burak EKMEKÇİ
Join Date: Mar 2013
Posts: 9
Rep Power: 13
burak_ekmekci is on a distinguished road
Hi all;

I am trying to obtain a udf that consist of real Turbulence variable (TKE or Turbulence intensity or etc). Main aim is to change Drag Force. A sample is below ;

#include "udf.h"

DEFINE_DPM_DRAG(particle_drag_force,Re,p)
{
real w, drag_force;
if (Re < 0.01)
{
drag_force=18.0;
return (drag_force);
}
else if (Re < 20.0)
{
w = log10(Re);
drag_force = 18.0 + 2.367*pow(Re,0.82-0.05*w) ;
return (drag_force);
}
else
/* Note: suggested valid range 20 < Re < 260 */
{
drag_force = 18.0 + 3.483*pow(Re,0.6305) ;
return (drag_force);
}
}

Is it possible to add real TKE value into to UDF ? or how can ı do ? For example when ı change codes like ;

else if (Re < 20.0)
{
w = log10(TKE);
drag_force = 18.0 + 2.367*pow(Re,0.82-0.05*w) ;
return (drag_force);

It does not work.

Thanks for your helps.

Best regards!
burak_ekmekci is offline   Reply With Quote

Old   May 17, 2015, 10:16
Default
  #2
New Member
 
Burak EKMEKÇİ
Join Date: Mar 2013
Posts: 9
Rep Power: 13
burak_ekmekci is on a distinguished road
Any commend ?
burak_ekmekci 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
[URGENT] Drag Force UDF in Power-Law Fluid ali hemmati Fluent UDF and Scheme Programming 2 June 13, 2017 04:37
Force vectors for drag during sweeping motion aamer FLUENT 0 April 18, 2011 09:17
drag coefficient & drag force abhishek.mnit FLUENT 0 April 30, 2009 00:48
DEFINE_CG_MOTION and pressure force Teo Fumagalli FLUENT 0 April 11, 2008 11:25
Airfoil Drag Force wowakai Main CFD Forum 3 October 13, 1998 20:27


All times are GMT -4. The time now is 11:42.