Changeset 888 for trunk/NEMO/LIM_SRC_3/limthd.F90
- Timestamp:
- 2008-04-11T19:05:03+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/LIM_SRC_3/limthd.F90
r869 r888 18 18 USE ice ! LIM sea-ice variables 19 19 USE ice_oce ! sea-ice/ocean variables 20 USE flx_oce ! sea-ice/ocean forcings variables 20 USE sbc_oce ! Surface boundary condition: ocean fields 21 USE sbc_ice ! Surface boundary condition: ice fields 21 22 USE thd_ice ! LIM thermodynamic sea-ice variables 22 23 USE dom_ice ! LIM sea-ice domain … … 52 53 !!---------------------------------------------------------------------- 53 54 !! LIM 2.0, UCL-LOCEAN-IPSL (2005) 54 !! $ Header: /home/opalod/NEMOCVSROOT/NEMO/LIM_SRC/limthd.F90,v 1.6 2005/03/27 18:34:42 opalod Exp$55 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt55 !! $ Id: $ 56 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 56 57 !!---------------------------------------------------------------------- 57 58 … … 84 85 !!--------------------------------------------------------------------- 85 86 !! * Local variables 86 INTEGER :: ji, jj, jk, jl, & 87 zji , zjj, & ! dummy loop indices 88 nbpb , & ! nb of icy pts for thermo. cal. 89 index 87 INTEGER :: ji, jj, jk, jl, nbpb ! nb of icy pts for thermo. cal. 90 88 91 89 REAL(wp) :: & … … 211 209 212 210 ! here the drag will depend on ice thickness and type (0.006) 213 fdtcn(ji,jj) = zindb * rau0 * rcp * 0.006 * zfric_u * ( sst_io(ji,jj) - t_bo(ji,jj) )211 fdtcn(ji,jj) = zindb * rau0 * rcp * 0.006 * zfric_u * ( (sst_m(ji,jj) + rt0) - t_bo(ji,jj) ) 214 212 ! also category dependent 215 213 ! !-- Energy from the turbulent oceanic heat flux heat flux coming in the lead … … 220 218 ! !-- Lead heat budget (part 1, next one is in limthd_dh 221 219 ! !-- qldif -- (or qldif_1d in 1d routines) 222 zfontn = sprecip(ji,jj) * lfus ! 223 zfnsol = qns r_oce(ji,jj) !total non solar flux224 qldif(ji,jj) = tms(ji,jj) * ( qsr _oce(ji,jj)&220 zfontn = sprecip(ji,jj) * lfus ! energy of melting 221 zfnsol = qns(ji,jj) ! total non solar flux 222 qldif(ji,jj) = tms(ji,jj) * ( qsr(ji,jj) & 225 223 & + zfnsol + fdtcn(ji,jj) - zfontn & 226 224 & + ( 1.0 - zindb ) * fsbbq(ji,jj) ) & … … 242 240 ! Energy needed to bring ocean surface layer until its freezing 243 241 ! qcmif, limflx 244 qcmif (ji,jj) = rau0 * rcp * fse3t(ji,jj,1) * ( t_bo(ji,jj) - sst_io(ji,jj) ) * ( 1. - zinda )242 qcmif (ji,jj) = rau0 * rcp * fse3t(ji,jj,1) * ( t_bo(ji,jj) - (sst_m(ji,jj) + rt0) ) * ( 1. - zinda ) 245 243 246 244 ! calculate oceanic heat flux (limthd_dh) … … 271 269 ENDIF 272 270 ! debug point to follow 273 IF ( (ji.eq.jiind ex).AND.(jj.eq.jjindex) ) THEN271 IF ( (ji.eq.jiindx).AND.(jj.eq.jjindx) ) THEN 274 272 jiindex_1d = nbpb 275 273 ENDIF … … 310 308 CALL tab_2d_1d( nbpb, fr1_i0_1d (1:nbpb) , fr1_i0 , jpi, jpj, npb(1:nbpb) ) 311 309 CALL tab_2d_1d( nbpb, fr2_i0_1d (1:nbpb) , fr2_i0 , jpi, jpj, npb(1:nbpb) ) 312 CALL tab_2d_1d( nbpb, qnsr_ice_1d(1:nbpb) , qns r_ice(:,:,jl), jpi, jpj, npb(1:nbpb) )310 CALL tab_2d_1d( nbpb, qnsr_ice_1d(1:nbpb) , qns_ice(:,:,jl) , jpi, jpj, npb(1:nbpb) ) 313 311 314 312 #if ! defined key_coupled … … 360 358 361 359 !---------------------------------! 362 CALL lim_thd_sal(1,nbpb ,jl)! Ice salinity computation !360 CALL lim_thd_sal(1,nbpb) ! Ice salinity computation ! 363 361 !---------------------------------! 364 362 … … 415 413 CALL tab_1d_2d( nbpb, s_i_newice , npb, s_i_new (1:nbpb) , jpi, jpj ) 416 414 CALL tab_1d_2d( nbpb, izero(:,:,jl) , npb, i0 (1:nbpb) , jpi, jpj ) 417 CALL tab_1d_2d( nbpb, qns r_ice(:,:,jl), npb, qnsr_ice_1d(1:nbpb), jpi, jpj)415 CALL tab_1d_2d( nbpb, qns_ice(:,:,jl), npb, qnsr_ice_1d(1:nbpb), jpi, jpj) 418 416 !+++++ 419 417 … … 543 541 544 542 INTEGER :: & 545 ji,j j,jk! loop indices543 ji,jk ! loop indices 546 544 547 545 !!----------------------------------------------------------------------- … … 598 596 ! is violated 599 597 INTEGER :: & 600 ji,j j,jk,& !: loop indices598 ji,jk, & !: loop indices 601 599 zji, zjj 602 600 !!--------------------------------------------------------------------- … … 726 724 WRITE(numout,*) ' foc : ', fbif_1d(ji) 727 725 WRITE(numout,*) ' fstroc : ', fstroc (zji,zjj,jl) 728 WRITE(numout,*) ' i0 : ', i0(ji)729 WRITE(numout,*) ' fsolar: ', (1.0-i0(ji))*qsr_ice_1d(ji)730 WRITE(numout,*) ' fnsolar: ', qnsr_ice_1d(ji)726 WRITE(numout,*) ' i0 : ', i0(ji) 727 WRITE(numout,*) ' qsr_ice : ', (1.0-i0(ji))*qsr_ice_1d(ji) 728 WRITE(numout,*) ' qns_ice : ', qnsr_ice_1d(ji) 731 729 WRITE(numout,*) ' Conduction fluxes : ' 732 730 WRITE(numout,*) ' fc_s : ', fc_s(ji,0:nlay_s) … … 778 776 numce !: number of points for which conservation 779 777 ! is violated 780 INTEGER :: & 781 ji,jj,jk, & !: loop indices 782 zji, zjj 783 778 INTEGER :: ji, zji, zjj ! loop indices 784 779 !!--------------------------------------------------------------------- 785 780
Note: See TracChangeset
for help on using the changeset viewer.