Changeset 2908 for trunk/LMDZ.MARS


Ignore:
Timestamp:
Feb 28, 2023, 2:48:15 PM (21 months ago)
Author:
romain.vande
Message:

Mars PCM:
Further implementation of subslope parametrisation.
Carefull ! This is a devolpment revision and it still need improvements and tests.
Only nslope=1 is possible for now!

!! This commit can produce small differences in restartfi.nc due to numerical roundup even for the case nslope=1 !!

Changes for tsurf:
tsurf_mesh_avg is used for callradite, thermosphere and in a specific case with Richardson based surface layer.

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2907 r2908  
    39233923Other code changes for nslope.gt.1 (sometimes the grid mesh average is used instead of the value of the subslope)
    39243924
    3925 
     3925== 28/02/2023 == RV
     3926This commit can produce small differences in restartfi.nc due to numerical roundup even for the case nslope=1.
     3927tsurf_mesh_avg is used for callradite, thermosphere and in a specific case with Richardson based surface layer.
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r2907 r2908  
    10331033           CALL callradite(icount,ngrid,nlayer,nq,zday,zls,pq,
    10341034     &     albedo_meshavg,emis_meshavg,
    1035      &     mu0,zplev,zplay,pt,tsurf(:,1),fract,dist_sol,igout,
     1035     &     mu0,zplev,zplay,pt,tsurf_meshavg,fract,dist_sol,igout,
    10361036     &     zdtlw,zdtsw,fluxsurf_lw(:,iflat),fluxsurf_dn_sw(:,:,iflat),
    10371037     &     fluxsurf_up_sw,
     
    10571057               CALL callradite(icount,ngrid,nlayer,nq,zday,zls,pq,
    10581058     &              albedo_meshavg,emis_meshavg,mu0,zplev,zplay,pt,
    1059      &              tsurf(:,1),fract,
     1059     &              tsurf_meshavg,fract,
    10601060     &              dist_sol,igout,zdtlwclf,zdtswclf,
    10611061     &              fluxsurf_lwclf,fluxsurf_dn_swclf,fluxsurf_up_swclf,
     
    14671467
    14681468          DO ig=1, ngrid
    1469              IF (zh(ig,1) .lt. tsurf(ig,1)) THEN
     1469             IF (zh(ig,1) .lt. tsurf_meshavg(ig)) THEN
    14701470               wstar(ig)=1.
    14711471               hfmax_th(ig)=0.2
     
    21462146      if (callthermos) then
    21472147        call thermosphere(ngrid,nlayer,nq,zplev,zplay,dist_sol,
    2148      $     mu0,ptimestep,ptime,zday,tsurf(:,iflat),zzlev,zzlay,
     2148     $     mu0,ptimestep,ptime,zday,tsurf_meshavg,zzlev,zzlay,
    21492149     &     pt,pq,pu,pv,pdt,pdq,
    21502150     $     zdteuv,zdtconduc,zdumolvis,zdvmolvis,zdqmoldiff,
Note: See TracChangeset for help on using the changeset viewer.