Ignore:
Timestamp:
Nov 3, 2023, 2:36:01 PM (13 months ago)
Author:
llange
Message:

Mars PCM
Introducing qsoil to model H2O adsorption/desorption in the subsurface. For now, I've fixed the number of tracers in the subsurface to three (H2O vap, H2O ice, H2O ads).
The model of adsorption/desorption will follow later.
LL

File:
1 edited

Legend:

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

    r3106 r3113  
    4848      use comsoil_h, only: inertiedat, inertiesoil,! dat: soil thermal inertia for present climate, inertiesoil is the TI read in the start
    4949     &                     tsoil, nsoilmx,!number of subsurface layers
    50      &                     mlayer,layer ! soil mid layer depths
     50     &                     mlayer,layer, ! soil mid layer depths
     51     &                     nqsoil,qsoil  ! adsorption
    5152      use geometry_mod, only: longitude, latitude, cell_area,
    5253     &                        cell_area_for_lonlat_outputs,longitude_deg
     
    599600! GCM. Read netcdf initial physical parameters.
    600601         CALL phyetat0 ("startfi.nc",0,0,
    601      &         nsoilmx,ngrid,nlayer,nq,
     602     &         nsoilmx,ngrid,nlayer,nq,nqsoil,
    602603     &         day_ini,time_phys,
    603604     &         tsurf,tsoil,albedo,emis,
    604      &         q2,qsurf,tauscaling,totcloudfrac,wstar,
     605     &         q2,qsurf,qsoil,tauscaling,totcloudfrac,wstar,
    605606     &         watercap,perenial_co2ice,
    606607     &         def_slope,def_slope_mean,subslope_dist)
     
    26212622     .          icount,' date=',ztime_fin
    26222623           
    2623           call physdem1("restartfi.nc",nsoilmx,ngrid,nlayer,nq,
     2624          call physdem1("restartfi.nc",nsoilmx,ngrid,nlayer,nq,nqsoil,
    26242625     .                ptimestep,ztime_fin,
    26252626     .                tsurf,tsoil,inertiesoil,albedo,
    2626      .                emis,q2,qsurf,tauscaling,totcloudfrac,wstar,
    2627      .                watercap,perenial_co2ice)
     2627     .                emis,q2,qsurf,qsoil,tauscaling,totcloudfrac,
     2628     .                wstar,watercap,perenial_co2ice)
    26282629          ENDIF ! of IF (write_restart)
    26292630
Note: See TracChangeset for help on using the changeset viewer.