|
[Sponsors] |
October 25, 2010, 10:07 |
help for UDF, define bubble growth
|
#1 |
New Member
fabien tagada
Join Date: Oct 2010
Posts: 5
Rep Power: 16 |
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 |
|
Tags |
bubble diameter, multiphase flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 10:23 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 09:23 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 11:19 |