A nonlinear RDF model for waves propagating in shallow water