Hello,
I'm now running a model with a rigid bed (but suspended and bedload inputs at inflow boundaries).
Seems to run fine initially, but with a 'computation continued' will inevitably crash with a 'error in layer'.
At the first timestep after restart, at multiple nodes where there is essentially zero sediment depth (i.e. around 1-2.E-005), I get an 'Error on fractions' where the fraction is outside the range 0-1.
If I try changing tolerances, e.g. the line
IF(ELAY%R(J)+EVOL.LT.1.D-5) THEN...
or the value for
ZERO/1.D-7/
it will crash elsewhere within a few timesteps.
If I check for negative layer depths I do in places get very slightly negative depths in layer2 (e.g. -1.1E009, precision errors?).
Any suggestions for workarounds? Perhaps somehow ignore nodes where sediment depth smaller than a min value?
Regards,
Dougal