Modeling canopy turbulent flow over complex terrain