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.

Coupling Reference Values with UDF

    • RCamp
      Subscriber

      Hi, 


       


      I am curious about if it is possible to update reference values per iteration using UDFs in a transient simulations. Would DEFINE_EXCUTE_AT_END potentially work? 


       


      Best, 


       


      RCamp

    • Keyur Kanade
      Ansys Employee

      for this you can use it. please see below. 



      if this helps you, please mark this post as 'is solution' to help others on forum.


       


       


       

    • seeta gunti
      Ansys Employee

      Hello,


       


      If you want to change any values which are calculated by fluent, it can be done through DEFINE_ADJUST function. DEFINE_EXECUTE_AT_END will do the function at each and every iteration. 


      DEFINE_ADJUST will adjust the defined variable with the value in UDF. Hope this will help.


      Regards,


      Seeta

    • Amine Ben Hadj Ali
      Ansys Employee

      Which reference values would like to change? Do you mean the values from the "Reference Values" panel?

Viewing 3 reply threads
  • The topic ‘Coupling Reference Values with UDF’ is closed to new replies.
[bingo_chatbox]