-
-
June 26, 2023 at 6:40 pm
mjahed
SubscriberHi,Â
I want to use DPM_DEFINE_PROPERTY to specify a custom particle density, Here is my UDF :
#include "udf.h"ÂDEFINE_DPM_PROPERTY(droplet_density,c,t,p){Â real rho= P_RHO(p);Â real Tp = P_T(p);Â ÂÂÂ Â rho = 508 + 967.57693 * pow((1-(Tp/374.15)),0.33);Â ÂÂÂ return rho;}ÂThe error after interpreting: Â error: macro "DEFINE_DPM_PROPERTY" requires 5 arguments, but only 4 are given.Âwhat is the fifth argument?ÂÂ
-
June 27, 2023 at 8:10 am
Rob
Forum ModeratorI'm guessing you've read an older copy of the documentation and then compiled in the current release. So, the argument would be to use the documentation in the solver Help.... More usefully, https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v231/en/flu_udf/flu_udf_DPMDEFINE.html%23flu_udf_sec_define_dpm_property
Â
-
Viewing 1 reply thread
- The topic ‘DEFINE DPM PROPERTY’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3487
-
1057
-
1051
-
955
-
922
Top Rated Tags
© 2025 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.