February 20, 2018 at 7:19 amcylindraxSubscriber
I found those some UDF code online and I tried to modify to suit my need. I have Reynolds number of 10 000 so i got an inlet velocity of about 3 and for the pressure i set it up to be atmospheric pressure. I set my omega to be 12. Now my problem is that i don't know if my code is write. additionally, i seen that a video who said i need to write the code in C save it and then load in FLUENT. I will like some guidance.
February 21, 2018 at 7:04 amVishal GanoreAnsys Employee
See following tutorial. It shows how to write and apply parabolic velocity profile at inlet using UDF.
February 28, 2018 at 6:46 amcylindraxSubscriber
Thank Vganore for your help. I will watch and try my UDF code.
April 19, 2018 at 7:37 pmmarinakSubscriber
To check if your boundary condition is implemented correctly, you can record pressure and velocity time history at certain points at the boundary(It should look like a sinusoidal wave). You can plot it against the sinusoidal wave that you expect to see, if these 2 will coincide, your condition is correct.
October 3, 2019 at 4:23 pmAnanth NarayanSubscriber
What does float x and float y means. I mean what's the purpose.
October 7, 2019 at 4:10 pmDrAmineAnsys EmployeeFloat array. That is basic programming C.
October 7, 2019 at 4:10 pmDrAmineAnsys EmployeeFloat y is variable declaration that y is a real float not an integer.
October 7, 2019 at 4:11 pmDrAmineAnsys EmployeeIn python there is no need to declare a variable it is implicitly done with proper ttpe
- 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.