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 2874 for branches/2011/dev_r2802_UKMO8_cice/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90 – NEMO

Ignore:
Timestamp:
2011-09-28T12:19:59+02:00 (13 years ago)
Author:
charris
Message:

Code for running NEMO with CICE (for fully coupled mode this should be used in combination with dev_r2802_UKMO8_sbccpl). Changes are described briefly below.

physct: Constants modified to be consistent with CICE

nemogcm / prtctl / mppini: Changes to NEMO decomposition (activated using key_nemocice_decomp) to produce 'square' options in CICE. Can run without this key / code but this requires a global gather / scatter in the NEMO-CICE coupling which gets very slow on large processors numbers.

sbc_ice: CICE options and arrays added

sbcmod: CICE option added, including calls for initialising and finalising CICE.

sbcblk_core: Make sure necessary forcing field are available for CICE

sbcice_cice: Main CICE coupling code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_r2802_UKMO8_cice/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90

    r2777 r2874  
    3434   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    3535   USE prtctl          ! Print control 
    36 #if defined key_lim3 
     36#if defined key_lim3 || defined key_cice 
    3737   USE sbc_ice         ! Surface boundary condition: ice fields 
    3838#endif 
     
    182182      !                                                        ! surface ocean fluxes computed with CLIO bulk formulea 
    183183      IF( MOD( kt - 1, nn_fsbc ) == 0 )   CALL blk_oce_core( sf, sst_m, ssu_m, ssv_m ) 
     184 
     185#if defined key_cice 
     186      IF( MOD( kt - 1, nn_fsbc ) == 0 )   THEN 
     187         qlw_ice(:,:,1)   = sf(jp_qlw)%fnow(:,:,1)  
     188         qsr_ice(:,:,1)   = sf(jp_qsr)%fnow(:,:,1) 
     189         tatm_ice(:,:)    = sf(jp_tair)%fnow(:,:,1)          
     190         qatm_ice(:,:)    = sf(jp_humi)%fnow(:,:,1) 
     191         tprecip(:,:)     = sf(jp_prec)%fnow(:,:,1) * rn_pfac 
     192         sprecip(:,:)     = sf(jp_snow)%fnow(:,:,1) * rn_pfac 
     193         wndi_ice(:,:)    = sf(jp_wndi)%fnow(:,:,1) 
     194         wndj_ice(:,:)    = sf(jp_wndj)%fnow(:,:,1) 
     195      ENDIF 
     196#endif 
    184197      ! 
    185198   END SUBROUTINE sbc_blk_core 
Note: See TracChangeset for help on using the changeset viewer.