-
-
November 15, 2023 at 2:56 pm
LI KUAN-LIN
SubscriberI am using non-Newtonian fluids for VOF-DPM simulation. For the viscosity of the liquid, I use the Carreau Model, and when the viscosity of the particles is set to a constant value and VOF-DPM is turned on, the following dialog box pops up in the system. I think the viscosity of the particles also needs to use the viscosity properties of non-Newtonian fluids, but I am not sure how to change it.
-
November 17, 2023 at 6:18 pm
Prashanth
Ansys EmployeeHello, you can try to input the viscosity-shear rate curve using a polynomial expression, for both particle and fluid viscosities. The strain rate variable is available in expressions.
-
November 18, 2023 at 7:01 am
LI KUAN-LIN
SubscriberThank you for your reply. I have successfully written out the sticky expression (function of shear rate) and set the viscosity of the fluid to this expression. As shown in the figure below.
But when setting the viscosity of the particle, there is no ‘expression’ option available for selection. How should I set it?
I use the k-omega SBES turbulent model, while the Carreau Model uses functions related to shear rate.
I also tried to write the relationship between viscosity and shear rate as a UDF and import it into Fluent, hoping to represent the viscosity of particles using UDF. The UDF is as follows:
The fluid part can be successfully modeled using UDF.
However, the following window pops up when modeling the particle part.
I think the UDF I wrote is only limited to fluid, so the particle cannot read this UDF. What I want to ask is, how can I modify the viscosity of the particle to match that of the fluid?
-
November 20, 2023 at 12:59 pm
Prashanth
Ansys EmployeeTry this: create an expression, make it input parameter. Both the fluid and particle viscosities has the common "Input parameter" option.
Also, for particle viscosity from UDF, DPM_PROPERTY macro is required.
-
November 20, 2023 at 3:03 pm
-
November 20, 2023 at 6:43 pm
Prashanth
Ansys EmployeeIt looks like the parameters must return a constant value. This leaves you with the option to use the UDF definition for particle viscosity.
Or, you can just switch off the breakup model to avoid this mismatch.
-
November 21, 2023 at 3:49 am
LI KUAN-LIN
SubscriberIf according to my definition above, the viscosity of a non-Newtonian fluid is a function of shear rate, then what about DPM particles? How should shear rate be expressed for DPM particles? By the way, do particles have the concept of shear rate?
-
November 21, 2023 at 9:54 am
Prashanth
Ansys EmployeeThe particle visosity does influence the breakup mechanism. But considering the point mass approach of DPM, it is not a good idea to use the same shear-dependent law. The point masses does not enclose flow within them, that causes shear.
Actually, the code check makes sure one uses the same viscosity definition for both VOF and discrete phase, when using the transition model.
-
November 22, 2023 at 3:40 am
LI KUAN-LIN
SubscriberOkay. Based on the results of our discussion, let me summarize my question:
If I want to continue using non-Newtonian fluids to perform VOF-to-DPM and open secondary breakup, and express the fluid viscosity through UDF, in order to make the program determine the same viscosity definition for both VOF and discrete phase, how do you think the UDF for particle viscosity should be written?
-
November 22, 2023 at 12:35 pm
Prashanth
Ansys EmployeeLink to a very similar forum thread where the questions has been addressed: https://forum.ansys.com/forums/topic/viscosity-settings-for-non-newtonian-particles-in-dpm-models-using-expression/
I cannot guarantee that it'll work as I haven't tried this combination for VOF-DPM. Again, you need DEFINE_DPM_PROPERTY for particle viscosity.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

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.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- Suppress Fluent to open with GUI while performing in journal file
- error: Received signal SIGSEGV
-
8770
-
4658
-
3151
-
1678
-
1456
© 2023 Copyright ANSYS, Inc. All rights reserved.