hI, with this little UDF I have to impose this simple BC to a Porous Jump interior surface: 1 - if particle identity is equal to selected number, trap particle; else 2 - apply the 'interior' attribute to my surface, so continue with tracking particle.
the problem is: in case 2 - particles stop their run! It is wrong!!!!! Sigh please any suggestions?!? I'll be crazy very soon!
Many thanx to helper!!
ps: this is the code.
/*TO call function that makes the comparison */
Message("select = %d part_id ferma = %d\n",select,p->part_id);
fprintf(fp,"((%10.6g %10.6g %10.6g %10d %10d %10.6g %10.6g %10.6g) %d)\n",p->state.pos,p->state.pos,p->state.pos,t,f,f_normal,f_normal,f_normal,p->part_id);
|All times are GMT -4. The time now is 14:18.|