Ignore:
Timestamp:
Sep 5, 2025, 2:46:19 PM (5 months ago)
Author:
jbclement
Message:

Mars PCM 1D:
Prescription of the atmospheric water ice profile in 1D. The boolean 'ctrl_h2oice' activates the option, the file "profile_ref_h2ovap" defines the prescribed profile and the value 'relaxtime_h2oice', if positive, activates the relaxation and gives the constant of time.
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r3907 r3912  
    276276
    277277    ! Dummy variables to use the subroutine 'init_testphys1d'
    278     logical                             :: therestart1D, therestartfi, prescribed_h2ovap
     278    logical                             :: therestart1D, therestartfi, ctrl_h2ovap, ctrl_h2oice
    279279    integer                             :: ndt, day0
    280     real                                :: ptif, pks, day, gru, grv, h2ovap_relax_time
     280    real                                :: ptif, pks, day, gru, grv, relaxtime_h2ovap, relaxtime_h2oice
    281281    real, dimension(:),     allocatable :: zqsat
    282282    real, dimension(:,:,:), allocatable :: dq, dqdyn
    283     real, dimension(nlayer)             :: play, w, q_prescribed_h2o_vap
     283    real, dimension(nlayer)             :: play, w, qref_h2ovap, qref_h2oice
    284284    real, dimension(nlayer + 1)         :: plev
    285285#else
     
    380380    call init_testphys1d('start1D.txt','startfi.nc',therestart1D,therestartfi,ngrid,nlayer,610.,nq,q,         &
    381381                         time_0,pdyn(1),ucov,vcov,teta,ndt,ptif,pks,dtphys,zqsat,dq,dqdyn,day0,day,gru,grv,w, &
    382                          play,plev,latitude,longitude,cell_area,prescribed_h2ovap,h2ovap_relax_time,q_prescribed_h2o_vap)
     382                         play,plev,latitude,longitude,cell_area,                                              &
     383                         ctrl_h2ovap,relaxtime_h2ovap,qref_h2ovap,ctrl_h2oice,relaxtime_h2oice,qref_h2oice)
    383384    nsplit_phys = 1
    384385    day_step = steps_per_sol
Note: See TracChangeset for help on using the changeset viewer.