Fluids

Fluids

Connect a UDF file to the simulation results to calculate an index

    • Nimaizadyar
      Subscriber

      My question is about the interaction between Fluent and my UDF file. I have provided a UDF file based upon the Predicted Mean Vote (PMV) equation for finding thermal comfort. This index is calculated based on output wind speed and temperature (PMV= Function of [V(u, v, w), Temperature]).


      I have interpreted this UDF file, and Fluent has accepted this file. However, I don't know how I should connect this UDF to the Fluent, to have the PMV results after simulation. Is it possible to find PMV as a new parameter based on wind speed and temperature in all spots, or at least a selected part of the model (indoor area)?


      I have tried to use parameters & Customization to defined an Input and output. However, I don't know how I should connect the output wind speed and T from the simulation as the input of the PMV UDF file. It would be much appreciated if you could please advice me regarding this matter. 


       

    • Rob
      Ansys Employee

      It depends on how you implemented the model. Where did you store the result of the calculation? 

    • Nimaizadyar
      Subscriber
      Thank you very much for your reply.
      I have written the results on a text file, including velocity vectors, the magnitude, and temperature.
    • Nimaizadyar
      Subscriber
      I have interpreted the UDF file, but I have not made any variable or parameters. So, I reckon I should make a variable or connect UDF to my perspective V and T results before the simulation would be started.
    • Rob
      Ansys Employee

      There are two parts to this type of UDF. 


      1) Take data from Fluent to create a new result


      2) Output that result in a useful format.  


      I'd suggest reading up on User Defined Memory (UDM) for part two. 

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