Changeset 2678


Ignore:
Timestamp:
May 17, 2022, 3:22:49 PM (3 years ago)
Author:
tpierron
Message:

Mars GCM :
Add incoming solar direct flux at surface in stats outputs for the MCD.
+ declare new variable "flux_1AU" for solar constant.
TP

Location:
trunk/LMDZ.MARS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2672 r2678  
    37063706arguments were wrong).
    37073707Turned inichim_newstart.F90 into a module.
     3708
     3709== 17/05/2022 == TP
     3710Add incoming solar direct flux at surface in stats outputs for the MCD.
     3711+ declare new variable "flux_1AU" for solar constant.
     3712
  • trunk/LMDZ.MARS/libf/phymars/callradite_mod.F

    r2643 r2678  
    2020     &            iaer_dust_conrath,iaer_dust_doubleq,
    2121     &            iaer_dust_submicron, iaer_h2o_ice, iaer_co2_ice,
    22      &            iaer_stormdust_doubleq,iaer_topdust_doubleq
     22     &            iaer_stormdust_doubleq,iaer_topdust_doubleq,flux_1AU
    2323      use yomlw_h, only: gcp, nlaylte
    2424      use comcstfi_h, only: g,cpp
     
    559559c       -------------------------------------------------------
    560560c          Mars solar constant (W m-2)
    561 c          1370 W.m-2 is the solar constant at 1 AU.
    562            cste_mars=1370./(dist_sol*dist_sol)
     561c          flux_1AU = 1370 W.m-2 is the solar constant at 1 AU.
     562           cste_mars=flux_1AU/(dist_sol*dist_sol)
    563563           zzdtsw(:,:) = 0.
    564564           call swmain ( nd, nflev,
  • trunk/LMDZ.MARS/libf/phymars/dimradmars_mod.F90

    r2578 r2678  
    107107  integer,parameter :: nabsmx=2
    108108  integer,parameter :: nt_pademx=19
     109 
     110! Solar flux constant at 1AU for slope scheme
     111!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     112
     113  real, parameter :: flux_1AU = 1370. ! solar constant (W.m-2)
    109114
    110115!!
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r2660 r2678  
    6161     &                          dtrad, fluxrad_sky, fluxrad, albedo,
    6262     &                          naerkind, iaer_dust_doubleq,
    63      &                          iaer_stormdust_doubleq
     63     &                          iaer_stormdust_doubleq, iaer_h2o_ice,
     64     &                          flux_1AU
    6465      use dust_param_mod, only: doubleq, lifting, callddevil,
    6566     &                          tauscaling, odpref, dustbin,
     
    283284      REAL sl_ra, sl_di0
    284285      REAL sky
     286      REAL direct_flux(ngrid)    ! Incident direct solar flux on Mars at surface (W.m-2)
    285287
    286288      REAL,PARAMETER :: stephan = 5.67e-08 ! Stephan Boltzman constant
     
    10761078                 sl_di0 = 0.
    10771079                 if (mu0(ig) .gt. 0.) then
    1078                   sl_di0 = mu0(ig)*(exp(-sl_tau/mu0(ig)))
    1079                   sl_di0 = sl_di0*1370./dist_sol/dist_sol
     1080                  sl_di0 = mu0(ig)*(exp(-sl_tau/mu0(ig)))
     1081                  sl_di0 = sl_di0*flux_1AU/dist_sol/dist_sol
    10801082                  sl_di0 = sl_di0/ztim1
    10811083                  sl_di0 = fluxsurf_sw(ig,l)*sl_di0
     
    24462448c          diagfi files
    24472449c        -------------------------------------------------------------------
     2450
     2451
     2452         do ig=1,ngrid
     2453           if(mu0(ig).le.0.01) then
     2454            direct_flux(ig) = 0.
     2455           else
     2456            direct_flux(ig) = flux_1AU/dist_sol/dist_sol*mu0(ig)*
     2457     &                    exp(-(tau(ig,iaer_dust_doubleq)+
     2458     &                          tau(ig,iaer_h2o_ice))/mu0(ig))
     2459           endif
     2460         enddo
    24482461
    24492462         if (tracer) then
     
    26722685c          call wstats(ngrid,"lw_htrt","lw heat.rate",
    26732686c    &                 "W.m-2",3,zdtlw)
     2687          call wstats(ngrid,"direct_flux",
     2688     &                "Direct incoming flux at surface",
     2689     &                "W.m-2",2,direct_flux)     
    26742690
    26752691          if (calltherm) then
Note: See TracChangeset for help on using the changeset viewer.