Ansys Learning Forum › Forums › Installation and Licensing › Ansys Products › Fluent DNB simulation › Reply To: Fluent DNB simulation
October 18, 2024 at 3:40 pm
Subscriber
Hello the above problem is solved. Now I have got a recalibrated model for nucleation site density, udf for which is given below
 #include "udf.h"
 #define C 42.27
 #define n 4.67
 #define delta_T_ref 1
Â
 DEFINE_BOILING_PROPERTY(nucleation_site_density, f, t, c0, t0, from_index, from_species_index, to_index, to_species_index)
{
  real nuc_d, subcool;
  real T_w=F_T(f,t);
  real T_SAT = C_STORAGE_R(c0,t0,SV_SAT_TEMPERATURE);
Â
  Â
  /* Subcooling calculation: T_w - T_l */
  subcool = T_w - T_SAT;
Â
  /* Calculate nucleation site density using the formula */
  nuc_d = pow(C,n) * pow((subcool / delta_T_ref), n);
Â
  return nuc_d;
} This seems correct but why is fluent crashing while predicting wall temperature and printing on console bisection method cannot find wall temperature. How can I resolve this issue, Please help
Â