So it seems the NOEROD subroutine works well when you only have a single class of sediments....
I've tried with a class alone and had no problem, but when I try to simulate two different classes, it stops after a few iterations.
Here are the tests I did so far :
1) Simulation of 2 classes of the same diameter with an initial fraction of 50% each
2) Simulation of 2 different classes with an initial fraction of 100% for one and 0% for the other one
3) Removing the bathymetry of the dam and try the simulation in case 2)
The only thing was that I managed to make it work when I've set the initial fraction to 1 for the smallest class (1mm), but it ended up bugging anyway after a few hours.
Does anyone have any idea on this type of case? It seems that the fact the rigid bed is close to the initial bathymetry messes with the AVAIL value, if I understood this error message correctly in the layer.f subroutine :
ERROR ON FRACTIONS
LAYER 1 CLASS 1 POINT 2582
AVAIL= -0.75717762115796483
ZFCL= -1.0537268249729407E-003
EVOL= -1.9051509548472989E-003 ELAY= 5.1557879814367880E-005
ERROR ON FRACTIONS
LAYER 1 CLASS 2 POINT 2582
AVAIL-1= 0.75717762115645071
ZFCL= -8.5142412987435827E-004
EVOL= -1.9051509548472989E-003 ELAY= 5.1557879814367880E-005
ARRET APRES ERREUR DANS LAYER
Thanks in advance.