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

help for UDF, define bubble growth

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2010, 09:07
Default help for UDF, define bubble growth
  #1
New Member
 
fabien tagada
Join Date: Oct 2010
Posts: 5
Rep Power: 15
tagada is on a distinguished road
Hello,

I'm trying to write an UDF for the secondary phase in a multiphase flow study : air bubbles + water

I want to increase the size of injected particles (on Y axis) to simulate bubble growth.

Could anyone please let me know if I am on the right track? The UDF is as follows:

#include "udf.h"
DEFINE_PROPERTY(bubble_diameter, c, t)
{
cell_t c;
Thread *t;
real D;
float x[0];
float y;
face_t f;
y = x[0];
D = 6*pow((0.015/2*0.7*1000.0*9.81)* 0.000300*y,1/3);
}

Thanks for your help .

Fabien
tagada is offline   Reply With Quote

Reply

Tags
bubble diameter, multiphase flow


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
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 09:23
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19


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