- Timestamp:
- 2010-11-10T08:48:54+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_clio.F90
r2287 r2370 83 83 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 84 84 !! $Id$ 85 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)85 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 86 86 !!---------------------------------------------------------------------- 87 88 87 CONTAINS 89 88 … … 137 136 138 137 ! (NB: frequency positive => hours, negative => months) 139 ! ! file ! frequency ! variable ! time intep ! clim ! 'yearly' or ! weights ! rotation!140 ! ! name ! (hours) ! name ! (T/F) ! (T/F) ! 'monthly' ! filename ! pairs!141 sn_utau = FLD_N( 'utau' , 24 , 'utau' , .true. , .false. , 'yearly' , '' , '')142 sn_vtau = FLD_N( 'vtau' , 24 , 'vtau' , .true. , .false. , 'yearly' , '' , '')143 sn_wndm = FLD_N( 'mwnd10m' , 24 , 'm_10' , .true. , .false. , 'yearly' , '' , '')144 sn_tair = FLD_N( 'tair10m' , 24 , 't_10' , .false. , .false. , 'yearly' , '' , '')145 sn_humi = FLD_N( 'humi10m' , 24 , 'q_10' , .false. , .false. , 'yearly' , '' , '')146 sn_ccov = FLD_N( 'ccover' , -1 , 'cloud' , .true. , .false. , 'yearly' , '' , '')147 sn_prec = FLD_N( 'precip' , -1 , 'precip' , .true. , .false. , 'yearly' , '' , '')138 ! ! file ! frequency ! variable ! time intep ! clim ! 'yearly' or ! weights ! rotation ! 139 ! ! name ! (hours) ! name ! (T/F) ! (T/F) ! 'monthly' ! filename ! pairs ! 140 sn_utau = FLD_N( 'utau' , 24 , 'utau' , .true. , .false. , 'yearly' , '' , '' ) 141 sn_vtau = FLD_N( 'vtau' , 24 , 'vtau' , .true. , .false. , 'yearly' , '' , '' ) 142 sn_wndm = FLD_N( 'mwnd10m', 24 , 'm_10' , .true. , .false. , 'yearly' , '' , '' ) 143 sn_tair = FLD_N( 'tair10m', 24 , 't_10' , .false. , .false. , 'yearly' , '' , '' ) 144 sn_humi = FLD_N( 'humi10m', 24 , 'q_10' , .false. , .false. , 'yearly' , '' , '' ) 145 sn_ccov = FLD_N( 'ccover' , -1 , 'cloud' , .true. , .false. , 'yearly' , '' , '' ) 146 sn_prec = FLD_N( 'precip' , -1 , 'precip' , .true. , .false. , 'yearly' , '' , '' ) 148 147 149 148 REWIND( numnam ) ! ... read in namlist namsbc_clio … … 473 472 INTEGER :: ijpl ! number of ice categories (size of 3rd dim of input arrays) 474 473 !! 475 REAL(wp) :: zcoef, zmt1, zmt2, zmt3, ztatm3 474 REAL(wp) :: zcoef, zmt1, zmt2, zmt3, ztatm3 ! temporary scalars 476 475 REAL(wp) :: ztaevbk, zind1, zind2, zind3, ztamr ! - - 477 476 REAL(wp) :: zesi, zqsati, zdesidt ! - - … … 496 495 SELECT CASE( cd_grid ) 497 496 CASE( 'C' ) ! C-grid ice dynamics 498 ! Change from wind speed to wind stress over OCEAN (cao is used) 499 zcoef = cai / cao 497 zcoef = cai / cao ! Change from air-sea stress to air-ice stress 500 498 !CDIR COLLAPSE 501 499 DO jj = 1 , jpj … … 505 503 END DO 506 504 END DO 507 CASE( 'B' ) ! B-grid ice dynamics 508 ! stress from ocean U- and V-points to ice U,V point 509 !CDIR COLLAPSE 510 DO jj = 2, jpj 511 DO ji = 2, jpi ! B grid : no vector opt. 512 p_taui(ji,jj) = 0.5 * ( utau(ji-1,jj ) + utau(ji-1,jj-1) ) 513 p_tauj(ji,jj) = 0.5 * ( vtau(ji ,jj-1) + vtau(ji-1,jj-1) ) 505 CASE( 'I' ) ! I-grid ice dynamics: I-point (i.e. F-point lower-left corner) 506 zcoef = 0.5_wp * cai / cao ! Change from air-sea stress to air-ice stress!CDIR COLLAPSE 507 DO jj = 2, jpj ! stress from ocean U- and V-points to ice U,V point 508 DO ji = 2, jpi ! I-grid : no vector opt. 509 p_taui(ji,jj) = zcoef * ( utau(ji-1,jj ) + utau(ji-1,jj-1) ) 510 p_tauj(ji,jj) = zcoef * ( vtau(ji ,jj-1) + vtau(ji-1,jj-1) ) 514 511 END DO 515 512 END DO 516 CALL lbc_lnk( p_taui(:,:), 'I', -1. ) ! I-point (i.e. ice U-V point) 517 CALL lbc_lnk( p_tauj(:,:), 'I', -1. ) ! I-point (i.e. ice U-V point) 513 CALL lbc_lnk( p_taui(:,:), 'I', -1. ) ; CALL lbc_lnk( p_tauj(:,:), 'I', -1. ) ! I-point 518 514 END SELECT 519 515
Note: See TracChangeset
for help on using the changeset viewer.