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 900 for trunk/NEMO/OPA_SRC/SBC/sbcice_lim.F90 – NEMO

Ignore:
Timestamp:
2008-04-22T20:13:41+02:00 (16 years ago)
Author:
rblod
Message:

Update 1D configuration according to SBC and LIM3, see ticket #117

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcice_lim.F90

    r888 r900  
    1818   !!---------------------------------------------------------------------- 
    1919   USE oce             ! ocean dynamics and tracers 
     20   USE c1d             ! 1d configuration 
    2021   USE dom_oce         ! ocean space and time domain 
    2122   USE par_ice         ! sea-ice parameters 
     
    135136 
    136137         ! ... masked sea surface freezing temperature [Kelvin] (set to rt0 over land) 
    137 !old fashion         zsss_m (:,:) = SQRT( sss_m(:,:) ) 
    138 !old fashion         zsss2_m(:,:) = sss_m(:,:) * sss_m(:,:) 
    139 !old fashion         zsss3_m(:,:) = zsss_m(:,:) * zsss_m(:,:) * zsss_m(:,:) 
    140 !old fashion 
    141 !old fashion         DO jj = 1, jpj 
    142 !old fashion            DO ji = 1, jpi 
    143 !old fashion               t_bo(ji,jj)  = ABS ( rt0 - 0.0575      * sss_m(ji,jj)      & 
    144 !old fashion                  &                    + 1.710523e-03 * zsss3_m(ji,jj)    & 
    145 !old fashion                  &                    - 2.154996e-04 * zsss2_m(ji,jj) )  & 
    146 !old fashion                            * tms(ji,jj) 
    147 !old fashion            END DO 
    148 !old fashion         END DO 
    149138         t_bo(:,:) = tfreez( sss_m ) +  rt0  
    150139 
     
    221210         d_oa_i_thd(:,:,:)  = 0.e0 ; d_oa_i_trp(:,:,:)  = 0.e0 
    222211 
    223          emps(:,:)      = 0.e0     ; fseqv(:,:)     = 0.e0 
     212         fseqv(:,:)     = 0.e0 
    224213         fsbri(:,:)     = 0.e0     ; fsalt_res(:,:) = 0.e0 
    225214         fsalt_rpo(:,:) = 0.e0 
     
    251240         ! Dynamical processes |        
    252241         !---------------------| 
    253                          CALL lim_dyn                    ! Ice dynamics    ( rheology/dynamics ) 
    254                          CALL lim_trp                    ! Ice transport   ( Advection/diffusion ) 
    255                          CALL lim_var_agg(1)             ! aggregate categories, requested 
    256                          CALL lim_var_glo2eqv            ! equivalent variables, requested for rafting 
     242         IF( .NOT. lk_c1d ) THEN                         ! Ice dynamics & transport (not in 1D case) 
     243                         CALL lim_dyn                         ! Ice dynamics    ( rheology/dynamics ) 
     244                         CALL lim_trp                         ! Ice transport   ( Advection/diffusion ) 
     245                         CALL lim_var_agg(1)                  ! aggregate categories, requested 
     246                         CALL lim_var_glo2eqv                 ! equivalent variables, requested for rafting 
    257247                         !+++++ 
    258248                         WRITE(numout,*) ' - After ice dynamics and transport ' 
    259                          CALL lim_inst_state(jiindx,jjindx,1) 
    260                          WRITE(numout,*) ' ' 
     249                         CALL lim_inst_state( jiindx, jjindx, 1 ) 
    261250                         WRITE(numout,*) 
    262251                         WRITE(numout,*) ' Mechanical Check ************** ' 
     
    267256                         WRITE(numout,*) ' Sum of both minus 1     ', ato_i(jiindx,jjindx) + at_i(jiindx,jjindx) - 1.00 
    268257                         !+++++ 
    269                          CALL lim_itd_me                 ! Mechanical redistribution ! (ridging/rafting) 
     258                         CALL lim_itd_me                      ! Mechanical redistribution ! (ridging/rafting) 
     259         ENDIF 
    270260         !--------------------| 
    271261         ! Ice thermodynamics | 
     
    317307         IF( lrst_ice )  CALL lim_rst_write( kt )        ! Ice restart file  
    318308                         CALL lim_var_glo2eqv 
    319          ! 
    320          ! Re-initialization of forcings 
    321          qsr     (:,:)   = 0.e0 
    322          qns     (:,:)   = 0.e0 
    323          tprecip (:,:)   = 0.e0  
    324          sprecip (:,:)   = 0.e0 
    325          qsr_ice (:,:,:) = 0.e0 
    326          qns_ice (:,:,:) = 0.e0  
    327          dqns_ice(:,:,:) = 0.e0  
    328 #if ! defined key_coupled  
    329          qla_ice (:,:,:) = 0.e0 
    330          dqla_ice(:,:,:) = 0.e0 
    331          fr1_i0  (:,:)   = 0.e0 
    332          fr2_i0  (:,:)   = 0.e0 
    333 #else 
    334          rrunoff (:,:)   = 0.e0 
    335          calving (:,:)   = 0.e0 
    336 #endif 
    337309         ! 
    338310         !-------------------------------| 
Note: See TracChangeset for help on using the changeset viewer.