- Timestamp:
- 2018-11-07T18:25:49+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r9866_HPC_03_globcom/src/ICE/icedyn_rdgrft.F90
- Property svn:keywords set to Id
r9604 r10288 78 78 !!---------------------------------------------------------------------- 79 79 !! NEMO/ICE 4.0 , NEMO Consortium (2018) 80 !! $Id : icedyn_rdgrft.F90 8378 2017-07-26 13:55:59Z clem$81 !! Software governed by the CeCILL licen ce (./LICENSE)80 !! $Id$ 81 !! Software governed by the CeCILL license (see ./LICENSE) 82 82 !!---------------------------------------------------------------------- 83 83 CONTAINS … … 143 143 INTEGER, PARAMETER :: jp_itermax = 20 144 144 !!------------------------------------------------------------------- 145 ! clem: The redistribution of ice between categories can lead to small negative values (as for the remapping in ice_itd_rem) 146 ! likely due to truncation error ( i.e. 1. - 1. /= 0 ) 147 ! I do not think it should be a concern since small areas and volumes are erased (in ice_var_zapsmall.F90) 148 145 149 ! controls 146 150 IF( ln_timing ) CALL timing_start('icedyn_rdgrft') ! timing … … 543 547 ! volume and enthalpy (J/m2, >0) of seawater trapped into ridges 544 548 vsw = v_i_2d(ji,jl1) * afrdg * rn_porordg 545 ersw(ji) = -rhoi c* vsw * rcp * sst_1d(ji) ! clem: if sst>0, then ersw <0 (is that possible?)549 ersw(ji) = -rhoi * vsw * rcp * sst_1d(ji) ! clem: if sst>0, then ersw <0 (is that possible?) 546 550 547 551 ! volume etc of ridging / rafting ice and new ridges (vi, vs, sm, oi, es, ei) … … 570 574 571 575 ! Ice-ocean exchanges associated with ice porosity 572 wfx_dyn_1d(ji) = wfx_dyn_1d(ji) - vsw * rhoi c* r1_rdtice ! increase in ice volume due to seawater frozen in voids573 sfx_dyn_1d(ji) = sfx_dyn_1d(ji) - vsw * sss_1d(ji) * rhoi c* r1_rdtice576 wfx_dyn_1d(ji) = wfx_dyn_1d(ji) - vsw * rhoi * r1_rdtice ! increase in ice volume due to seawater frozen in voids 577 sfx_dyn_1d(ji) = sfx_dyn_1d(ji) - vsw * sss_1d(ji) * rhoi * r1_rdtice 574 578 hfx_dyn_1d(ji) = hfx_dyn_1d(ji) + ersw(ji) * r1_rdtice ! > 0 [W.m-2] 575 579 576 580 ! Put the snow lost by ridging into the ocean 577 581 ! Note that esrdg > 0; the ocean must cool to melt snow. If the ocean temp = Tf already, new ice must grow. 578 wfx_snw_dyn_1d(ji) = wfx_snw_dyn_1d(ji) + ( rhos n* vsrdg(ji) * ( 1._wp - rn_fsnwrdg ) & ! fresh water source for ocean579 & + rhos n* vsrft(ji) * ( 1._wp - rn_fsnwrft ) ) * r1_rdtice582 wfx_snw_dyn_1d(ji) = wfx_snw_dyn_1d(ji) + ( rhos * vsrdg(ji) * ( 1._wp - rn_fsnwrdg ) & ! fresh water source for ocean 583 & + rhos * vsrft(ji) * ( 1._wp - rn_fsnwrft ) ) * r1_rdtice 580 584 581 585 ! Put the melt pond water into the ocean … … 583 587 ! is no net mass flux between melt ponds and the ocean (see icethd_pnd.F90 for ex.) 584 588 !IF ( ln_pnd_fwb ) THEN 585 ! wfx_pnd_1d(ji) = wfx_pnd_1d(ji) + ( rho fw * vprdg(ji) * ( 1._wp - rn_fpndrdg ) & ! fresh water source for ocean586 ! & + rho fw * vprft(ji) * ( 1._wp - rn_fpndrft ) ) * r1_rdtice589 ! wfx_pnd_1d(ji) = wfx_pnd_1d(ji) + ( rhow * vprdg(ji) * ( 1._wp - rn_fpndrdg ) & ! fresh water source for ocean 590 ! & + rhow * vprft(ji) * ( 1._wp - rn_fpndrft ) ) * r1_rdtice 587 591 !ENDIF 588 592 … … 590 594 IF( nn_icesal /= 2 ) THEN 591 595 sirdg2(ji) = sirdg2(ji) - vsw * ( sss_1d(ji) - s_i_1d(ji) ) ! ridge salinity = s_i 592 sfx_bri_1d(ji) = sfx_bri_1d(ji) + sss_1d(ji) * vsw * rhoi c* r1_rdtice & ! put back sss_m into the ocean593 & - s_i_1d(ji) * vsw * rhoi c* r1_rdtice ! and get s_i from the ocean596 sfx_bri_1d(ji) = sfx_bri_1d(ji) + sss_1d(ji) * vsw * rhoi * r1_rdtice & ! put back sss_m into the ocean 597 & - s_i_1d(ji) * vsw * rhoi * r1_rdtice ! and get s_i from the ocean 594 598 ENDIF 595 599
Note: See TracChangeset
for help on using the changeset viewer.