Three-dimensional numerical modeling of water and sediment flow in a sand trap