Changeset 2902 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Feb 22, 2023, 6:56:01 PM (21 months ago)
Author:
llange
Message:

PEM
First implementation of a dynamic ice table following Schorgofer, Icarus (2010) / MSIM
The dynamic of the ice is implemented here. Impact on the soil properties (thermal, inertia) is currently implemented and will be commit later
Small fix for the ice table at equilibrium
LL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/co2condens_mod.F

    r2823 r2902  
    170170      REAL masseq(nlayer),wq(nlayer+1)
    171171      INTEGER ifils,iq2
    172 
     172c LL: flux dependant albedo
     173      real :: totflux(ngrid)
    173174c----------------------------------------------------------------------
    174175
     
    176177c   --------------
    177178c
     179       totflux(:) = fluxsurf_sw(:,1)+fluxsurf_sw(:,2)
    178180      ! AS: firstcall OK absolute
    179181      IF (firstcall) THEN
     
    500502!     ----------------------------------------
    501503      CALL albedocaps(zls,ngrid,piceco2,psolaralb,emisref)
     504      DO ig = 1,ngrid
     505        if(piceco2(ig).gt.0.) then
     506          psolaralb(ig,1) = 0.267+0.00059*totflux(ig)
     507          psolaralb(ig,2) = psolaralb(ig,1)
     508          if(ig.eq.ngrid) then
     509           psolaralb(ig,1) = 0.532+8.72e-4*totflux(ig)
     510           psolaralb(ig,2) = psolaralb(ig,1)
     511          endif
     512        endif
     513      ENDDO
     514
     515
    502516
    503517! set pemisurf() to emissiv when there is bare surface (needed for co2snow)
     
    739753!             write(*,*) "co2condens: South pole: latitude(ngrid)=",
    740754!     &                                           latitude(ngrid)
    741              ztcondsol(ngrid)=
    742      &          1./(bcond-acond*log(.01*vmr_co2(ngrid,1)*
    743      &                    (pplev(ngrid,1)+pdpsrf(ngrid)*ptimestep)))
    744              pdtsrfc(ngrid)=(ztcondsol(ngrid)-ztsrf(ngrid))/ptimestep
     755!             ztcondsol(ngrid)=
     756!     &          1./(bcond-acond*log(.01*vmr_co2(ngrid,1)*
     757!     &                    (pplev(ngrid,1)+pdpsrf(ngrid)*ptimestep)))
     758!             pdtsrfc(ngrid)=(ztcondsol(ngrid)-ztsrf(ngrid))/ptimestep
    745759           endif
    746760         endif
Note: See TracChangeset for help on using the changeset viewer.