


{"id":244574,"date":"2022-12-20T22:31:57","date_gmt":"2022-12-20T22:31:57","guid":{"rendered":"\/forum\/forums\/topic\/hold-velocity-for-one-timestep\/"},"modified":"2022-12-20T22:31:57","modified_gmt":"2022-12-20T22:31:57","slug":"hold-velocity-for-one-timestep","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/hold-velocity-for-one-timestep\/","title":{"rendered":"Hold velocity for one timestep"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I&#8217;m using the DPM model and want my particles to reflect one radius away from the wall of the domain. To achieve this an udf is called to calculate the particle velocity after collision (following the example in the UDF manual). The issue is that the particle tracking will proceed to the next iteration and override the velocity value calculated in the udf. Is it possible to hold the particle velocity constant for the next timestep and make the particle tracking only update the particle position?<\/p>\n<p>Thaks in advance<\/p>\n","protected":false},"template":"","class_list":["post-244574","topic","type-topic","status-closed","hentry","topic-tag-dpm","topic-tag-dpm-udfs","topic-tag-Particlerebound-1","topic-tag-particle-tracking"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["268356","22555"],"_bbp_author_ip":["23.44.170.61"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["255"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["244574"],"_bbp_forum_id":["27792"],"_bbp_engagement":["22555","268356"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["244644"],"_bbp_last_active_id":["244644"],"_bbp_last_active_time":["2022-12-21 14:18:30"]},"test":"bio12033fe-up-pt"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/244574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/244574\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=244574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}