Mesh effects on the computation of non-linear gravity waves of arbitrary discharge