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 12811 for NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE/icethd_pnd.F90 – NEMO

Ignore:
Timestamp:
2020-04-24T17:20:27+02:00 (4 years ago)
Author:
clem
Message:

debug a restartability issue. All sette tests passed now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE/icethd_pnd.F90

    r12726 r12811  
    184184            h_ip_1d(ji)      = 0._wp 
    185185            h_il_1d(ji)      = 0._wp 
    186             ! 
    187             ! clem: problem with conservation or not ? 
    188186            !                                                         !--------------------------------! 
    189187         ELSE                                                         ! Case ice thickness >= rn_himin ! 
     
    267265               zhp = ( h_i_1d(ji) * ( rau0 - rhoi ) + h_ip_1d(ji) * ( rau0 - rhow * a_ip_1d(ji) / a_i_1d(ji) ) ) * r1_rau0 
    268266 
    269                ! Calculate the permeability of the ice (Assur 1958) 
     267               ! Calculate the permeability of the ice (Assur 1958, see Flocco 2010) 
    270268               DO jk = 1, nlay_i 
    271269                  zsbr = - 1.2_wp                                  & 
    272270                     &   - 21.8_wp    * ( t_i_1d(ji,jk) - rt0 )    & 
    273271                     &   - 0.919_wp   * ( t_i_1d(ji,jk) - rt0 )**2 & 
    274                      &   - 0.0178_wp  * ( t_i_1d(ji,jk) - rt0 )**3 ! clem: error here the factor was 0.01878 instead of 0.0178 (cf Flocco 2010) 
     272                     &   - 0.0178_wp  * ( t_i_1d(ji,jk) - rt0 )**3 
    275273                  ztmp(jk) = sz_i_1d(ji,jk) / zsbr 
    276274               END DO 
Note: See TracChangeset for help on using the changeset viewer.