Direct numerical simulation of turbulent flow in a square duct