Changeset 734 for trunk/LMDZ.MARS/libf
- Timestamp:
- Jul 23, 2012, 1:15:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdifc.F
r669 r734 113 113 c For latent heat release from ground ice sublimation 114 114 REAL tsrf_lw(ngridmx) 115 REAL alpha 115 116 REAL T1,T2 116 117 SAVE T1,T2 117 DATA T1,T2/- 877.5,807.5/ ! zeros of latent heat equation for ice118 DATA T1,T2/-604.3,1080.7/ ! zeros of latent heat equation for ice 118 119 119 120 c Tracers : … … 814 815 c We solve dT/dt = (2834.3-0.28*(T-To)-0.004*(T-To)^2)*1e3*iceflux/cpp 815 816 tsrf_lw(ig) = ptsrf(ig) + pdtsrf(ig) *ptimestep 816 817 tsrf_lw(ig) = (T1+T2)*(T1+T2)818 & - 4*(T2*T1 - (tsrf_lw(ig)-T1)*(tsrf_lw(ig)-T2)*819 & exp( -0.25*abs(T1-T2)*pdqsdif(ig,igcm_h2o_ice) 820 & *ptimestep/pcapcal(ig)) )821 tsrf_lw(ig) = (T1+T2)/2 + sqrt(tsrf_lw(ig))/2! surface temperature at t+1817 818 alpha = exp(-4*abs(T1-T2)*pdqsdif(ig,igcm_h2o_ice) 819 & *ptimestep/pcapcal(ig)) 820 821 tsrf_lw(ig) = (tsrf_lw(ig)*(T2-alpha*T1)+T1*T2*(alpha-1)) 822 & /(tsrf_lw(ig)*(1-alpha)+alpha*T2-T1) ! surface temperature at t+1 822 823 823 824 pdtsrf(ig) = (tsrf_lw(ig)-ptsrf(ig))/ptimestep
Note: See TracChangeset
for help on using the changeset viewer.