@@ -2472,7 +2472,6 @@ subroutine generic_WOMBATmid_update_from_source(tracer_list, Temp, Salt, &
2472
2472
real , dimension (:,:), allocatable :: ek_bgr, par_bgr_mid, par_bgr_top
2473
2473
real , dimension (:), allocatable :: wsink, wsinkcal
2474
2474
real , dimension (4 ,61 ) :: zbgr
2475
- real :: max_wsink
2476
2475
real :: ztemk, fe_keq, fe_par, fe_sfe, fe_tfe, partic
2477
2476
real :: fesol1, fesol2, fesol3, fesol4, fesol5, hp, fe3sol
2478
2477
real :: biof, biodoc, zno3, zfermin
@@ -3936,6 +3935,8 @@ subroutine generic_WOMBATmid_update_from_source(tracer_list, Temp, Salt, &
3936
3935
3937
3936
! Variable sinking rates of organic detritus (positive for sinking when GOLDtridiag == .true.)
3938
3937
! (negative for sinking when IOWtridiag ==.true.)
3938
+ ! Note: sinking distances are limited in the vertdiff solver to prevent characteristics
3939
+ ! crossing within a timestep
3939
3940
do j = jsc,jec; do i = isc,iec;
3940
3941
if (grid_kmt(i,j).gt. 0 ) then
3941
3942
biophy1 = max (epsi, (wombat% f_phy(i,j,1 )+ wombat% f_dia(i,j,1 )) ) / mmol_m3_to_mol_kg ! [mmol/m3]
@@ -3945,9 +3946,6 @@ subroutine generic_WOMBATmid_update_from_source(tracer_list, Temp, Salt, &
3945
3946
(wombat% f_caco3(i,j,k) / (wombat% f_det(i,j,k) + wombat% f_caco3(i,j,k) + epsi)))
3946
3947
! Increase sinking rate with depth to achieve power law behaviour
3947
3948
wsink(k) = wsink(k) + max (0.0 , wombat% zw(i,j,k)/ 5000.0 * (wombat% wdetmax - wsink(k)))
3948
- ! Ensure that we don't violate the CFL criterion
3949
- max_wsink = dzt(i,j,k) * 0.5 / (dt * 2 ) ! [m/s]
3950
- wsink(k) = min (wsink(k), max_wsink)
3951
3949
! CaCO3 sinks slower than general detritus because it tends to be smaller
3952
3950
wsinkcal(k) = wsink(k) * wombat% wcaco3/ wombat% wdetbio
3953
3951
enddo
0 commit comments