Changeset 3400 for trunk/LMDZ.MARS


Ignore:
Timestamp:
Aug 6, 2024, 6:39:29 PM (4 months ago)
Author:
llange
Message:

Mars PCM
Back to the commit
Correction of the computation of the water vapor flux from the subsurface ice when thin frost is at the surface: When the frost was too thin (thickness < tol_frost), the flux from the subsurface ice to the surface/atmosphere was not computed. It is now corrected, assuming that the frost is too thin to prevent exchange between subsurface ice and the atmosphere
cleaning testphys1d (unused comments)
LL, who should be writing his PhD dissertation

Location:
trunk/LMDZ.MARS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3398 r3400  
    46854685was forgot to give to montainant step. Thus all mixing-induce tendency becomes
    46864686zero due to initiallization values are zero.
     4687
     4688== 06/08/2024 == LL
     4689Correction of the computation of the water vapor flux from the subsurface ice
     4690when thin frost is at the surface
     4691cleaning testphys1d
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90

    r3369 r3400  
    207207            endif
    208208        endif
    209     !EV profile
    210 !            IF(atm_wat_profile.eq.2) THEN
    211 !             DO ilayer=1,16
    212 !              q(1,ilayer,igcm_h2o_vap)=min(zqsat(ilayer),6e-5)
    213 !             ENDDO! ilayer=1,16
    214 !             DO ilayer=17,22
    215 !              q(1,ilayer,igcm_h2o_vap)=min(zqsat(ilayer),3e-5)
    216 !             ENDDO! ilayer=17,22
    217 !             DO ilayer=23,nlayer
    218 !              q(1,ilayer,igcm_h2o_vap)=0
    219 !             ENDDO! ilayer=23,nlayer
    220 !             endif
    221209     endif
    222210
  • trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F

    r3348 r3400  
    11131113
    11141114              if(.not.watercaptag(ig).and.(.not.adsorption_soil)) then
    1115                  if ((-zdqsdif_tot(ig)*subtimestep)
    1116      &                .ge.(zqsurf(ig))) then
     1115                 if ((((-zdqsdif_tot(ig)*subtimestep)
     1116     &                .ge.(zqsurf(ig))))
     1117     &              .or.
     1118     &                (((-zdqsdif_tot(ig)*subtimestep)
     1119     &                .lt.(zqsurf(ig)))
     1120     &                .and. ((zqsurf(ig).lt.tol_frost))
     1121     &                .and.lag_layer)) then
     1122
    11171123     
    1118                     zdqsdif_tot(ig)=-zqsurf(ig)/subtimestep
     1124!                     zdqsdif_tot(ig)=-zqsurf(ig)/subtimestep
    11191125                    if((h2o_ice_depth(ig,islope).gt.0)
    1120      &                  .and. (zqsurf(ig) .lt. 1e-9)
     1126     &                  .and. (zqsurf(ig) .lt. tol_frost)
    11211127     &                  .and.lag_layer) then
    11221128                  ! Atm <-> subsurface exchange, we need to update the exchange coefficient zb by a factor 1/1+R; R = zice*Cd,h*/D and add the flux from the subsurface
    1123                          zqsurf(ig) = 0
     1129!                         zqsurf(ig) = 0
    11241130                         if(old_wsublimation_scheme) then
    11251131                            resist(ig,islope)=h2o_ice_depth(ig,islope)
     
    12141220! in our computation (otherwise, we would not conserve the H2O mass in
    12151221! the system)     
    1216 
    1217 
    12181222                  if ((-zdqsdif_tot(ig)+zdqsdif_ssi_frost(ig,islope))
    12191223     &            *subtimestep.ge.(zqsurf(ig))) then
     
    12481252              zqsurf(ig)= zqsurf(ig)+(
    12491253     &                       zdqsdif_tot(ig))*subtimestep
     1254
    12501255              if (zqsurf(ig)<0 .and.(.not.watercaptag(ig))) then
    12511256                      zqsurf(ig)=0
     
    14121417     &                     "Ground ice latent heat flux",
    14131418     &                     "W.m-2",surf_h2o_lh(:,iflat))
    1414          call write_output("nsubtimestep",
    1415      &                     "Number of subtimesteps in vdifc",
    1416      &                     "int",nsubtimestep(:))
    14171419
    14181420         call write_output('zdqsdif_ssi_frost_tot',
Note: See TracChangeset for help on using the changeset viewer.