A wall-layer model for large-eddy simulations of turbulent flows with/out pressure gradient