We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Fluids Fluid velocity in dpm_drag Reply To: Fluid velocity in dpm_drag

Rob
Forum Moderator

I wonder if the cell isn't passed to the macro,  https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v231/en/flu_udf/flu_udf_DPMDEFINE.html  Example 2.5.6.3 suggests you may need to tell the UDF about the cell, and thread: look for  cell = PP_CELL(p)   That may not fix the problem, but may get you a bit further.

Once you get it working please post the structure for others.Â