Changeset 2917 for trunk/LMDZ.MARS


Ignore:
Timestamp:
Mar 16, 2023, 2:56:08 PM (21 months ago)
Author:
emillour
Message:

Mars PCM:
Some corrections to the 1D model to take into account recent changes
(removing co2ice and added islope dimension to some arrays).
EM

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2916 r2917  
    39543954(default is diagsoil=.false.)
    39553955
     3956== 16/03/2023 == EM
     3957Some corrections to the 1D model to take into account recent changes
     3958(removing co2ice and added islope dimension to some arrays).
     3959
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F

    r2878 r2917  
    1313     &                     watercaptag, watercap, hmons, summit, base
    1414      use slope_mod, only: theta_sl, psi_sl
     15      use comslope_mod, only: def_slope,subslope_dist
    1516      use phyredem, only: physdem0,physdem1
    1617      use geometry_mod, only: init_geometry
     
    486487      call getin("slope_orientation",psi_sl(1))
    487488     
     489      ! sub-slopes parameters (assuming no sub-slopes distribution for now).
     490      def_slope(1)=-90 ! minimum slope angle
     491      def_slope(2)=90 ! maximum slope angle
     492      subslope_dist(1,1)=1 ! fraction of subslopes in mesh
    488493c
    489494c  for the gravity wave scheme
     
    546551c  CO2 ice on the surface
    547552c  -------------------
    548 
     553      ! get the index of co2 tracer (not known at this stage)
     554      igcm_co2=0
     555      do iq=1,nq
     556        if (trim(tname(iq))=="co2") then
     557          igcm_co2=iq
     558        endif
     559      enddo
     560      if (igcm_co2==0) then
     561        write(*,*) "testphys1d error, missing co2 tracer!"
     562        stop
     563      endif
    549564      qsurf(igcm_co2)=0.E+0 ! default value for co2ice
    550565      PRINT *,'Initial CO2 ice on the surface (kg.m-2)'
     
    656671c Check if the surface is a water ice reservoir
    657672c --------------------------------------------------
    658       watercap(1)=0 ! Initialize watercap
     673      watercap(1,:)=0 ! Initialize watercap
    659674      watercaptag(1)=.false. ! Default: no water ice reservoir
    660675      print *,'Water ice cap on ground ?'
     
    700715      call physdem0("startfi.nc",longitude,latitude,nsoilmx,ngrid,llm,
    701716     &              nq,dtphys,float(day0),0.,cell_area,
    702      &              albedodat,inertiedat)
     717     &              albedodat,inertiedat,def_slope,subslope_dist)
    703718      call physdem1("startfi.nc",nsoilmx,ngrid,llm,nq,
    704719     &              dtphys,time,
Note: See TracChangeset for help on using the changeset viewer.