Tagged: axisymmetric, udf, udf-fluent, velocity-inlet, velocity-profile
-
-
March 12, 2021 at 12:37 pm
rglsj
SubscriberHello everyone!nI believe this one is already answered a hundred times but I'm a new user of Fluent, and I can't figure out how to write UDF for axisymmetric velocity profile at inlet (e.g. parabolic profile). I don't understand how to define coordinates, are they same as 2 planar (so x is radial coordinate and y is radial) or is there some other way of signing coordinates.nThank you!n -
March 12, 2021 at 1:16 pm
Kalyan Goparaju
Ansys EmployeeHello, nIs there a specific reason for you to be using a UDF? If not, I strongly recommend using the Expressions featured to setup the profile. Its relatively a lot easier. Please do look up the user's guide for more information regarding Expressions.nThanks,nKalyann -
March 12, 2021 at 1:19 pm
rglsj
SubscriberHey Kalyan, thanks for the answer!nI just want to learn how to use it, I'm not doing any specific project, but learning how to use UDF codes. I'm considering a basic flow in a pipe. Most cases in Fluent verification materials use fully developed inlet velocity (and also turbulence) profiles so for that it would be nice to know how to write those codes.n -
March 12, 2021 at 1:48 pm
Kalyan Goparaju
Ansys EmployeeFair enough. To answer your question, yes, you would have to write the UDF as if it were a planar 2D case. Once you have the UDF compiled and loaded, I recommend running 1 iteration and checking if the flowfield is being initialized as intended. n -
March 12, 2021 at 1:52 pm
rglsj
SubscriberThanks a lot!n
-
Viewing 4 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space

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.

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
-
2524
-
2066
-
1285
-
1096
-
459
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.