Ansys Learning Forum › Forums › Discuss Simulation › Fluids › Error when trying to compile UDF › Reply To: Error when trying to compile UDF
May 16, 2024 at 6:59 pm
Tim LS
Subscriber
I think the field is properly patched, as the contour plot of the oil-in-water looks fine. I can also see that the oil is removed from the correct places. However, the quantities that are removed are quite small. Might something be off with the scaling of the residuals?
I was also wondering if there is any difference between using DEFINE_SOURCE() and DEFINE_MASS_TRANSFER() to account for oil transfer between the two phases. For example, if it easier to achieve mass conversation with DEFINE_MASS_TRANSFER?Â
Â
Â