March 13, 2020 at 11:43 amMorteza1989Subscriber
I want to know if it is possible to use Ansys result in writing UDF code, for example in defining material properties.
March 13, 2020 at 1:13 pmRobAnsys Employee
We use UDFs to define material properties, is that what you mean?
March 16, 2020 at 2:56 amKeyur KanadeAnsys Employee
March 16, 2020 at 9:04 amMorteza1989Subscriber
No. Let me explain in this way. I wrote a code and input the equation of fluid velocity as inlet. Now I want to define the properties of a material placing in the middle of my model and these properties depend on fluid velocity at those elements which should be calculated by Ansys. Is this possible to write such this code as UDF?
March 16, 2020 at 2:39 pmKarthik RAdministrator
As mentioned by Rob, you should be able to use UDFs to customize material properties. Yes, you can make them a function of fluid velocities. The macro you are looking for is DEFINE_PROPERTY. Please refer to the link below to take a look at some examples of UDFs written with this macro.
If you are having trouble accessing our online help, please take a look at the following post here.
I hope this helps.
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
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
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2022 Copyright ANSYS, Inc. All rights reserved.