pavankonchada123
Subscriber

I am Really Thank ful Amine,

This is my last question for this 

If I use this udf I cant even see a single particle

DEFINE_DPM_SCALAR_UPDATE(parcelRemoval, c, t, initialize, tp)
{
 
{
// Fluid domain
Domain *domain = Get_Domain(1);
 
// Cell zone id
int Cell_Zone_ID = 2252;
 
cell_t cCZ;
Thread *tCZ = Lookup_Thread(domain, Cell_Zone_ID);
 
// Looping over all cells of the cell zone
begin_c_loop(cCZ, tCZ)
{
// Check if cCZ == c -> parcel inside
if (TP_DIAM(tp) >= 0.000095)
{
MARK_TP(tp, P_FL_REMOVED);
}
}
end_c_loop(cCZ, tCZ)
}