-
-
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.
Innovation Space
Trending discussions
Top Contributors
-
4838
-
1587
-
1386
-
1242
-
1021
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.