-
-
September 19, 2024 at 6:46 am
sooriaprakash.kamaraj
SubscriberHello,
Â
I am writing the UDF for erosion modelling using DEFINE_DPM_EROSION macro. In my erosion equation, erosion rate is a function of DPM concentration and Flow velocity magnitude which are not the arguments of the erosion macro anyway.
So, I am trying to call those variables using standard solution variable functions (C_DPMS_CONCENTRATION(c,t) for DPM concentration and F_U(f,t), F_V(f,t) & F_W(f,t) for velocities).
However, I am not sure how I can incorporate those variables into this macro (will it work or not? or do we need to use separate cell loop for DPM concentration and face loop for Velocity).
Â
Â
Kindly suggest me the standard syntax format for my above explained problem.
-
September 19, 2024 at 6:58 am
sooriaprakash.kamaraj
SubscriberÂ
Â
Â
-
September 19, 2024 at 10:40 am
Rob
Forum ModeratorI suggest checking the DPM concentration definition. You also want to look into the macros for the near wall cell, and use that value on the facet function.Â
-
- You must be logged in to reply to this topic.
-
3190
-
1024
-
962
-
858
-
798
© 2025 Copyright ANSYS, Inc. All rights reserved.