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 1370 for trunk/NEMO/LIM_SRC_2 – NEMO

Changeset 1370 for trunk/NEMO/LIM_SRC_2


Ignore:
Timestamp:
2009-04-02T09:23:12+02:00 (15 years ago)
Author:
ctlod
Message:

bound salt exchange between Ice/Ocean? in Baltic Sea for ORCA2_LIM, see ticket: #388

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_2/limsbc_2.F90

    r1228 r1370  
    3838   REAL(wp)  ::   rzero  = 0.e0     
    3939   REAL(wp)  ::   rone   = 1.e0 
     40   REAL(wp), DIMENSION(jpi,jpj)  ::   soce_r 
     41   REAL(wp), DIMENSION(jpi,jpj)  ::   sice_r 
    4042 
    4143   !! * Substitutions 
     
    7880      INTEGER  ::   ifvt, i1mfr, idfr               ! some switches 
    7981      INTEGER  ::   iflt, ial, iadv, ifral, ifrdv 
     82      INTEGER  ::   ii0, ii1, ij0, ij1  ! temporary integers 
    8083      REAL(wp) ::   zqsr  , zqns     ! solar & non solar heat flux 
    8184      REAL(wp) ::   zinda            ! switch for testing the values of ice concentration 
     
    100103         IF(lwp) WRITE(numout,*) 'lim_sbc_2 : LIM 2.0 sea-ice - surface boundary condition' 
    101104         IF(lwp) WRITE(numout,*) '~~~~~~~~~   ' 
     105         ! 
     106         IF( cp_cfg == "orca"  .AND. jp_cfg == 2 ) THEN 
     107            !                                        ! ======================= 
     108            !                                        !  ORCA_R2 configuration 
     109            !                                        ! ======================= 
     110            soce_r(:,:) = soce 
     111            sice_r(:,:) = sice 
     112            ii0 = 145   ;   ii1 = 180        ! Baltic Sea 
     113            ij0 = 113   ;   ij1 = 130   ;   soce_r(mi0(ii0):mi1(ii1) , mj0(ij0):mj1(ij1) ) = 4.e0 
     114                                            sice_r(mi0(ii0):mi1(ii1) , mj0(ij0):mj1(ij1) ) = 2.e0 
     115         ENDIF 
     116         ! 
    102117      ENDIF 
    103118 
     
    204219 
    205220            !  computing salt exchanges at the ice/ocean interface 
    206             zfons =  ( soce - sice ) * ( rdmicif(ji,jj) / rdt_ice )  
     221            zfons =  ( soce_r(ji,jj) - sice_r(ji,jj) ) * ( rdmicif(ji,jj) / rdt_ice )  
    207222             
    208223            !  converting the salt flux from ice to a freshwater flux from ocean 
Note: See TracChangeset for help on using the changeset viewer.