Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

UDF Profile Coordinate

    • Pedro Chaves
      Subscriber

      Hi,

      I would like to know if is possible to difine a UDF profile for inlet boundary accordingly with reference coordinate. Explaining, I have a inlet geometry which is far from global coordinate (0,0). Therefore, I want to change it for origin coordinate. So, I need to get the mid coordinate of this geometry and subtract the other coordinates from this mid coordinate. So, the mid's geometry coordinate will be (0,0). I know that I can do it manually, but I would like to do it automacally. Does someone know how to do it from UDF profile?

    • Rob
      Forum Moderator

      You may be able to take advantage of the local reference frame. Note, the below is from a multiphase model so your inlet panel may be a little different. 

      Otherwise, you may need to work with the local coordinate with an offset. Ie x_pos = (x[0] - 1.24)  for an offset x-coordinate. 

       

Viewing 1 reply thread
  • The topic ‘UDF Profile Coordinate’ is closed to new replies.
[bingo_chatbox]