A 3D-CFD methodology to investigate boundary layers and assess the applicability of wall functions in actual industrial problems: A focus on in-cylinder simulations