Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more

Doubt on using DEFINE_DPM_EROSION macro

    • sooriaprakash.kamaraj
      Subscriber

      Hello,

       

      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.

    • sooriaprakash.kamaraj
      Subscriber

       

       

       

    • Rob
      Forum Moderator

      I 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. 

Viewing 2 reply threads
  • You must be logged in to reply to this topic.