CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   bubble size (http://www.cfd-online.com/Forums/fluent-udf/135609-bubble-size.html)

malay May 15, 2014 09:39

bubble size
 
Hi all
I try to find out the bubble diameter by this udf:
Code:

#include "udf.h"

DEFINE_EXECUTE_AT_END(bubblr Dia)
{

  Domain *d;
  Thread *t;
 
 
  cell_t c;
  d = Get_Domain(1); 

 d=c_PHASE_DIAMETER(d,t);

  printf("Bubble Dia: %g\n", d);
 
}

but I don't get the bubble Dia ?
any body can advise me with many thanks


All times are GMT -4. The time now is 15:28.