Changeset 3337 for trunk/LMDZ.MARS


Ignore:
Timestamp:
May 21, 2024, 5:59:03 PM (6 months ago)
Author:
jnaar
Message:

Threshold in qsurf(ice) in the computation of the subtimestep to avoid calling it when ice is not present on the surface (was already the case, but the condition was 0 and it could thus happen with very very low quantities, which is useless). JN

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

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

    r3336 r3337  
    46374637== 21/05/2024 == JBC
    46384638Addition of the paleoclimate variables in the change the number of slopes by "newtart.F" + some simplifications of the way it is done.
     4639
     4640== 21/05/2024 == JN
     4641In vdifc_mod, adding a threshold on the subtimestep of water vapor
     4642sublimation/condensation to avoid computation when surface ice is too low.
     4643Also nsubtimestep is now stored in diagfi at the end of the subtimestep for
     4644clarity of the code.
  • trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F

    r3325 r3337  
    10161016c           nsubtimestep(ig)=1 !for debug
    10171017           subtimestep = ptimestep/nsubtimestep(ig)
    1018                           call write_output('subtimestep',
    1019      &                'vdifc substimestep length','s',subtimestep)
    10201018            ztsrf(ig)=ptsrf(ig,islope)  !  +pdtsrf(ig)*subtimestep
    10211019            zq_tmp_vap(ig,:,:) =zq(ig,:,:)
     
    14141412     &                     "Ground ice latent heat flux",
    14151413     &                     "W.m-2",surf_h2o_lh(:,iflat))
     1414         call write_output("nsubtimestep",
     1415     &                     "Number of subtimesteps in vdifc",
     1416     &                     "int",nsubtimestep(:))
    14161417
    14171418         call write_output('zdqsdif_ssi_frost_tot',
     
    14981499
    14991500      do i=1,naersize
    1500         if ((qsurf(i).eq.0).and.
     1501        if ((qsurf(i).lt.0.005).and.
    15011502     &      (.not.watercaptag(i))) then
    15021503          ntsub(i) = 1
Note: See TracChangeset for help on using the changeset viewer.