Ansys Learning Forum Forums Discuss Simulation Fluids How should the viscosity of particle be set when using non-Newtonian fluids? Reply To: How should the viscosity of particle be set when using non-Newtonian fluids?

LI KUAN-LIN
Subscriber

Thank 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?