- Timestamp:
- 2017-07-15T13:00:17+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/limthd_dh.F90
r8326 r8341 426 426 427 427 ! Iterative procedure 428 DO iter = 1, num_iter_max429 DO ji = kideb, kiut430 IF( zf_tt(ji) < 0._wp ) THEN428 DO ji = kideb, kiut 429 IF( zf_tt(ji) < 0._wp ) THEN 430 DO iter = 1, num_iter_max 431 431 432 432 ! New bottom ice salinity (Cox & Weeks, JGR88 ) … … 460 460 e_i_1d(ji,nlay_i+1) = -zEi * rhoic ! New ice energy of melting (J/m3, >0) 461 461 462 ENDIF 463 END DO 464 END DO 465 466 ! Contribution to Energy and Salt Fluxes 467 DO ji = kideb, kiut 468 IF( zf_tt(ji) < 0._wp ) THEN 469 ! New ice growth 470 462 END DO 463 ! Contribution to Energy and Salt Fluxes 471 464 zfmdt = - rhoic * dh_i_bott(ji) ! Mass flux x time step (kg/m2, < 0) 472 465 … … 498 491 eh_i_old(ji,nlay_i+1) = eh_i_old(ji,nlay_i+1) + dh_i_bott(ji) * e_i_1d(ji,nlay_i+1) 499 492 h_i_old (ji,nlay_i+1) = h_i_old (ji,nlay_i+1) + dh_i_bott(ji) 493 500 494 ENDIF 495 501 496 END DO 502 497 … … 611 606 END DO 612 607 613 ! Water fluxes614 DO ji = kideb, kiut615 wfx_sub_1d(ji) = wfx_snw_sub_1d(ji) + wfx_ice_sub_1d(ji) ! sum ice and snow sublimation contributions616 END DO617 618 608 ! 619 609 !------------------------------------------------------------------------------| … … 648 638 ! Contribution to mass flux 649 639 ! All snow is thrown in the ocean, and seawater is taken to replace the volume 650 wfx_sni_1d(ji) = wfx_sni_1d(ji)- a_i_1d(ji) * dh_snowice(ji) * rhoic * r1_rdtice651 wfx_snw_ 1d(ji) = wfx_snw_1d(ji) + a_i_1d(ji) * dh_snowice(ji) * rhosn * r1_rdtice640 wfx_sni_1d(ji) = wfx_sni_1d(ji) - a_i_1d(ji) * dh_snowice(ji) * rhoic * r1_rdtice 641 wfx_snw_sni_1d(ji) = wfx_snw_sni_1d(ji) + a_i_1d(ji) * dh_snowice(ji) * rhosn * r1_rdtice 652 642 653 643 ! update heat content (J.m-2) and layer thickness
Note: See TracChangeset
for help on using the changeset viewer.