Computational modelling of complex flows using eddy-resolving models accounting for near-wall turbulence