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 8626 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3 – NEMO

Ignore:
Timestamp:
2017-10-13T19:21:48+02:00 (7 years ago)
Author:
clem
Message:

rebin thickness after bdy in case itd is not the same between the input and simulation + prepare some changes in salinity

Location:
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceistate.F90

    r8597 r8626  
    314314 
    315315         ! for constant salinity in time 
    316          IF( nn_icesal == 1 .OR. nn_icesal == 3 )  THEN 
     316         IF( nn_icesal /= 2 )  THEN 
    317317            CALL ice_var_salprof 
    318318            sv_i = s_i * v_i 
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icethd.F90

    r8623 r8626  
    584584                       CALL ice_thd_pnd_init   ! set melt ponds parameters 
    585585      ! 
    586       IF( ln_icedS .AND. nn_icesal == 1 ) THEN 
    587          ln_icedS = .FALSE. 
    588          CALL ctl_warn('ln_icedS is set to false since constant ice salinity is chosen (nn_icesal=1)') 
    589       ENDIF 
    590       ! 
    591586   END SUBROUTINE ice_thd_init 
    592587 
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icethd_dh.F90

    r8623 r8626  
    615615 
    616616         ! Case constant salinity in time: virtual salt flux to keep salinity constant 
    617          IF( nn_icesal == 1 .OR. nn_icesal == 3 )  THEN 
     617         IF( nn_icesal /= 2 )  THEN 
    618618            sfx_bri_1d(ji) = sfx_bri_1d(ji) - sss_1d (ji) * a_i_1d(ji) * zfmdt                  * r1_rdtice  & ! put back sss_m     into the ocean 
    619619               &                            - s_i_1d(ji)  * a_i_1d(ji) * dh_snowice(ji) * rhoic * r1_rdtice    ! and get  rn_icesal from the ocean  
Note: See TracChangeset for help on using the changeset viewer.