-
-
June 26, 2023 at 6:40 pmMasiSubscriber
Hi,Â
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 amRobForum Moderator
I'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
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
Top Contributors
-
1436
-
599
-
591
-
591
-
366
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.