June 3, 2021 at 9:47 amabhaymhSubscriber
I have the requirement of changing the input velocity based on the EWF thickness which is a result of the simulation, based on an equation. I wanted to know how I could read the value of the film-thickness into the UDF in order to manipulate it.June 3, 2021 at 11:34 amRobAnsys EmployeeYou may be better off using an expression as that can take the film thickness at a position as a Report. There will be an equivalent UDF macro, so check the manual. Expressions are a newer feature in Fluent (based on CFX technology) as a means to avoid needing UDFs for "simple" stuff.
June 3, 2021 at 11:40 amabhaymhSubscriberI can use the expression, yes, but here's what I have to do: Use film thickness to calculate a value, then use that value to calculate the flow rate and subsequently the velocity at the flow inlet. For this, I think I will have to use a UDF since the value changes at every iteration. Is it possible to accomplish this using just expressions?
June 3, 2021 at 1:58 pmRobAnsys EmployeeYou can do that with expressions, that's one of the functions they're designed for. Just make sure the expression makes sense for a zero thickness film.
June 10, 2021 at 7:37 pmabhaymhSubscriberThank you. While that works to define it, it says invalid expression. As you can see from the image, the expression does give a value in the plot. I'm not sure if I've made a mistake or something.
EDIT: I've also attached a plot for changing values of film thickness (it makes sense, realistically speaking)
June 11, 2021 at 10:58 amRobAnsys EmployeeWhat is evap_area?
Viewing 5 reply threads
Ansys Innovation Space
- 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.Trending discussions
- 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
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
Top Rated Tags
© 2022 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.