Ignore:
Timestamp:
Mar 12, 2025, 10:35:44 AM (3 months ago)
Author:
jbclement
Message:

PEM:
Updating the average pressure at each iteration.
JBC

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

Legend:

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

    r3673 r3680  
    621621- Addition of pore-filled ice information for 'stratum' in the layering algorithm.
    622622- Deactivating the soil temperature shifting because of bad values given by interpolation.
     623
     624== 12/03/2025 == JBC
     625Updating the average pressure at each iteration.
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r3673 r3680  
    246246character(100)        :: chtimelimit     ! Time limit for the PEM job outputted by the SLURM command
    247247real                  :: timelimit       ! Time limit for the PEM job in seconds
    248 real, parameter       :: antetime = 2700 ! Anticipation time to prevent reaching the job time limit: 2700 s = 45 min by default (it should cover the computing time of the reshaping tool)
     248real, parameter       :: antetime = 3600 ! Anticipation time to prevent reaching the job time limit: 3600 s by default (it should cover the computing time of the reshaping tool)
    249249integer               :: cstat, days, hours, minutes, seconds
    250250character(1)          :: sep
     
    758758        enddo
    759759    enddo
    760 
    761760    if (adsorption_pem) then
    762761        do i = 1,ngrid
     
    764763        enddo
    765764    endif
     765    ps_avg = ps_avg*ps_avg_global_new/ps_avg_global_old
    766766    write(*,*) 'Global average pressure old time step:',ps_avg_global_old
    767767    write(*,*) 'Global average pressure new time step:',ps_avg_global_new
     
    11311131write(*,*) '> Reconstructing the pressure for the PCM'
    11321132allocate(ps_start(ngrid))
    1133 ps_start = (ps_avg + ps_dev)*ps_avg_global_new/ps_avg_global_ini ! The pressure deviation is rescaled as well to avoid disproportionate oscillations in case of huge average pressure drop
     1133! The pressure deviation is rescaled as well to avoid disproportionate oscillations in case of huge average pressure drop
     1134ps_start = ps_avg + ps_dev*ps_avg_global_new/ps_avg_global_ini
    11341135deallocate(ps_avg,ps_dev)
    11351136
Note: See TracChangeset for help on using the changeset viewer.