Tagged: expression, fluent, material-properties, udf, viscosity
-
-
December 21, 2022 at 12:46 pm
m_gonser
SubscriberHello together,
i am struggling to define the dynamic viscosity of my fluid in the material properties settings in Fluent.
I received the temperature dependent density and temperature dependent kinematic viscosity of a fluid. Both are given as a polynominal function. As i cannot enter the kinematic viscosity properties of the fluid directly, i want to create a new expression for the dynamic viscosity (Density*Kinematic Viscosity)The equation is as followed:
(A0 [kg/m^3] * StaticTemperature * StaticTemperature * 1 [K^-2]
+ A1 [kg/m^3] * StaticTemperature * 1 [K^-1]
+ A2[kg/m^3])*(B0 [m^2*s^-1]*StaticTemperature^6*1[K^-6]
- B1[m^2*s^-1]*StaticTemperature^5*1[K^-5]
+ B2[m^2*s^-1]*StaticTemperature^4*1[K^-4]
- B3 [m^2*s^-1]*StaticTemperature^3*1[K^-3]
+ B4 [m^2*s^-1]*StaticTemperature^2*1[K^-2]
- B5 [m^2*s^-1]*StaticTemperature*1[K^-1]
+ B6[m^2*s^-1])I Also tried to create a new named expression to define the kinematic vicosity with StaticTemperature as variable. But i always get the error "Expression is invalid in current model setup"
I defined the density as a polynomial function already.
I do not have a lot of experience in Fluent and hope one of you guys can help me out here.
Thank you already!
-
December 22, 2022 at 10:02 am
SRP
SubscriberHi,
To learn more about expressions, please check the user's guide.: 5.1. Introduction to Expressions (ansys.com)
If you are unable to access the link, follow this forum discussion https://forum.ansys.com/forums/topic/using-help-with-links/#latest
Thank you
Saurabh
-
- 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.
- Error with workbench SceneGraphChart
- Workbench error
- Workbench not opening
- How can I renew ANSYS student version license?
- License Error
- Sizing on Ansys Workbench 19.2
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Licensing error while opening ANSYS Mechanical
- An error occurred when the post processor attempted to load a specific result.
- Problem with FlexNet Licensing
-
2524
-
2066
-
1279
-
1096
-
457
© 2023 Copyright ANSYS, Inc. All rights reserved.