Dear Pablo,
I changed the fortran file in the right way, for 5 layers depth defined.
NCOUCHES(J) = 6
ES(J,1) = 0.01D0
...
ES(J,5) = 0.4D0
I also define the fraction of each layers
AVAIL(J,1,1) = AVA0(1)
AVAIL(J,1,2) = AVA0(2)
AVAIL(J,1,3) = AVA0(3)
...
AVAIL(J,5,1) = 0.2D0
AVAIL(J,5,2) = 0.5D0
AVAIL(J,5,3) = 0.3D0
For the value of AVA0(1), AVA0(2), AVA0(3). I defined through the sis.cas files
INITIAL FRACTION FOR PARTICULAR SIZE CLASS = 0.6; 0.3; 0.1
For the 5 sediment types on 5 different layers are defined
MEAN DIAMETER OF THE SEDIMENT =0.72D-3;2.49D-3;3.57D-3;4.62D-3;5.59D-3
In here I don't know how to define the sediment grading curves on each layers, so I hide the 'SEDIMENT DIAMETERS '
There still an unknow errors.
I think I made errors in the parameters 'MEAN DIAMETER OF THE SEDIMENT ' , Maybe this is not for the mean diameter for different layer.
For me, I think the parameters 'SEDIMENT DIAMETERS ' is only the sediment compostion for 1 layer.