Optimization of multiple turbine arrays in a channel with tidally reversing flow by numerical modelling with adaptive mesh