Changeset 5103 for LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin
- Timestamp:
- Jul 23, 2024, 3:29:36 PM (6 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/bulk_flux_m.F90
r5101 r5103 5 5 contains 6 6 7 subroutinebulk_flux(tkt, tks, taur, dter, dser, t_int, s_int, ds_ns, dt_ns, &7 SUBROUTINE bulk_flux(tkt, tks, taur, dter, dser, t_int, s_int, ds_ns, dt_ns, & 8 8 u, t_ocean_1, s1, rain, hf, hlb, rnl, tau, rhoa, xlv, rf, dtime, rns) 9 9 … … 151 151 s_int = s_subskin + dser 152 152 153 end subroutinebulk_flux153 END SUBROUTINE bulk_flux 154 154 155 155 end module bulk_flux_m -
LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/config_ocean_skin_m.F90
r5101 r5103 27 27 contains 28 28 29 subroutineconfig_ocean_skin29 SUBROUTINE config_ocean_skin 30 30 31 31 #ifdef IN_LMDZ … … 58 58 select case (flag_ocean_skin) 59 59 case (0) 60 jwarm = . false.61 jcool = . false.62 rain_effect = . false.60 jwarm = .FALSE. 61 jcool = .FALSE. 62 rain_effect = .FALSE. 63 63 case (1) 64 jwarm = . false.65 jcool = . true.66 rain_effect = . false.64 jwarm = .FALSE. 65 jcool = .TRUE. 66 rain_effect = .FALSE. 67 67 case (2) 68 jwarm = . true.69 jcool = . true.70 rain_effect = . false.68 jwarm = .TRUE. 69 jcool = .TRUE. 70 rain_effect = .FALSE. 71 71 case (3) 72 jwarm = . true.73 jcool = . true.74 rain_effect = . true.72 jwarm = .TRUE. 73 jcool = .TRUE. 74 rain_effect = .TRUE. 75 75 case default 76 76 print *, "config_ocean_skin: bad value for flag_ocean_skin." … … 78 78 end select 79 79 80 end subroutineconfig_ocean_skin80 END SUBROUTINE config_ocean_skin 81 81 82 82 end module config_ocean_skin_m -
LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/const.F90
r3816 r5103 3 3 implicit none 4 4 5 real, parameter :: beta = 0.756 / 1023.3435 real, parameter :: beta = 0.756 / 1023.343 6 6 ! Salinity expansion coefficient. Derivative with respect to 7 7 ! practical salinity, not mass fraction of salt. Value at 25 Celsius … … 9 9 ! k0829, table A.3.1). 10 10 11 real, parameter :: cpa = 1004.6711 real, parameter :: cpa = 1004.67 12 12 ! specific heat of dry air, in J / kg / K (Businger 1982) 13 13 14 real, parameter :: cpw = 4000. ! specific heat of liquid water, in J / kg / K15 real, parameter :: grav= 9.780326772 ! constante de gravitation, m s-216 real, parameter ::rhow = 1022. ! density of liquid water, in kg / m314 real, parameter :: cpw = 4000. ! specific heat of liquid water, in J / kg / K 15 real, parameter :: grav = 9.780326772 ! constante de gravitation, m s-2 16 real, parameter :: rhow = 1022. ! density of liquid water, in kg / m3 17 17 18 real, parameter :: rgas = 287.118 real, parameter :: rgas = 287.1 19 19 ! specific ideal gas constant for dry air, in J / kg / K 20 20 21 real, parameter :: von = 0.4 ! von Karman's "constant"21 real, parameter :: von = 0.4 ! von Karman's "constant" 22 22 23 real, parameter :: eps_w = 0.6219723 real, parameter :: eps_w = 0.62197 24 24 ! molecular mass of water over molecular mass of dry air (Gill 1982 25 25 ! k0829, equation 3.1.13) -
LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/microlayer_m.F90
r3834 r5103 5 5 contains 6 6 7 subroutineMicrolayer(dter, dser, tkt, tks, hlb, tau, s_subskin, al, &7 SUBROUTINE Microlayer(dter, dser, tkt, tks, hlb, tau, s_subskin, al, & 8 8 xlv, taur, rf, rain, qcol) 9 9 … … 102 102 / (rhow * mu) ! eq. fresh skin 103 103 104 end subroutineMicrolayer104 END SUBROUTINE Microlayer 105 105 106 106 end module Microlayer_m -
LMDZ6/branches/Amaury_dev/libf/phylmd/Ocean_skin/near_surface_m.F90
r3834 r5103 8 8 contains 9 9 10 subroutinenear_surface(al, t_subskin, s_subskin, ds_ns, dt_ns, tau, taur, &10 SUBROUTINE near_surface(al, t_subskin, s_subskin, ds_ns, dt_ns, tau, taur, & 11 11 hlb, rhoa, xlv, dtime, t_ocean_1, s1, rain, q_pwp) 12 12 … … 152 152 s_subskin = s_fnd + ds_ns 153 153 154 end subroutineNear_Surface154 END SUBROUTINE Near_Surface 155 155 156 156 end module Near_Surface_m
Note: See TracChangeset
for help on using the changeset viewer.