- Timestamp:
- 2012-11-21T14:19:18+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/TRA/trasbc.F90
r3294 r3625 60 60 !! at the surface by evaporation, precipitations and runoff (E-P-R); 61 61 !! (3) Fwe, tracer carried with the water that is exchanged. 62 !! - salinity : salt flux only due to freezing/melting 63 !! sa = sa + sfx / rau0 / e3t for k=1 62 64 !! 63 65 !! Fext, flux through the air-sea interface for temperature and salt: … … 84 86 !! (Tp P - Te E) + SST (P-E) = 0 when Tp=Te=SST 85 87 !! - salinity : evaporation, precipitation and runoff 86 !! water has a zero salinity (Fwe=0), thus only Fwi remains: 87 !! sa = sa + emp * sn / e3t for k=1 88 !! water has a zero salinity but there is a salt flux due to 89 !! freezing/melting, thus: 90 !! sa = sa + emp * sn / rau0 / e3t for k=1 91 !! + sfx / rau0 / e3t 88 92 !! where emp, the surface freshwater budget (evaporation minus 89 93 !! precipitation minus runoff) given in kg/m2/s is divided 90 !! by 1035 kg/m3 (density of ocena water) to obtain m/s.94 !! by rau0 = 1020 kg/m3 (density of sea water) to obtain m/s. 91 95 !! Note: even though Fwe does not appear explicitly for 92 96 !! temperature in this routine, the heat carried by the water … … 109 113 !! 110 114 INTEGER :: ji, jj, jk, jn ! dummy loop indices 111 REAL(wp) :: zfact, z1_e3t, z srau, zdep115 REAL(wp) :: zfact, z1_e3t, zdep 112 116 REAL(wp), POINTER, DIMENSION(:,:,:) :: ztrdt, ztrds 113 117 !!---------------------------------------------------------------------- … … 120 124 IF(lwp) WRITE(numout,*) '~~~~~~~ ' 121 125 ENDIF 122 123 zsrau = 1. / rau0 ! initialization124 126 125 127 IF( l_trdtra ) THEN !* Save ta and sa trends … … 163 165 ! evaporation, precipitation and qns, but not river runoff 164 166 165 IF( lk_vvl ) THEN ! Variable Volume case 167 IF( lk_vvl ) THEN ! Variable Volume case ==>> heat content of mass flux is in qns 166 168 DO jj = 1, jpj 167 169 DO ji = 1, jpi 168 ! temperature : heat flux + cooling/heating effet of EMP flux 169 sbc_tsc(ji,jj,jp_tem) = ro0cpr * qns(ji,jj) - zsrau * emp(ji,jj) * tsn(ji,jj,1,jp_tem) 170 ! concent./dilut. effect due to sea-ice melt/formation and (possibly) SSS restoration 171 sbc_tsc(ji,jj,jp_sal) = ( emps(ji,jj) - emp(ji,jj) ) * zsrau * tsn(ji,jj,1,jp_sal) 170 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) ! non solar heat flux 171 sbc_tsc(ji,jj,jp_sal) = r1_rau0 * sfx(ji,jj) ! salt flux due to freezing/melting 172 172 END DO 173 173 END DO 174 ELSE ! Constant Volume case 174 ELSE ! Constant Volume case ==>> Concentration dilution effect 175 175 DO jj = 2, jpj 176 176 DO ji = fs_2, fs_jpim1 ! vector opt. 177 177 ! temperature : heat flux 178 sbc_tsc(ji,jj,jp_tem) = ro0cpr * qns(ji,jj) 179 ! salinity : salt flux + concent./dilut. effect (both in emps) 180 sbc_tsc(ji,jj,jp_sal) = zsrau * emps(ji,jj) * tsn(ji,jj,1,jp_sal) 178 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) & ! non solar heat flux 179 & + r1_rau0 * emp(ji,jj) * tsn(ji,jj,1,jp_tem) ! concent./dilut. effect 180 ! salinity : salt flux + concent./dilut. effect (both in sfx) 181 sbc_tsc(ji,jj,jp_sal) = r1_rau0 * ( sfx(ji,jj) & ! salt flux (freezing/melting) 182 & + emp(ji,jj) * tsn(ji,jj,1,jp_sal) ) ! concent./dilut. effect 181 183 END DO 182 184 END DO 185 CALL iom_put( "emp_x_sst", emp (:,:) * tsn(:,:,1,jp_tem) ) ! c/d term on sst 186 CALL iom_put( "emp_x_sss", emp (:,:) * tsn(:,:,1,jp_sal) ) ! c/d term on sss 183 187 ENDIF 184 188 ! Concentration dilution effect on (t,s) due to evapouration, precipitation and qns, but not river runoff
Note: See TracChangeset
for help on using the changeset viewer.