I think I found a typo in sediment_inp.h where the sediment tracer diffusivity is read from sediment.in:
After
Code: Select all
CASE ('MUD_TNU4')
Npts=load_r(Nval, Rval, NCS, Ngrids, Rmud)
DO ng=1,Ngrids
DO itrc=1,NCS
i=idsed(itrc)
nl_tnu4(i,ng)=Rmud(itrc,ng)
END DO
END DO
Code: Select all
CASE ('ad_MUD_TNU4')
Npts=load_r(Nval, Rval, NCS, Ngrids, Rmud)
DO ng=1,Ngrids
DO itrc=1,NCS
i=idsed(itrc)
ad_tnu4(i,ng)=Rmud(itrc,ng)
nl_tnu4(i,ng)=Rmud(itrc,ng)
END DO
END DO
Code: Select all
CASE ('ad_MUD_TNU4')
Npts=load_r(Nval, Rval, NCS, Ngrids, Rmud)
DO ng=1,Ngrids
DO itrc=1,NCS
i=idsed(itrc)
ad_tnu4(i,ng)=Rmud(itrc,ng)
tl_tnu4(i,ng)=Rmud(itrc,ng)
END DO
END DO
I haven't updated my roms source since some weeks so I hope this hasn't already been corrected. If so, I apologize.