River discharge in a child grid

Hi all,

I have been working to input river discharge in a child grid, however the model gives NaN results a few days after starting the simulation. When I turn off the river key the model works fine. Could anyone know how can I solve this problem?