Wall-bounded turbulent flows display extreme gradient close to the walls. The most accurate way to treat these gradients is to resolve them using a low Reynolds number model, which is computationally expensive. Industrial applications use wall functions, which model the flow closest to the wall rather than resolving it. Wall functions are robust and efficient, but not particularly accurate. New automatic wall treatment functionality in the COMSOL® software combines the benefits of wall functions and the low Reynolds number model.