Tagged: C, fluent, udf-fluent
-
-
March 10, 2022 at 4:16 am
skdubey
SubscriberDear Friend,
I am trying to learn about the "UDF" in my application. I used the simple pipe case, at the initial inlet Pressure will increase with the flow-time and later on become a steady state. Outlet pressure is at 0 pa (gauge pressure). I am trying to plot the Inlet face pressure vs flow time, which should be a simple ramp-step function. I am not sure, I am not getting the desired ramp-step when I plot. I am not sure why my for loop is not read, is there anything wrong with the codes any suggestions
March 10, 2022 at 2:27 pmDrAmine
Ansys EmployeeDo you require an UDF for that? Actually a simple Fluent Expression will fit in. Even a transient table or profile will fit in.
Other point: Where are you hooking the UDF? Screenshot of panel, please.
March 10, 2022 at 2:30 pmRob
Ansys EmployeeI tend to use IF statements and keep things simple. So,
IF time< 10 pressure = whatever
ELSE pressure=something else
March 10, 2022 at 2:55 pmDrAmine
Ansys Employeethe slope is better handle via something like
myvalue= Current_Time*max_value/max_time that value to be hooked as Total Pressure in the Inlet Panel (assuming subsonic inlet where only that input is required).
And again better to use Expressions...
March 10, 2022 at 5:12 pmMarch 11, 2022 at 7:18 amDrAmine
Ansys Employee:)
Viewing 5 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth 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.
Ansys Blog
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
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- 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 Contributors-
2656
-
2120
-
1347
-
1118
-
461
Top Rated Tags© 2023 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.
-