Hi PL and Sven,
I'm currently working on SEDI-3D subroutines inside TELEMAC-3D.
I check the code and got the similar conclusion as yours.
The sediment is mainly treated as passive tracer except for one place. In drsurr.f near the end, sediment concentration affects the DELTAR, which is the RELATIVE DENSITY ((RHO-RHO0)/RHO0). Then this DELTAR will be used to calculate the buoyancy term in momentum equations and the turbulence models, such as in k-epsilon equations. But it actually doesn't change water density itself as I can tell from the code.
On the other hand, the density laws (1, 2 or 3) in the code only considers salinity and/or temperature. It recognize the right tracer by reading the name of the tracers. And it changes water density directly, therefore will change DELTAR, too.
Density law 4 seems only considers sediment concentrations.
If we combine salinity (density law 2) and sediment (SEDI=YES), it seems like the salinity contributes to the change of water density RHO, and then leads to a new DELTAR. Later in the same subroutine, this new DELTAR is being overwritten, based on RHO0, which is average water density defined as a constant in steering file. In this sense, I think the salinity effect has been left out.
If we want to keep both contributions to DELTAR, maybe we should use RHO instead of RHO0 in the following code?
IF(SEDI) THEN
IF(MIXTE) THEN
CALL OS('X=X+CY ',X=DELTAR,Y=TA%ADR(NTRAC-1)%P,
& C=(RHOS-RHO0)/(RHO0*RHOS))
CALL OS('X=X+CY ',X=DELTAR,Y=TA%ADR(NTRAC)%P,
& C=(RHOS-RHO0)/(RHO0*RHOS))
ELSE
CALL OS('X=X+CY ',X=DELTAR,Y=TA%ADR(NTRAC)%P,
& C=(RHOS-RHO0)/(RHO0*RHOS))
ENDIF
ENDIF
Best regards,
Qilong