-
-
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
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors
-
3882
-
1414
-
1241
-
1118
-
1015
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.