Computing flow and sediment transport over bedforms