/[lmdze]/trunk/phylmd/Interface_surf/interfsurf_hq.f
ViewVC logotype

Diff of /trunk/phylmd/Interface_surf/interfsurf_hq.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 268 by guez, Thu May 3 16:46:29 2018 UTC revision 279 by guez, Fri Jul 20 14:30:23 2018 UTC
# Line 91  contains Line 91  contains
91    
92      ! Flux d'eau "perdue" par la surface et n\'ecessaire pour limiter la      ! Flux d'eau "perdue" par la surface et n\'ecessaire pour limiter la
93      ! hauteur de neige, en kg / m2 / s      ! hauteur de neige, en kg / m2 / s
94      real, dimension(klon), intent(INOUT):: fqcalving      real, intent(OUT):: fqcalving(:) ! (knon)
95    
96      ! Flux thermique utiliser pour fondre la neige      ! Flux thermique utiliser pour fondre la neige
97      real, dimension(klon), intent(INOUT):: ffonte      real, dimension(klon), intent(INOUT):: ffonte
# Line 113  contains Line 113  contains
113      real zfra(size(knindex)) ! (knon)      real zfra(size(knindex)) ! (knon)
114      REAL, PARAMETER:: fmagic = 1. ! facteur magique pour r\'egler l'alb\'edo      REAL, PARAMETER:: fmagic = 1. ! facteur magique pour r\'egler l'alb\'edo
115      REAL, PARAMETER:: max_eau_sol = 150. ! in kg m-2      REAL, PARAMETER:: max_eau_sol = 150. ! in kg m-2
116        REAL, PARAMETER:: tau_gl = 86400. * 5.
117    
118      !-------------------------------------------------------------      !-------------------------------------------------------------
119    
# Line 143  contains Line 144  contains
144      ! Initialisations diverses      ! Initialisations diverses
145    
146      ffonte(1:knon) = 0.      ffonte(1:knon) = 0.
     fqcalving(1:knon) = 0.  
147      dif_grnd = 999999.      dif_grnd = 999999.
148      z0_new = 999999.      z0_new = 999999.
149    
# Line 172  contains Line 172  contains
172              peqBcoef(:knon), tsurf_new, evap, fluxlat, flux_t, dflux_s, dflux_l)              peqBcoef(:knon), tsurf_new, evap, fluxlat, flux_t, dflux_s, dflux_l)
173         CALL fonte_neige(is_ter, dtime, precip_rain(:knon), &         CALL fonte_neige(is_ter, dtime, precip_rain(:knon), &
174              precip_snow(:knon), snow, qsol, tsurf_new, evap, &              precip_snow(:knon), snow, qsol, tsurf_new, evap, &
175              fqcalving(:knon), ffonte(:knon), run_off_lic_0(:knon))              fqcalving, ffonte(:knon), run_off_lic_0(:knon))
176    
177         call albsno(dtime, agesno, alb_neig, precip_snow(:knon))         call albsno(dtime, agesno, alb_neig, precip_snow(:knon))
178         where (snow < 0.0001) agesno = 0.         where (snow < 0.0001) agesno = 0.
# Line 194  contains Line 194  contains
194         agesno = 0.         agesno = 0.
195         albedo = alboc_cd(rmu0(knindex)) * fmagic         albedo = alboc_cd(rmu0(knindex)) * fmagic
196         z0_new = sqrt(rugos**2 + rugoro**2)         z0_new = sqrt(rugos**2 + rugoro**2)
197           fqcalving = 0.
198      case (is_sic)      case (is_sic)
199         ! Surface "glace de mer" appel a l'interface avec l'ocean         ! Surface "glace de mer" appel a l'interface avec l'ocean
200    
# Line 209  contains Line 210  contains
210    
211         CALL soil(dtime, is_sic, snow, tsurf_new, tsoil, soilcap, soilflux)         CALL soil(dtime, is_sic, snow, tsurf_new, tsoil, soilcap, soilflux)
212         cal = RCPD / soilcap         cal = RCPD / soilcap
213         dif_grnd = 0.         dif_grnd = 1. / tau_gl
214         tsurf = tsurf_new         tsurf = tsurf_new
215         beta = 1.         beta = 1.
216    
# Line 220  contains Line 221  contains
221              peqBcoef(:knon), tsurf_new, evap, fluxlat, flux_t, dflux_s, dflux_l)              peqBcoef(:knon), tsurf_new, evap, fluxlat, flux_t, dflux_s, dflux_l)
222         CALL fonte_neige(is_sic, dtime, precip_rain(:knon), &         CALL fonte_neige(is_sic, dtime, precip_rain(:knon), &
223              precip_snow(:knon), snow, qsol, tsurf_new, evap, &              precip_snow(:knon), snow, qsol, tsurf_new, evap, &
224              fqcalving(:knon), ffonte(:knon), run_off_lic_0(:knon))              fqcalving, ffonte(:knon), run_off_lic_0(:knon))
225    
226         ! Compute the albedo:         ! Compute the albedo:
227    
# Line 245  contains Line 246  contains
246              peqBcoef(:knon), tsurf_new, evap, fluxlat, flux_t, dflux_s, dflux_l)              peqBcoef(:knon), tsurf_new, evap, fluxlat, flux_t, dflux_s, dflux_l)
247         call fonte_neige(is_lic, dtime, precip_rain(:knon), &         call fonte_neige(is_lic, dtime, precip_rain(:knon), &
248              precip_snow(:knon), snow, qsol, tsurf_new, evap, &              precip_snow(:knon), snow, qsol, tsurf_new, evap, &
249              fqcalving(:knon), ffonte(:knon), run_off_lic_0(:knon))              fqcalving, ffonte(:knon), run_off_lic_0(:knon))
250    
251         ! calcul albedo         ! calcul albedo
252         CALL albsno(dtime, agesno, alb_neig, precip_snow(:knon))         CALL albsno(dtime, agesno, alb_neig, precip_snow(:knon))

Legend:
Removed from v.268  
changed lines
  Added in v.279

  ViewVC Help
Powered by ViewVC 1.1.21