- Timestamp:
- 2010-05-06T10:40:07+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/OPA_SRC/SBC/sbcana.F90
r1732 r1859 6 6 !! History : 3.0 ! 2006-06 (G. Madec) Original code 7 7 !! 3.2 ! 2009-07 (G. Madec) Style only 8 !! 3.3 ! 2010-07 (Y. Aksenov G. Madec) salt flux + heat associated with emp 8 9 !!---------------------------------------------------------------------- 9 10 … … 39 40 # include "vectopt_loop_substitute.h90" 40 41 !!---------------------------------------------------------------------- 41 !! NEMO/OPA 3. 2 , LOCEAN-IPSL (2009)42 !! NEMO/OPA 3.3 , LOCEAN-IPSL (2010) 42 43 !! $Id$ 43 44 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) … … 60 61 !! 61 62 !! ** Action : - set the ocean surface boundary condition, i.e. 62 !! utau, vtau, taum, wndm, qns, qsr, emp , emps63 !! utau, vtau, taum, wndm, qns, qsr, emp 63 64 !!---------------------------------------------------------------------- 64 65 INTEGER, INTENT(in) :: kt ! ocean time step … … 88 89 ! 89 90 nn_tau000 = MAX( nn_tau000, 1 ) ! must be >= 1 90 qns (:,:) = rn_qns0 91 qsr (:,:) = rn_qsr0 92 emp (:,:) = rn_emp0 93 emps (:,:) = rn_emp0 91 emp(:,:) = rn_emp0 92 qns(:,:) = rn_qns0 - emp(:,:) * sst_m(:,:) * rcp ! including heat content associated with mass flux at SST 93 qsr(:,:) = rn_qsr0 94 94 ! 95 95 ENDIF … … 123 123 !! 124 124 !! ** Action : - set the ocean surface boundary condition, i.e. 125 !! utau, vtau, taum, wndm, qns, qsr, emp , emps125 !! utau, vtau, taum, wndm, qns, qsr, emp 126 126 !! 127 127 !! Reference : Hazeleger, W., and S. Drijfhout, JPO, 30, 677-695, 2000. … … 204 204 END DO 205 205 END DO 206 emps(:,:) = emp(:,:)207 206 208 207 ! Compute the emp flux such as its integration on the whole domain at each time is zero … … 226 225 ENDIF 227 226 228 !salinity terms 229 emp (:,:) = emp(:,:) - zsumemp * tmask(:,:,1) 230 emps(:,:) = emp(:,:) 227 228 ! freshwater (mass flux) and update of qns with heat content of emp 229 emp (:,:) = emp(:,:) - zsumemp * tmask(:,:,1) ! freshwater flux (=0 in domain average) 230 qns (:,:) = qns(:,:) - emp(:,:) * sst_m(:,:) * rcp ! evap and precip are at SST 231 231 232 232
Note: See TracChangeset
for help on using the changeset viewer.