- Timestamp:
- 2019-10-31T16:39:00+01:00 (5 years ago)
- Location:
- NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/src/OCE/SBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/src/OCE/SBC/sbcblk.F90
r11831 r11841 604 604 605 605 606 ! Turbulent fluxes over ocean => TURB_FLUXES@ sbcblk_phy.F90606 ! Turbulent fluxes over ocean => BULK_FORMULA @ sbcblk_phy.F90 607 607 ! ------------------------------------------------------------- 608 608 609 CALL TURB_FLUXES( rn_zu, zst(:,:), zsq(:,:), t_zu(:,:), q_zu(:,:), Cd_atm(:,:), Ch_atm(:,:), Ce_atm(:,:), &609 CALL BULK_FORMULA( rn_zu, zst(:,:), zsq(:,:), t_zu(:,:), q_zu(:,:), Cd_atm(:,:), Ch_atm(:,:), Ce_atm(:,:), & 610 610 & wndm(:,:), zU_zu(:,:), sf(jp_slp)%fnow(:,:,1), & 611 611 & taum(:,:), zqsb(:,:), zqla(:,:), & … … 617 617 zevap(:,:) = zevap(:,:) * tmask(:,:,1) 618 618 619 DO jj = 1, jpj ! tau i and j component on T-grid points 620 DO ji = 1, jpi 621 zztmp = taum(ji,jj) / wndm(ji,jj) 622 zwnd_i(ji,jj) = zztmp * zwnd_i(ji,jj) 623 zwnd_j(ji,jj) = zztmp * zwnd_j(ji,jj) 624 END DO 625 END DO 619 ! Tau i and j component on T-grid points, using array "Cd_atm" as a temporary array... 620 Cd_atm = 0._wp 621 WHERE ( wndm > 0._wp ) Cd_atm = taum / wndm 622 zwnd_i = Cd_atm * zwnd_i 623 zwnd_j = Cd_atm * zwnd_j 624 !DO jj = 1, jpj ! tau i and j component on T-grid points 625 ! DO ji = 1, jpi 626 ! zztmp = taum(ji,jj) / MAX( wndm(ji,jj) , 0.01_wp ) 627 ! zwnd_i(ji,jj) = zztmp * zwnd_i(ji,jj) 628 ! zwnd_j(ji,jj) = zztmp * zwnd_j(ji,jj) 629 ! END DO 630 !END DO 626 631 ! ! add the HF tau contribution to the wind stress module 627 632 IF( lhftau ) taum(:,:) = taum(:,:) + sf(jp_tdif)%fnow(:,:,1) -
NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/src/OCE/SBC/sbcblk_phy.F90
r11826 r11841 79 79 END INTERFACE alpha_sw 80 80 81 INTERFACE turb_fluxes82 MODULE PROCEDURE turb_fluxes_vctr, turb_fluxes_sclr83 END INTERFACE turb_fluxes81 INTERFACE bulk_formula 82 MODULE PROCEDURE bulk_formula_vctr, bulk_formula_sclr 83 END INTERFACE bulk_formula 84 84 85 85 … … 98 98 PUBLIC update_qnsol_tau 99 99 PUBLIC alpha_sw 100 PUBLIC turb_fluxes100 PUBLIC bulk_formula 101 101 102 102 !!---------------------------------------------------------------------- … … 539 539 zCe = zz0*pqst(ji,jj)/zdq 540 540 541 CALL TURB_FLUXES( pzu, pTs(ji,jj), pqs(ji,jj), pTa(ji,jj), pqa(ji,jj), zCd, zCh, zCe, &541 CALL BULK_FORMULA( pzu, pTs(ji,jj), pqs(ji,jj), pTa(ji,jj), pqa(ji,jj), zCd, zCh, zCe, & 542 542 & pwnd(ji,jj), pUb(ji,jj), pslp(ji,jj), & 543 543 & pTau(ji,jj), zQsen, zQlat ) … … 554 554 555 555 556 SUBROUTINE TURB_FLUXES_VCTR( pzu, pTs, pqs, pTa, pqa, pCd, pCh, pCe, pwnd, pUb, pslp, &556 SUBROUTINE BULK_FORMULA_VCTR( pzu, pTs, pqs, pTa, pqa, pCd, pCh, pCe, pwnd, pUb, pslp, & 557 557 & pTau, pQsen, pQlat, pEvap, prhoa ) 558 558 !!---------------------------------------------------------------------------------- … … 604 604 END DO 605 605 END DO 606 END SUBROUTINE TURB_FLUXES_VCTR607 608 609 SUBROUTINE TURB_FLUXES_SCLR( pzu, pTs, pqs, pTa, pqa, pCd, pCh, pCe, pwnd, pUb, pslp, &606 END SUBROUTINE BULK_FORMULA_VCTR 607 608 609 SUBROUTINE BULK_FORMULA_SCLR( pzu, pTs, pqs, pTa, pqa, pCd, pCh, pCe, pwnd, pUb, pslp, & 610 610 & pTau, pQsen, pQlat, pEvap, prhoa ) 611 611 !!---------------------------------------------------------------------------------- … … 653 653 IF ( PRESENT(prhoa) ) prhoa = zrho 654 654 655 END SUBROUTINE TURB_FLUXES_SCLR655 END SUBROUTINE BULK_FORMULA_SCLR 656 656 657 657
Note: See TracChangeset
for help on using the changeset viewer.