August 20, 2019 at 1:01 amNimaizadyarSubscriber
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.
August 20, 2019 at 9:45 amRobAnsys Employee
It depends on how you implemented the model. Where did you store the result of the calculation?
August 20, 2019 at 10:46 amNimaizadyarSubscriberThank you very much for your reply.
I have written the results on a text file, including velocity vectors, the magnitude, and temperature.
August 20, 2019 at 10:52 amNimaizadyarSubscriberI 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.
August 20, 2019 at 10:57 amRobAnsys 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.
- You must be logged in to reply to this topic.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.