-
-
September 2, 2018 at 7:26 pm
argenisbnl
SubscriberHello everyone
I'm using a UDF to define a developed laminar velocity profile in a pipe as a boundary condition, I create the geometry (2D axisymetric) in design modeler, and defined radius and lenght of the pipe as parameters.
I want to include this geometric parameters in the UDF but I can't, because in fluent, I only see the parameters I create in fluent, like the velocity. I work on student license.
Am I missing something?
Is that fluent do not read parameters that were not created in fluent?
-
September 3, 2018 at 4:20 am
Keyur Kanade
Ansys EmployeeHi,
You can create parameter in Fluent. Then it will show up on WB project page. On WB Project page, under Parameter Set tab, please assign particular value or expression to this parameter. You can make this parameter equal to value of parameter defined in DM.
Hope this helps.
Regards,
Keyur
-
September 3, 2018 at 3:16 pm
argenisbnl
SubscriberHello Keyur, thank you for respond.
I'm sorry but, how should I do that? Because, I know how to create parameter in fluent, but in boundary conditions, fluid properties, where this parameters are created with the units of velocity, density, viscosity, etc. I do not know how to create a parameter form zero in fluent.
Other thing, in the parameter tab on WB, the parameters have defined some properties, and I can't put where the value is, something like: "P2", because fluent show me a message like: "P2" is not a valid numeric value, or something like that. I guess it is because it's defined as a constant value.
-
September 3, 2018 at 6:52 pm
DrAmine
Ansys EmployeeWhat do you want do with the parameter?
-
September 3, 2018 at 9:13 pm
argenisbnl
SubscriberHello
Use it on a UDF for a pipe velocity profile (laminar)
Greetings
Argenis
-
September 4, 2018 at 5:35 am
DrAmine
Ansys EmployeeCheck 6.1.8.2.2. Defining UDFs With Input Parameters in Fluent Solution's Guide for knowing how to access an Input Parameter in UDF.
-
- You must be logged in to reply to this topic.

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.
- 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
-
2524
-
2066
-
1279
-
1096
-
457
© 2023 Copyright ANSYS, Inc. All rights reserved.