Changeset 3627 for LMDZ6/branches/Ocean_skin/libf/phylmd/surf_ocean_mod.F90
- Timestamp:
- Feb 3, 2020, 2:27:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin/libf/phylmd/surf_ocean_mod.F90
r3601 r3627 57 57 REAL, DIMENSION(klon), INTENT(IN) :: rmu0 58 58 REAL, DIMENSION(klon), INTENT(IN) :: fder 59 REAL, DIMENSION(klon), INTENT(IN) :: tsurf_in59 REAL, INTENT(IN):: tsurf_in(klon) ! defined only for subscripts 1:knon 60 60 REAL, DIMENSION(klon), INTENT(IN) :: p1lay,z1lay ! pression (Pa) et altitude (m) du premier niveau 61 61 REAL, DIMENSION(klon), INTENT(IN) :: cdragh … … 102 102 REAL, DIMENSION(klon), INTENT(OUT) :: flux_u1, flux_v1 103 103 104 REAL, intent(out):: t_int(:) ! (knon) interface temperature, in K105 real, intent(out):: s_int(:) ! (knon) interface salinity, in ppt104 REAL, intent(out):: t_int(:) ! (knon) ocean-air interface temperature, in K 105 real, intent(out):: s_int(:) ! (knon) ocean-air interface salinity, in ppt 106 106 107 107 REAL, intent(out):: dter(:) ! (knon) … … 111 111 112 112 REAL, intent(out):: dser(:) ! (knon) 113 ! Temperaturevariation in the diffusive microlayer, that is114 ! subskin temperature minus ocean-air interface temperature. In K.113 ! Salinity variation in the diffusive microlayer, that is 114 ! ocean-air interface salinity minus subskin salinity. In ppt. 115 115 116 116 REAL, intent(out):: tkt(:) ! (knon) … … 140 140 real xlv(knon) ! chaleur latente d'évaporation (J / kg) 141 141 real precip_tot(knon) ! rain + snow 142 real S1(knon) ! salinity at depth_1, in ppt 142 143 real sss(klon) 144 ! Bulk salinity of the surface layer of the ocean, in ppt. (Only 145 ! defined for subscripts 1:knon, but we have to declare it with 146 ! size klon because of the coupling machinery.) 143 147 144 148 ! End definition … … 186 190 radsol, snow, agesno, & 187 191 qsurf, evap, fluxsens, fluxlat, flux_u1, flux_v1, & 188 tsurf_new, dflux_s, dflux_l )192 tsurf_new, dflux_s, dflux_l, sss) 189 193 190 194 CASE('slab') … … 319 323 rf = sens_heat_rain(precip_tot, temp_air(:knon), spechum(:knon), rhoa, & 320 324 xlv, tsurf_in(:knon), ps(:knon)) 321 s1= 35.325 if (type_ocean /= 'couple') sss(:knon) = 35. 322 326 call bulk_flux(tkt, tks, taur, dter, dser, t_int, s_int, ds_ns, dt_ns, & 323 u = windsp(:knon), t_ocean_1 = tsurf_new(:knon), s1 = s 1, &327 u = windsp(:knon), t_ocean_1 = tsurf_new(:knon), s1 = sss(:knon), & 324 328 rain = precip_tot, hf = - fluxsens(:knon), hlb = - fluxlat(:knon), & 325 329 rnl = - lwnet(:knon), &
Note: See TracChangeset
for help on using the changeset viewer.