February 17, 2022 at 9:14 pmloganszajneckiSubscriber
I am trying to implement an x-momentum source term on a background grid using Fluent UDFs. See my source term below:
real con, source;
source = C_UDSI(c,t,0);
dS[eqn] = 0;
Where C_UDSI(c,t,0) is a user defined scalar that is determined using an adjust macro. The value of C_UDSI(c,t,0) is a Gaussian distribution acting for a given region of cells and its implementation is presumably correct.
I am encountering issues with the source term implementation. Specifically, there is no change to the flow field when activating the source term. It is as if the source term is being neglected entirely; it introduces no change to the velocity of the flow in the defined region where UDS-0 acts. Any help would be appreciated. Thank you.February 18, 2022 at 11:57 amRobAnsys EmployeeIf you plot the scalar what do you see? Remember the source you're adding is N/m3 so make sure the scalar value is big enough to be seen by the flow.
February 18, 2022 at 3:58 pmDrAmineAnsys EmployeeIf you are not linearizing the source term so why not just using Fluent Expression to apply the source and here you can even visualize and easily debug....
Viewing 2 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
- Time Step Size and Courant Number
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Floating point exception
- How to model free convection warming of liquid in a plastic bag
Top Rated Tags