Changeset 3273 for trunk


Ignore:
Timestamp:
Mar 19, 2024, 11:06:57 AM (8 months ago)
Author:
llange
Message:

Mars PCM
Small fixes in vdifc for the interaction between the subsurface and frost (the flux from the surface frost to the subsurface was oo large if one removes all the frost at the surface)
LL

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

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

    r3272 r3273  
    45744574== 19/03/2024 == LL
    45754575Adapt soil water to run with massive ice and not pore filling ice + constant diffusion coefficient
     4576Small fixes in vdifc for the interaction between the subsurface and frost (the flux from the surface frost to the subsurface was oo large if one removes all the frost at the surface)
     4577
  • trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F

    r3262 r3273  
    11691169     &                              *qsat_ssi(ig,islope)
    11701170           
    1171 
     1171                  ! Flux from the subsurface     
     1172                        if(old_wsublimation_scheme) then
     1173                           zdqsdif_ssi_atm(ig,islope)=rho(ig)
     1174     &                     *dryness(ig)*zcdv(ig,islope)
     1175     &                     *1/(1+resist(ig,islope))
     1176     &                     *(zq1temp(ig)-qsat_ssi(ig,islope))
     1177                        else
     1178                           zdqsdif_ssi_atm(ig,islope)=rho(ig)*
     1179     &                     *dryness(ig) *zcdh(ig,islope)
     1180     &                     *1/(1+resist(ig,islope))
     1181     &                     *(zq1temp(ig)-qsat_ssi(ig,islope))                         
     1182                        endif
    11721183
    11731184                    else
     
    12141225     &                                 *(qsat(ig)-qsat_ssi(ig,islope))
    12151226
    1216 ! Line to comment for now since we don't have a mass of subsurface frost in our computation (otherwise, we would not conserve the H2O mass in the system)               
     1227! Line to comment for now since we don't have a mass of subsurface frost
     1228! in our computation (otherwise, we would not conserve the H2O mass in
     1229! the system)     
     1230
     1231
     1232                  if ((-zdqsdif_tot(ig)+zdqsdif_ssi_frost(ig,islope))
     1233     &            *subtimestep.ge.(zqsurf(ig))) then
     1234                     zdqsdif_ssi_frost(ig,islope) =
     1235     &                         zqsurf(ig)/subtimestep
     1236     &                         +   zdqsdif_tot(ig)
     1237                  endif
     1238
    12171239                    zdqsdif_tot(ig) = zdqsdif_tot(ig) -
    12181240     &                        zdqsdif_ssi_frost(ig,islope)
Note: See TracChangeset for help on using the changeset viewer.