Fluids

Fluids

How. wright a udf that colloct 2 boundary coordinate and we can use them in 1 id boundary

    • Pouria217
      Subscriber
      Hello
      I have to boundary .i have udf that determine the flux of mass.
      The boundaries have motion with grid motion.
      I want when the define profile of boundary 1 start check the coordinate of boundary 1 and 2. If the distance is equal to 1 cm set the flow 0 for that faces. Similar of that is for boundary 2. In code we can use only 1 boundary coordinate.
      Else i collect the coordinate with define adjust for 2 boundry and use f_udmi.
      But when define profile start the loop we can access only to boundary 1 coordinate. And fluent set the boundary 2 coordinate zero.
      Please help me.
      Best regard
    • DrAmine
      Ansys Employee

      You can use anot ADJUST prepare everything and the condition is fulfilled you can then execute the profiles by passing some flags. 

Viewing 1 reply thread
  • You must be logged in to reply to this topic.