Hi,
I addition to what José has suggested, I can mention that the procedure of reading a user variable stored in the geometry file can now be achieved by using the following keywords in your Sisyphe steering file (from version 7.1):
NUMBER OF PRIVATE ARRAYS = 1
NAMES OF PRIVATE VARIABLES= 'NOER M '
After doing that, you can access these private variables with the PRIVE structure, for example with PRIVE%ADR(1)%P%R for the private variable no 1.
If you do like above, defining your depth to erodible bed in a private variable called NOER, all you need to do in noerod.f is the following:
Add the following line just below USE BIEF:
USE DECLARATIONS_SISYPHE, ONLY: PRIVE
Replace the default CALL OV that sets the erodible bed 100 m below the river bottom
CALL OV('X=Y+C ',ZR,ZF,ZF,-100.D0,NPOIN)
By the following:
CALL OV('X=Y-Z ',ZR,ZF,PRIVE%ADR(1)%P%R,0.D0,NPOIN)
Pay attention to the X=Y-Z function, here it works when NOER (that is to say PRIVE%ADR(1)%P%R) is the thickness of the erodible bed, not the elevation of the non-erodible bed!
Hope it helps!
Best regards
PL