CFD Online Discussion Forums

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

malay May 15, 2014 10: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 23:53.