Changeset 13799 for NEMO/branches/2020/dev_r13787_SI3-10_EAP/src
- Timestamp:
- 2020-11-16T12:04:05+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13787_SI3-10_EAP/src/ICE/icedyn_rhg_eap.F90
r13797 r13799 430 430 & + zds(ji,jj-1) * e1e2f(ji,jj-1) + zds(ji-1,jj-1) * e1e2f(ji-1,jj-1) & 431 431 & ) * 0.25_wp * r1_e1e2t(ji,jj) 432 !WRITE(numout,*) 'shear output', ji, jj, zdsT433 432 434 433 ! divergence at T points (duplication to avoid communications) … … 447 446 448 447 ! structure tensor update 449 !!$ IF (mod(jter,10) == 0) THEN450 448 CALL calc_ffrac(zstressptmp, zstressmtmp, zstress12tmp(ji,jj), paniso_11(ji,jj), paniso_12(ji,jj), zmresult11, zmresult12) 451 449 452 !!$ paniso_11(ji,jj) = (paniso_11(ji,jj)*z1_dtevp_A + zp5kth + zmresult11) * z1dtevpkth ! implicit453 !!$ paniso_12(ji,jj) = (paniso_12(ji,jj)*z1_dtevp_A + zmresult12) * z1dtevpkth ! implicit454 450 paniso_11(ji,jj) = (paniso_11(ji,jj) + 0.5*2.e-5*zdtevp + zmresult11*zdtevp) / (1. + 2.e-5*zdtevp) ! implicit 455 451 paniso_12(ji,jj) = (paniso_12(ji,jj) + zmresult12*zdtevp) / (1. + 2.e-5*zdtevp) ! implicit 456 !!$ ENDIF457 452 458 453 IF (jter == nn_nevp) THEN … … 479 474 480 475 ! stress at T points (zkt/=0 if landfast) 481 !zs1(ji,jj) = ( zs1(ji,jj)*zalph1 + zp_delt(ji,jj) * ( zdiv*(1._wp + zkt) - zdelta(ji,jj)*(1._wp - zkt) ) ) * z1_alph1482 !zs2(ji,jj) = ( zs2(ji,jj)*zalph2 + zp_delt(ji,jj) * ( zdt * z1_ecc2 * (1._wp + zkt) ) ) * z1_alph2483 !!$ zs1(ji,jj) = ( zs1(ji,jj) + zstressptmp * zalph1 ) * z1_alph1484 !!$ zs2(ji,jj) = ( zs2(ji,jj) + zstressmtmp * zalph1 ) * z1_alph1485 476 zs1(ji,jj) = ( zs1(ji,jj) * zalph1 + zstressptmp ) * z1_alph1 486 477 zs2(ji,jj) = ( zs2(ji,jj) * zalph1 + zstressmtmp ) * z1_alph1 487 !zs1(ji,jj) = ( stressptmp * zs1(ji,jj) + zalph1 ) * z1_alph1488 !zs2(ji,jj) = ( stressmtmp * zs2(ji,jj) + zalph1 ) * z1_alph1489 !WRITE(numout,*) 'stress output', ji, jj, zs1(ji,jj)490 478 END_2D 491 479 CALL lbc_lnk_multi( 'icedyn_rhg_eap', zstress12tmp, 'T', 1.0_wp , paniso_11, 'T', 1.0_wp , paniso_12, 'T', 1.0_wp) … … 514 502 515 503 ! stress at F points (zkt/=0 if landfast) 516 !zs12(ji,jj)= ( zs12(ji,jj) * zalph2 + zp_delf * ( zds(ji,jj) * z1_ecc2 * (1._wp + zkt) ) * 0.5_wp ) * z1_alph2517 !!$ zs12(ji,jj) = ( zs12(ji,jj) + zstress12tmpF * zalph1 ) * z1_alph1518 504 zs12(ji,jj) = ( zs12(ji,jj) * zalph1 + zstress12tmpF ) * z1_alph1 519 !zs12(ji,jj) = ( stress12tmpF * zs12(ji,jj) + zalph1 ) * z1_alph1520 505 521 506 END_2D … … 598 583 ! 599 584 #if defined key_agrif 600 !! 585 !! CALL agrif_interp_ice( 'V', jter, nn_nevp ) 601 586 CALL agrif_interp_ice( 'V' ) 602 587 #endif … … 650 635 ! 651 636 #if defined key_agrif 652 !! 637 !! CALL agrif_interp_ice( 'U', jter, nn_nevp ) 653 638 CALL agrif_interp_ice( 'U' ) 654 639 #endif … … 704 689 ! 705 690 #if defined key_agrif 706 !! 691 !! CALL agrif_interp_ice( 'U', jter, nn_nevp ) 707 692 CALL agrif_interp_ice( 'U' ) 708 693 #endif … … 756 741 ! 757 742 #if defined key_agrif 758 !! 743 !! CALL agrif_interp_ice( 'V', jter, nn_nevp ) 759 744 CALL agrif_interp_ice( 'V' ) 760 745 #endif … … 1277 1262 zsig22 = pstrength*(zstemp22r + kfriction*zstemp22s) * zinvsin 1278 1263 1279 !WRITE(numout,*) 'principal axis stress inside loop', sig11, sig12, sig221280 1281 1264 ! Back - rotation of the stress from principal axes into general coordinates 1282 1265 … … 1438 1421 ! 1439 1422 IF( MIN( id1, id2, id3, id4, id5 ) > 0 ) THEN ! fields exist 1440 CALL iom_get( numrir, jpdom_auto glo, 'stress1_i' , stress1_i)1441 CALL iom_get( numrir, jpdom_auto glo, 'stress2_i' , stress2_i)1442 CALL iom_get( numrir, jpdom_auto glo, 'stress12_i', stress12_i)1443 CALL iom_get( numrir, jpdom_auto glo, 'aniso_11' , aniso_11)1444 CALL iom_get( numrir, jpdom_auto glo, 'aniso_12' , aniso_12)1423 CALL iom_get( numrir, jpdom_auto, 'stress1_i' , stress1_i , cd_type = 'T' ) 1424 CALL iom_get( numrir, jpdom_auto, 'stress2_i' , stress2_i , cd_type = 'T' ) 1425 CALL iom_get( numrir, jpdom_auto, 'stress12_i', stress12_i, cd_type = 'F' ) 1426 CALL iom_get( numrir, jpdom_auto, 'aniso_11' , aniso_11 , cd_type = 'T' ) 1427 CALL iom_get( numrir, jpdom_auto, 'aniso_12' , aniso_12 , cd_type = 'T' ) 1445 1428 ELSE ! start rheology from rest 1446 1429 IF(lwp) WRITE(numout,*)
Note: See TracChangeset
for help on using the changeset viewer.