- 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/icethd_do.F90
- Property svn:keywords set to Id
r9604 r10288 46 46 !!---------------------------------------------------------------------- 47 47 !! NEMO/ICE 4.0 , NEMO Consortium (2018) 48 !! $Id : icethd_do.F90 8420 2017-08-08 12:18:46Z clem$49 !! Software governed by the CeCILL licen ce (./LICENSE)48 !! $Id$ 49 !! Software governed by the CeCILL license (see ./LICENSE) 50 50 !!---------------------------------------------------------------------- 51 51 CONTAINS … … 140 140 ! Physical constants 141 141 zhicrit = 0.04 ! frazil ice thickness 142 ztwogp = 2. * rau0 / ( grav * 0.3 * ( rau0 - rhoi c ) )! reduced grav142 ztwogp = 2. * rau0 / ( grav * 0.3 * ( rau0 - rhoi ) ) ! reduced grav 143 143 zsqcd = 1.0 / SQRT( 1.3 * zcai ) ! 1/SQRT(airdensity*drag) 144 144 zgamafr = 0.03 … … 263 263 ! We assume that new ice is formed at the seawater freezing point 264 264 DO ji = 1, npti 265 ztmelts = - tmut * zs_newice(ji) ! Melting point (C)266 ze_newice(ji) = rhoi c * ( cpic* ( ztmelts - ( t_bo_1d(ji) - rt0 ) ) &267 & + lfus * ( 1.0 - ztmelts / MIN( t_bo_1d(ji) - rt0, -epsi10 ) ) &268 & - rcp* ztmelts )265 ztmelts = - rTmlt * zs_newice(ji) ! Melting point (C) 266 ze_newice(ji) = rhoi * ( rcpi * ( ztmelts - ( t_bo_1d(ji) - rt0 ) ) & 267 & + rLfus * ( 1.0 - ztmelts / MIN( t_bo_1d(ji) - rt0, -epsi10 ) ) & 268 & - rcp * ztmelts ) 269 269 END DO 270 270 … … 275 275 DO ji = 1, npti 276 276 277 zEi = - ze_newice(ji) * r1_rhoi c! specific enthalpy of forming ice [J/kg]277 zEi = - ze_newice(ji) * r1_rhoi ! specific enthalpy of forming ice [J/kg] 278 278 279 279 zEw = rcp * ( t_bo_1d(ji) - rt0 ) ! specific enthalpy of seawater at t_bo_1d [J/kg] … … 284 284 zfmdt = - qlead_1d(ji) / zdE ! Fm.dt [kg/m2] (<0) 285 285 ! clem: we use qlead instead of zqld (icethd) because we suppose we are at the freezing point 286 zv_newice(ji) = - zfmdt * r1_rhoi c286 zv_newice(ji) = - zfmdt * r1_rhoi 287 287 288 288 zQm = zfmdt * zEw ! heat to the ocean >0 associated with mass flux … … 293 293 hfx_opw_1d(ji) = hfx_opw_1d(ji) - zfmdt * zdE * r1_rdtice 294 294 ! mass flux 295 wfx_opw_1d(ji) = wfx_opw_1d(ji) - zv_newice(ji) * rhoi c* r1_rdtice295 wfx_opw_1d(ji) = wfx_opw_1d(ji) - zv_newice(ji) * rhoi * r1_rdtice 296 296 ! salt flux 297 sfx_opw_1d(ji) = sfx_opw_1d(ji) - zv_newice(ji) * rhoi c* zs_newice(ji) * r1_rdtice297 sfx_opw_1d(ji) = sfx_opw_1d(ji) - zv_newice(ji) * rhoi * zs_newice(ji) * r1_rdtice 298 298 END DO 299 299
Note: See TracChangeset
for help on using the changeset viewer.