Levee breaching due to overtopping flows in rivers has become increasingly frequent, particularly during torrential rains and flood events. For the purpose of risk management, it holds significant importance to gain a comprehensive understanding of the mechanisms underlying dike failure and accurately predict this process. In this study, a three-dimensional RANS model which can simultaneously simulate surface, seepage flows and sediment transport in a curvilinear coordinate system is developed. The numerical model is applied to bar formation in a meandering channel and levee breaching to verify the model's performance. The results demonstrate that the flows and bed deformation in the meandering channel and the temporal process of dike breaching is accurately reproduced in the simulation.