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 – NEMO

Changeset 8626 for branches/2017


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
Files:
4 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  
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/BDY/bdyice.F90

    r8564 r8626  
    1919   USE eosbn2          ! equation of state 
    2020   USE oce             ! ocean dynamics and tracers variables 
    21    USE ice             ! LIM_3 ice variables 
    22    USE icevar 
    23    USE icectl 
     21   USE ice             ! sea-ice: variables 
     22   USE icevar          ! sea-ice: operations 
     23   USE iceitd          ! sea-ice: rebining 
     24   USE icectl          ! sea-ice: control prints 
    2425   USE par_oce         ! ocean parameters 
    2526   USE dom_oce         ! ocean space and time domain variables  
     
    7172      END DO 
    7273      ! 
    73                         CALL ice_var_zapsmall 
    74                         CALL ice_var_agg(1) 
     74      CALL ice_var_zapsmall 
     75      CALL ice_var_agg(1) 
    7576      IF( ln_icectl )   CALL ice_prt( kt, iiceprt, jiceprt, 1, ' - ice thermo bdy - ' ) 
    7677      ! 
     
    248249      END DO !jl 
    249250      ! 
     251      ! --- In case categories are out of bounds, do a remapping --- ! 
     252      !     i.e. inputs have not the same ice thickness distribution  
     253      !          (set by rn_himean) than the regional simulation 
     254      IF( jpl > 1 )   CALL ice_itd_reb( kt ) 
    250255      !       
    251256      IF( nn_timing == 1 )   CALL timing_stop('bdy_ice_frs') 
Note: See TracChangeset for help on using the changeset viewer.