Changeset 3611 for trunk/LMDZ.COMMON


Ignore:
Timestamp:
Feb 7, 2025, 12:14:55 PM (7 days ago)
Author:
jbclement
Message:

PEM:
Few bug corrections:

  • global surface pressure was badlu updated (r3610);
  • XIOS slope variables were not consistent;
  • missing initialization for slope number (r3609);
  • taking into account that there may be no "startfi.nc" at the beginning of the PEM simulation.

JBC

Location:
trunk/LMDZ.COMMON/libf/evolution
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/changelog.txt

    r3610 r3611  
    577577- The sublimation flux can now be modified by the new function 'recomp_tend_h2o' to account for the growth of a dust lag layer (see Eran Vos's note for the formula).
    578578- Addition of a function 'itp_tsoil' to compute the soil temperature at any point in the soil profile.
     579
     580== 07/02/2025 == JBC
     581Few bug corrections:
     582    - global surface pressure was badlu updated (r3610);
     583    - XIOS slope variables were not consistent;
     584    - missing initialization for slope number (r3609);
     585    - taking into account that there may be no "startfi.nc" at the beginning of the PEM simulation.
  • trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh

    r3579 r3611  
    144144    iPEM=1
    145145    iPCM=1
    146     cp startfi.nc starts/
     146    if [ -f "startfi.nc" ]; then
     147        cp startfi.nc starts/
     148    fi
    147149    if [ -f "start.nc" ]; then
    148150        cp start.nc starts/
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r3610 r3611  
    727727    do i = 1,ngrid
    728728        do islope = 1,nslope
    729             ps_avg_global_new = ps_avg_global_old - CO2cond_ps*g*cell_area(i)*d_co2ice(i,islope)*subslope_dist(i,islope)/cos(pi*def_slope_mean(islope)/180.)/total_surface
     729            ps_avg_global_new = ps_avg_global_new - CO2cond_ps*g*cell_area(i)*d_co2ice(i,islope)*subslope_dist(i,islope)/cos(pi*def_slope_mean(islope)/180.)/total_surface
    730730        enddo
    731731    enddo
     
    733733    if (adsorption_pem) then
    734734        do i = 1,ngrid
    735             ps_avg_global_new = ps_avg_global_old - g*cell_area(i)*delta_co2_adsorbed(i)/total_surface
     735            ps_avg_global_new = ps_avg_global_new - g*cell_area(i)*delta_co2_adsorbed(i)/total_surface
    736736        enddo
    737737    endif
     
    12511251call info_PEM(i_myear_leg,stopPEM,i_myear,n_myear)
    12521252
    1253 write(*,*) ">> The PEM has run for", i_myear_leg, "Martian years."
    1254 write(*,*) ">> The chained simulation has run for", i_myear, "Martian years =", i_myear*convert_years, "Earth years."
    1255 write(*,*) ">> The reached date is now", (year_bp_ini + i_myear)*convert_years, "Earth years."
    1256 write(*,*) ">> PEM: so far, so good!"
     1253write(*,*) '************************************************************************'
     1254write(*,*) "> The PEM has run for", i_myear_leg, "Martian years."
     1255write(*,*) "> The chained simulation has run for", i_myear, "Martian years =", i_myear*convert_years, "Earth years."
     1256write(*,*) "> The reached date is now", (year_bp_ini + i_myear)*convert_years, "Earth years."
     1257write(*,*) "> PEM: so far, so good!"
     1258write(*,*) '************************************************************************'
    12571259
    12581260if (layering_algo) then
  • trunk/LMDZ.COMMON/libf/evolution/read_data_PCM_mod.F90

    r3609 r3611  
    7676do islope = 1,nslope
    7777    if (nslope /= 1) then
     78        num='  '
    7879        write(num,'(i2.2)') islope
    7980        num = '_slope'//num
     
    196197do islope = 1,nslope
    197198    if (nslope /= 1) then
     199        num='  '
    198200        write(num,'(i2.2)') islope
    199201        num = '_slope'//num
Note: See TracChangeset for help on using the changeset viewer.