Changeset 10466 for NEMO/branches/UKMO
- Timestamp:
- 2019-01-08T11:15:29+01:00 (5 years ago)
- Location:
- NEMO/branches/UKMO/dev_10448_WAD_SBC_BUGFIX
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/dev_10448_WAD_SBC_BUGFIX/cfgs/SHARED/namelist_ref
r10456 r10466 122 122 rn_wdld = 2.5 ! Land elevation below which WaD is allowed 123 123 nn_wdit = 20 ! Max iterations for WaD limiter 124 rn_wd_sbcdep = 5.0 ! Depth at which to taper sbc fluxes124 rn_wd_sbcdep = 5.0 ! Depth at which to taper sbc fluxes 125 125 rn_wd_sbcfra = 0.999 ! Fraction of SBC fluxes at taper depth (Must be <1) 126 127 126 / 128 127 !----------------------------------------------------------------------- -
NEMO/branches/UKMO/dev_10448_WAD_SBC_BUGFIX/src/OCE/DOM/istate.F90
r10456 r10466 100 100 ! 101 101 sshb(:,:) = 0._wp ! set the ocean at rest 102 IF( ll_wd) then102 IF( ll_wd ) THEN 103 103 sshb(:,:) = -ssh_ref ! Added in 30 here for bathy that adds 30 as Iterative test CEOD 104 104 ! -
NEMO/branches/UKMO/dev_10448_WAD_SBC_BUGFIX/src/OCE/SBC/sbcmod.F90
r10456 r10466 466 466 !!$!clem: it looks like it is necessary for the north fold (in certain circumstances). Don't know why. 467 467 !!$ CALL lbc_lnk( 'sbcmod', emp, 'T', 1. ) 468 IF ( ll_wd ) THEN ! If near WAD point limit the flux for now469 zthscl = atanh(rn_wd_sbcfra) ! taper frac default is .999470 zwdht(:,:) = sshn(:,:) + ht_0(:,:) - rn_wdmin1 ! do this calc of water468 IF ( ll_wd ) THEN ! If near WAD point limit the flux for now 469 zthscl = atanh(rn_wd_sbcfra) ! taper frac default is .999 470 zwdht(:,:) = sshn(:,:) + ht_0(:,:) - rn_wdmin1 ! do this calc of water 471 471 ! depth above wd limit once 472 WHERE( zwdht(:,:) <= 0.0 )472 WHERE( zwdht(:,:) <= 0.0 ) 473 473 taum(:,:) = 0.0 474 474 utau(:,:) = 0.0 … … 478 478 emp (:,:) = min(emp(:,:),0.0) !can allow puddles to grow but not shrink 479 479 sfx (:,:) = 0.0 480 END WHERE481 zwght(:,:) = tanh(zthscl*zwdht(:,:))482 WHERE( zwdht(:,:) > 0.0 .and. zwdht(:,:) < rn_wd_sbcdep ) ! 5 m hard limit here is arbitrary480 END WHERE 481 zwght(:,:) = tanh(zthscl*zwdht(:,:)) 482 WHERE( zwdht(:,:) > 0.0 .and. zwdht(:,:) < rn_wd_sbcdep ) ! 5 m hard limit here is arbitrary 483 483 qsr (:,:) = qsr(:,:) * zwght(:,:) 484 484 qns (:,:) = qns(:,:) * zwght(:,:) … … 486 486 utau (:,:) = utau(:,:) * zwght(:,:) 487 487 vtau (:,:) = vtau(:,:) * zwght(:,:) 488 sfx (:,:)= sfx(:,:) * zwght(:,:)488 sfx (:,:) = sfx(:,:) * zwght(:,:) 489 489 emp (:,:) = emp(:,:) * zwght(:,:) 490 END WHERE491 ENDIF490 END WHERE 491 ENDIF 492 492 ! 493 493 IF( kt == nit000 ) THEN ! set the forcing field at nit000 - 1 !
Note: See TracChangeset
for help on using the changeset viewer.