Changeset 39 for branches/2017
- Timestamp:
- 01/18/17 11:05:37 (7 years ago)
- Location:
- branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20
- Files:
-
- 2 added
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice.com
r30 r39 182 182 183 183 COMMON/barrowconf/sal_read(11), hi_read(11), hgins, hnins, 184 & tsuins, s_w,oce_flx, num_sal, nday1,184 & tsuins, oce_flx, num_sal, nday1, 185 185 & i_sal 186 186 -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_brine.f
r27 r39 20 20 INCLUDE 'thermo.com' 21 21 INCLUDE 'bio.com' 22 INCLUDE 'tank.com' 22 23 23 24 !==============================================================================! -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_output.f
r29 r39 13 13 INCLUDE 'bio.com' 14 14 INCLUDE 'forcing.com' 15 INCLUDE 'tank.com' 15 16 16 17 CHARACTER(len=10) :: … … 237 238 WRITE(numout,*) ' fsbp dimension created ' 238 239 239 CALL CF_CREATE_VAR("s_w"," OceanSalinity",240 . " kgNaCl/dm3","time","-","-","-" )240 CALL CF_CREATE_VAR("s_w","Water Salinity", 241 . "g/kg","time","-","-","-" ) 241 242 WRITE(numout,*) ' s_w dimension created ' 243 244 CALL CF_CREATE_VAR("v_w","Water Volume", 245 . "m3","time","-","-","-" ) 246 WRITE(numout,*) ' v_w dimension created ' 242 247 243 248 ! Forcing … … 621 626 CALL CF_WRITE (filenc, 's_w', numit-nstart+1, 622 627 & 1, 1, 1, REAL(s_w) ) 628 CALL CF_WRITE (filenc, 'v_w', numit-nstart+1, 629 & 1, 1, 1, REAL(v_w) ) 623 630 624 631 ! Forcing -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_phy_ini.f
r27 r39 14 14 INCLUDE 'thermo.com' 15 15 INCLUDE 'bio.com' 16 INCLUDE 'tank.com' 16 17 17 18 CHARACTER(len=10) :: … … 40 41 zeps = 1.0e-10 41 42 ji = 1 43 ! 44 !------------------------------------------------------------------------------| 45 ! 1) Initialize tank 46 !------------------------------------------------------------------------------| 47 ! 48 49 ! ASIBIA tank parameters 50 a_tank = 2.35 * 1.35 ! area of the surface of the tank in m2 51 52 v_w = a_tank * 1. ! initial volume of water in the tank in m3 (without side tank - needs adjustment) 53 s_w = 28.33866 ! initial water salinity (g/kg) 54 ms_w = rho0 * v_w * s_w / 1000. ! initial mass of salt in water (kg NaCl) 42 55 43 56 ! 44 57 !------------------------------------------------------------------------------| 45 ! 1) Case of a NETCDFfile58 ! 2) Initialize sea ice from the netcdf file 46 59 !------------------------------------------------------------------------------| 47 60 ! … … 148 161 t_i_b(ji,layer) = tpw + (- bbb - discrim) / ( 2.0*aaa ) 149 162 END DO 150 151 163 ! 152 164 !------------------------------------------------------------------------------| 153 165 ! x) Write in output file 154 166 !------------------------------------------------------------------------------| 167 ! 155 168 156 169 WRITE(numout,*) ' --- Initial values --- ' -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_phy_param.f
r30 r39 29 29 INCLUDE 'para.com' 30 30 INCLUDE 'ice.com' 31 INCLUDE 'tank.com' 31 32 32 33 ! name of the experiment … … 108 109 rho0 = 1025.0 ! ocean mean density 109 110 cpw = 3.99d+03 ! seawater specific heat 110 s_w = 34.0 ! 34. is the control111 111 112 112 visc_br = 1.9e-3 ! dynamic viscosity of water at 0C (kg/(m.s)) - Sharqawy et al, 2010, eq. 22 -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_phy_remap.f
r27 r39 32 32 INCLUDE 'thermo.com' 33 33 INCLUDE 'bio.com' 34 INCLUDE 'tank.com' 34 35 35 36 ! Local Variables … … 578 579 & z_ms_i_fin 579 580 581 dms_i = z_ms_i_fin / 1000. - dms_i ! 2nd step of computation of the change in mass of salt in sea ice 582 580 583 ! Flux due to bottom and snow ice formation 581 584 zfgrml = zsh_i_new / ddtb -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_sal_adv.f
r30 r39 38 38 INCLUDE 'ice.com' 39 39 INCLUDE 'thermo.com' 40 INCLUDE 'tank.com' 40 41 41 42 REAL(8), DIMENSION(nlay_i) :: -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_sal_diff.f
r27 r39 34 34 INCLUDE 'ice.com' 35 35 INCLUDE 'thermo.com' 36 INCLUDE 'tank.com' 36 37 37 38 REAL(8), DIMENSION(nlay_i) :: … … 139 140 & deltaz_i_phy, nlay_i, .FALSE. ) 140 141 ENDIF ! ln_con 142 143 dms_i = z_ms_i_ini / 1000. ! 1st step of computation of the change in mass of salt in sea ice 141 144 142 145 IF ( ln_write ) THEN -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_sal_diff_CW.f
r27 r39 34 34 INCLUDE 'ice.com' 35 35 INCLUDE 'thermo.com' 36 INCLUDE 'tank.com' 36 37 37 38 REAL(8), DIMENSION(nlay_i) :: -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_th.f
r36 r39 31 31 INCLUDE 'thermo.com' 32 32 INCLUDE 'bio.com' 33 INCLUDE 'tank.com' 33 34 34 35 ! Energy conservation … … 83 84 & q_i_layer_in , 1 , 1 , jl, 84 85 & nlay_s , nlay_i ) 86 85 87 ! 86 88 !------------------------------------------------------------------------------- … … 150 152 & layer = 1, nlay_bio ) 151 153 154 !----------------- 155 ! CALL water tank 156 !----------------- 157 CALL wat_tank 158 WRITE(numout,*) ' --- ice_th --- ' 159 WRITE(numout,*) ' s_w : ', s_w 160 WRITE(numout,*) ' -------------- ' 161 152 162 !------------------------------------------------------------------------------- 153 163 ! 4) Outputs -
branches/2017/dev_v3.20_2017_transport_max/SOURCES/source_3.20/ice_th_dh.f
r34 r39 46 46 INCLUDE 'ice.com' 47 47 INCLUDE 'thermo.com' 48 INCLUDE 'tank.com' 48 49 49 50 ! Local Variables
Note: See TracChangeset
for help on using the changeset viewer.