2024 AIChE Annual Meeting
CFD Analysis of Mixing in the Transition Regime: User-Defined Functions and Viscosity Variations
A user-defined function is a C program function that can be dynamically loaded into CFD software packages, such as ANSYS Fluent. A UDF serves to enhance the standard features of code already apparent inside the ANSYS fluent solver code. In this case, a UDF was written to redescribe the shear-thinning viscosity behavior of the fluid, Carbopol, in the transition regime based off the Carreau-Yasuda model for non-Newtonian fluids. Carbopol is a non-Newtonian, shear-thinning fluid whose viscosity profile can be altered with change in pH and/or concentration. Two different viscosities, 7500 cP and 3350 cP, were used to investigate their dependence on flow patterns. The UDF was incorporated into the two different viscosities with two different ANSYS fluent models: The Spallart-Allmaras Model and The Transition Shear-Stress Turbulence Model. Different mixing regimes were achieved by changing the speed of the impeller. Without the UDF, both RANS models struggled to characterize the flow and shear-thinning viscosity behavior for Reynold’s numbers that existed within the transition regime. The UDF worked to better represent the dispersion of dye and the shear-thinning of the Carbopol throughout the entire mixing tank.
References
[1] Oldshue, J.Y. “A Guide to Fluid Mixing.”, 2003.
[2] Kresta, Suzanne M. Advances in Industrial Mixing: A Companion to the Handbook of
Industrial Mixing. Wiley, 2016.