Fluids

Fluids

Can UDF access the variables generated during simulation directly?

    • uceczw4
      Subscriber

      I want to use the UDF to customize the granluar viscosity. In the new expression of granlar viscosity, some variables calculated by the Simonin turbulence interaction model (14.5.18.3.1.1.2 in Fluent theory guide) will be used, for example the k_pq. Is there a name of k_pq that I can use directly in the UDF, or I have to include the expression of it in the UDF and calculate it again?

    • Keyur Kanade
      Ansys Employee

      As far as I know you will need to include expression in UDF. 

      Please go through help manual for more details 

      Regards,

      Keyur

      • uceczw4
        Subscriber

        Thnan you so much. It seems like I've to code these expressions in the UDF

    • Rob
      Ansys Employee

      It's almost certainly calculated on the fly by the model, so there won't be a memory allocation for it. 

      • uceczw4
        Subscriber

        I understand. Thank you so much.

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