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

need help for UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 13, 2011, 04:36
Post need help for UDF
  #1
New Member
 
fabien tagada
Join Date: Oct 2010
Posts: 5
Rep Power: 6
tagada is on a distinguished road
Hello everybody

I'm trying to increase the particle size (diameter) with UDF in fluent. I made a little code for testing purposes and interpreted it and then defined an injection single which uses this UDF. But when I dislay particle track, the diameter doesn't change. If someone could help me it would be great.
This is my code:

/* compute new particle diameter */
#include "udf.h"

DEFINE_DPM_LAW(diam_particle,p,ci)
{
P_DIAM(p) = 6.0*pow((0.015*0.0003*P_POS(p)[0]/(2*0.7*1000.0*9.81)),(1/3));
}
tagada is offline   Reply With Quote

Reply

Tags
diameter, dpm_law, particle size, udfs

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



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