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

Ignore:
Timestamp:
2017-11-21T17:28:51+01:00 (6 years ago)
Author:
clem
Message:

add 1st layer temperature for Jules

File:
1 edited

Legend:

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

    r8768 r8771  
    909909      ! 11) Jules coupling: reset inner snow and ice temperatures, update conduction fluxes 
    910910      !--------------------------------------------------------------------------------------- 
    911       ! effective conductivity (10cm treshold to avoid cnd_ice to be too big) 
     911      ! effective conductivity and 1st layer temperature (Jules coupling) 
    912912      DO ji = 1, npti 
    913          IF( zh_s(ji) >= 0.1_wp ) THEN   ;   cnd_ice_1d(ji) = zkappa_s(ji,0) * 2._wp 
    914          ELSE                            ;   cnd_ice_1d(ji) = zkappa_i(ji,0) * 2._wp 
    915          ENDIF 
     913         cnd_ice_1d(ji) = 2._wp * ( isnow(ji) * zkappa_s(ji,0) + ( 1._wp - isnow(ji) ) * zkappa_i(ji,0) ) 
     914         t1_ice_1d (ji) =         ( isnow(ji) * t_s_1d  (ji,1) + ( 1._wp - isnow(ji) ) * t_i_1d  (ji,1) ) 
    916915      END DO 
    917916      ! 
Note: See TracChangeset for help on using the changeset viewer.