


{"id":348294,"date":"2024-02-01T15:11:08","date_gmt":"2024-02-01T15:11:08","guid":{"rendered":"\/forum\/forums\/reply\/348294\/"},"modified":"2024-02-01T15:11:08","modified_gmt":"2024-02-01T15:11:08","slug":"348294","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/348294\/","title":{"rendered":"Reply To: DDPM &#8211; remove partciles via UDF"},"content":{"rendered":"<p>&lt;p&gt;I think you are just removing the particles. You would need remove the particles well and dump\/transfer the mass\/sources when the logic is satisfied.&lt;\/p&gt;&lt;p&gt;Instead of:&lt;\/p&gt;&lt;p&gt;tp-&gt;stream_index = -1&lt;\/p&gt;&lt;p&gt;Try:&lt;\/p&gt;&lt;p&gt;TP_MASS(tp)=0.0;&lt;\/p&gt;&lt;p&gt;TP_DIAM(tp)=0.0;&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;MARK_TP(tp,P_FL_REMOVED);&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-348294","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/348294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/348294\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=348294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}