New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 13995 – NEMO

Changeset 13995


Ignore:
Timestamp:
2020-12-02T14:46:49+01:00 (3 years ago)
Author:
laurent
Message:

Fix to access z0 without "Cdn_oce" in "ABL/ablmod.F90"!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/src/ABL/ablmod.F90

    r13719 r13995  
    1818   USE dom_oce, ONLY  : tmask 
    1919   USE sbc_oce, ONLY  : ght_abl, ghw_abl, e3t_abl, e3w_abl, jpka, jpkam1, rhoa 
    20    USE sbcblk         ! use rn_efac, cdn_oce 
     20   USE sbcblk         ! use rn_efac 
    2121   USE sbc_phy        ! Catalog of functions for physical/meteorological parameters in the marine boundary layer 
    2222   ! 
     
    135135         ustar2(ji,jj) = zzoce 
    136136#endif 
    137          zrough(ji,jj) = ght_abl(2) * EXP( - vkarmn / SQRT( MAX( Cdn_oce(ji,jj), 1.e-4 ) ) ) !<-- recover the value of z0 from Cdn_oce 
     137         !#LB: sorry Cdn_oce is gone: 
     138         !zrough(ji,jj) = ght_abl(2) * EXP( - vkarmn / SQRT( MAX( Cdn_oce(ji,jj), 1.e-4 ) ) ) !<-- recover the value of z0 from Cdn_oce 
    138139      END_2D 
     140 
     141      zrough(:,:) = z0_from_Cd( ght_abl(2), pCd_du(:,:) / MAX( pwndm(:,:), 0.5_wp ) ! #LB: z0_from_Cd is define in sbc_phy.F90... 
     142          
    139143      ! 
    140144      !                            !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
Note: See TracChangeset for help on using the changeset viewer.