Hi,
here is a 'grep' of the JLM10's switch that I added for extended SISYPHE to a multi sediment discharge:
cgl.f: &(I,J,AT) !JLM10
cgl.f: FCT(5:5)=',' !JLM10
cgl.f: !FCT(5:5)=')' !JLM10
cgl.f: IF(J.LT.10)THEN !JLM10
cgl.f: WRITE(FCT(6:6),FMT='(I1)') J !JLM10
cgl.f: FCT(7:7)=')' !JLM10
cgl.f: ELSE !JLM10
cgl.f: WRITE(FCT(6:7),FMT='(I2)') J !JLM10
cgl.f: FCT(8:8)=')' !JLM10
cgl.f: ENDIF !JLM10
conlit.f: CBOR%ADR(I)%P%R(K)=CGL(IFRLIQ,I,AT)/XMVS !JLM10
interface_sisyphe.f: DOUBLE PRECISION FUNCTION CGL( I, J , AT) !JLM10 J
interface_sisyphe.f: INTEGER, INTENT(IN) :: I , J !JLM10 J
interface_sisyphe.f: LOGICAL, INTENT(INOUT) :: SEDCO(NSICLA) !JLM10
Easy ! Only three functions to change !
And then, you have to create a file like this:
#
# CONCENTRATION EN ENTREE
#
T CG(2,1) CG(2,2) CG(2,3) CG(2,4) CG(2,5) CG(2,6) CG(2,7) CG(2,8) CG(2,9) CG(2,10)
s g/l g/l g/l g/l g/l g/l g/l g/l g/l g/l
0 0 0 0 0 0 0 0 4.80E-03 4.80E-03 4.80E-03
900 0 0 0 0 0 0 0 4.80E-03 4.80E-03 4.80E-03
1800 0 0 0 0 0 0 0 4.80E-03 4.80E-03 4.80E-03
2700 0 0 0 0 0 0 0 4.80E-03 4.80E-03 4.80E-03
an example of the need to do it:
www.researchgate.net/publication/3287740..._boundary_conditions
I hope it helps !
Cheers !
Flanagan