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 2998 for branches – NEMO

Changeset 2998 for branches


Ignore:
Timestamp:
2011-10-26T13:31:26+02:00 (12 years ago)
Author:
charris
Message:

#662 Minor change to CICE interface code, plus more careful checking for options not currently available with CICE.

Location:
branches/2011/dev_r2802_UKMO8_cice/NEMOGCM/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

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

    r2884 r2998  
    340340 
    341341! Freezing/melting potential 
    342 ! Calculated over NEMO leapfrog timestep (hence 2*dt), so uses tb as  
    343 ! frzmlt then used in timestep going tb to ta. 
    344  
    345      nfrzmlt(:,:)=rau0*rcp*fse3t(:,:,1)*(Tocnfrz-sst_m(:,:))/(2.0*dt) 
     342! Calculated over NEMO leapfrog timestep (hence 2*dt), so uses tb in  
     343! frzmlt which is then applied in going from tb to ta. 
     344! May be better using sst_m if not coupling to CICE every time-step 
     345 
     346!     nfrzmlt(:,:)=rau0*rcp*fse3t(:,:,1)*(Tocnfrz-sst_m(:,:))/(2.0*dt) 
     347     nfrzmlt(:,:)=rau0*rcp*fse3t(:,:,1)*(Tocnfrz-tsb(:,:,1,jp_tem))/(2.0*dt) 
     348 
    346349     ztmp(:,:) = nfrzmlt(:,:) 
    347350     CALL nemo2cice(ztmp,frzmlt,'T', 1. ) 
  • branches/2011/dev_r2802_UKMO8_cice/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r2874 r2998  
    148148      IF( ( nn_ice == 2 .OR. nn_ice ==3 ) .AND. .NOT.( ln_blk_clio .OR. ln_blk_core .OR. lk_cpl ) )   & 
    149149         &   CALL ctl_stop( 'LIM sea-ice model requires a bulk formulation or coupled configuration' ) 
    150       IF( nn_ice == 4 .AND. .NOT.( ln_flx .OR. ln_blk_core .OR. lk_cpl ) )   & 
    151          &   CALL ctl_stop( 'CICE sea-ice model requires ln_blk_core, ln_flx or ln_cpl' ) 
     150      IF( nn_ice == 4 .AND. .NOT.( ln_blk_core .OR. lk_cpl ) )   & 
     151         &   CALL ctl_stop( 'CICE sea-ice model requires ln_blk_core or lk_cpl' ) 
     152      IF( nn_ice == 4 .AND. ( .NOT. ( cp_cfg == 'orca' ) .OR. lk_agrif ) )   & 
     153         &   CALL ctl_stop( 'CICE sea-ice model currently only available in a global ORCA configuration without AGRIF' ) 
    152154       
    153155      IF( ln_dm2dc )   nday_qsr = -1   ! initialisation flag 
Note: See TracChangeset for help on using the changeset viewer.