CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   remove particle at interface fluent udf (

Joonwoo February 10, 2021 01:42

remove particle at interface fluent udf

I want to simulate the bubble column problem (VOF+DPM). In the simulation, I want to eliminate the bubble at the interface. Thus, I should make a udf in fluent. From the other question, I already made a udf as follows.

#include "udf.h"
#include "dpm.h"

DEFINE_DPM_SCALAR_UPDATE(stream_index, c, t, initialize, p)

Thread *phase_t = THREAD_SUB_THREAD(t, 1);

if (C_VOF(c, phase_t) >= 0.5)
p->stream_index = -1;


This function is compiled well, but the problem is not working in my simulation. I want to eliminate each bubble at the interface. However, each bubble is deleted at outlet. How can I define the remove particle at interface using udf?

Best regards,

All times are GMT -4. The time now is 07:14.