Ignore:
Timestamp:
Sep 13, 2023, 2:33:49 PM (16 months ago)
Author:
jbclement
Message:

Mars PEM:
The date and time are redefined at the end of PEM to write the file "restarfi_evol.nc". Like so, the next GCM runs can restart at the date and time given at the beginning of the simulation since the PEM is only progressing by step of one Martian year.
JBC

File:
1 edited

Legend:

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

    r3039 r3042  
    116116integer :: day_ini   ! First day of the simulation
    117117real    :: pday      ! Physical day
    118 real    :: ptime     ! Physical time
    119118real    :: time_phys ! Same as GCM
    120119real    :: ptimestep ! Same as GCM
     
    11361135!------------------------
    11371136! III_b.1 Write restart_evol.nc
    1138 ptimestep = iphysiq*daysec/real(day_step)/nsplit_phys
    1139 print*, ptimestep,dtphys,iphysiq*daysec/real(day_step),nsplit_phys
     1137ptimestep = iphysiq*daysec/real(day_step)/nsplit_phys ! dtphys/nsplit_phys
    11401138pday = day_ini
    1141 ptime = 0.
    1142 ztime_fin = pday - day_end + ptime + ptimestep/(float(iphysiq)*daysec)
     1139ztime_fin = time_phys
    11431140
    11441141allocate(p(ip1jmp1,nlayer + 1))
Note: See TracChangeset for help on using the changeset viewer.