Numerical investigation of the flow dynamics past a three-element aerofoil