-
-
September 10, 2024 at 5:18 amsooriaprakash.kamarajSubscriberI am writing for erosion modelling using UDF. My erosion rate is a function of DPM concentration and Velocitiy magnitude. For DPM concentration, I saw the macro C_DPMS_CONCENTRATION(c,tf) and for velocity, I can use sqrt(F_U(f,tf)*F_U(f,tf) + F_V(f,tf)*F_V(f,tf)+ F_W(f,tf)*F_W(f,tf)).ÂMy doubt is about how can I use these two variables with the help of loop cammand in UDF to find erosion rate since velocity macro is for face and DPM concentration macro is defined for cell. Can anyone help me in the syntax of it?ÂÂ
-
September 10, 2024 at 8:48 amRobForum Moderator
Have a look at the accretion example,  https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v242/en/flu_udf/flu_udf_DPMDEFINE.html%23flu_udf_sec_define_dpm_erosion  Impact effect is a function of speed, impact angle, material properties and impact facet area. Cell concentration isn't overly useful, as a particle in the near wall cell may not always hit the wall.Â
Note, as you're likely using facet area over surface/zone area you may want to exercise caution regarding cell size uniformity and parcel count. Â
-
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
441
-
199
-
194
-
162
-
146
Top Rated Tags
© 2024 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.