BEM-based algorithm for URANS simulations of flow over a square cylinder