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 8905 for branches/UKMO/dev_r8183_ICEMODEL_svn_removed/NEMOGCM/NEMO/LIM_SRC_3/icethd_zdf.F90 – NEMO

Ignore:
Timestamp:
2017-12-05T18:17:16+01:00 (7 years ago)
Author:
alexwestmohc
Message:

This branch version enables running of coupled NEMO-LIM at the Met Office for at
least ~200 timesteps (until killed by wallclock).

Fixes relative to previous version:

icethd_zdf -

Minimum snow, and ice thickness thresholds implemented, for calculation of
effective conductivity

sbccpl -

Sea ice coupling fields initialised to 0. in sbc_cpl_init, if ln_meto_cpl is
set. This may not be the right place to do this but I think these do need to
be set to zero before the initial coupling exchange and it's not clear that
this would happen otherwise (as LIM is not called till after this exchange

sbcmod -

Corrected an output message which reported the wrong logical

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r8183_ICEMODEL_svn_removed/NEMOGCM/NEMO/LIM_SRC_3/icethd_zdf.F90

    r8771 r8905  
    911911      ! effective conductivity and 1st layer temperature (Jules coupling) 
    912912      DO ji = 1, npti 
    913          cnd_ice_1d(ji) = 2._wp * ( isnow(ji) * zkappa_s(ji,0) + ( 1._wp - isnow(ji) ) * zkappa_i(ji,0) ) 
     913         IF (h_s_1d(ji) > 0.1 ) THEN  
     914             cnd_ice_1d(ji) = 2._wp * zkappa_s(ji,0) 
     915         ELSE 
     916             IF (h_i_1d(ji) > 0.1 ) THEN 
     917                 cnd_ice_1d(ji) = 2._wp * zkappa_i(ji,0) 
     918             ELSE 
     919                 cnd_ice_1d(ji) = 2._wp * ztcond_i(ji,0) / 0.1 
     920             ENDIF 
     921         ENDIF 
    914922         t1_ice_1d (ji) =         ( isnow(ji) * t_s_1d  (ji,1) + ( 1._wp - isnow(ji) ) * t_i_1d  (ji,1) ) 
    915923      END DO 
Note: See TracChangeset for help on using the changeset viewer.