-
-
June 22, 2026 at 3:08 am
aniruddhabose96
SubscriberHi
I am using DEFINE_DPM_TIMESTEP to change the particle tracking time step following UDF manual, but when i am printing it using DEFINE_SCALAR_UPDATE, it is printing Fluents default time step value. What is the issue here? I have attached my UDF below.
#include "udf.h"#include "dpm.h"DEFINE_DPM_TIMESTEP(my_dt,tp,dt){if(dt<0.001){return 1;}return dt;} /*UDF to check particle time step*/DEFINE_DPM_SCALAR_UPDATE(store_vel,c,t,initialize,tp){if (initialize)return;Message("part time step=%e\n",TP_DT(tp));} -
June 22, 2026 at 8:33 am
Rob
Forum ModeratorI assume you hooked it up?
-
June 22, 2026 at 1:48 pm
aniruddhabose96
SubscriberYes like Function-compiled and then Build and load and then hooked it in respective area. It is printing Fluents default time step and not my given step.
-
June 22, 2026 at 2:21 pm
Rob
Forum ModeratorWhat did you set in the DPM panel?
-
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Innovation Space
Trending discussions
Top Contributors
-
6765
-
1906
-
1490
-
1330
-
1102
Top Rated Tags
© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.