November 16, 2022 at 3:58 pmDiogo MartinhoSubscriber
I am a new user of Fluent and of UDFs. I think this is quite simple comparing to other UDFs I have seen. However, I can't run it.
I am working with the eulerian model and I have a channel where some gas will be produced on one of the walls. I am also using the potential equation on my model. So, I would like the electrical conductivity of my primary phase (water) would change according to the presence of gas - Bruggeman Correlation.
When I try to compile it I have a warning and three errors.
Can anyone help me to solve my issue?
November 16, 2022 at 4:37 pmRobAnsys Employee
You may want to check the C_VOF macro for Eulerian: which phase are you monitoring?
November 16, 2022 at 4:39 pmDiogo MartinhoSubscriber
The alpha in this case would be the secondary phase.
November 16, 2022 at 4:42 pmRobAnsys Employee
Is it? Where did you set it? Note, the property UDFs are for that material, the solver then determines how much of that material is where and calculates any mixture properties from the material fraction & value.
November 16, 2022 at 4:57 pmDiogo MartinhoSubscriber
It would be in theory. There I am not sure. But what I would like to have there it would be my gas (secondary phase) but now I am a bit lost.
Because the conductivity that I want to change is indeed the main primary phase (water) so it would be
sigma = sigma_zero*(1-alpha)^1.5 where alpha would be the volume fraction of the secondary phase.
I hope this makes sense.
November 16, 2022 at 5:36 pmRobAnsys Employee
Sort of. However, you also have conductivity of the second phase(s) so you need to be careful you're not accounting for the volume fraction twice.
November 17, 2022 at 3:02 pmDiogo MartinhoSubscriber
I see what you meant. Thank you very much for that input!
- 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
- 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
© 2022 Copyright ANSYS, Inc. All rights reserved.