Keyur Kanade
Ansys Employee

 fl and fv are the mass-fraction of the liquid and vapor phase, respectively.


DEFINE_CAVITATION_RATE is used to calculate  only. The values of Re and Rc are computed by the solver, accordingly.


An example of udf is below. 


Regards,


Keyur