How to make the fluid viscoity changable

Hello, everyone!
I need help. Is there anyone know how to make the fluid viscoity changing with temperature which means not constant.Change the option of viscosity from the ‘constant’ to ’ Sutherland’s law’ is this operation can achieve my goal? Or there has something else methods?


Looking forwards to your apply. Many thanks.

The Sutherland’s law is a temperature dependent function. This is appropriate for air. If you need other relationship, you can code your own UDF (User-Defined-Function) in the subroutine USR_PROP_MUG in the file usr_properties.f. Then select UDF in the viscosity menu, and build the solver so the changes are taken into account. Make sure you select this custom solver when you run the simulation.

Thanks for your reply. It is very useful !!!