Changeset 1684


Ignore:
Timestamp:
Mar 31, 2017, 5:03:31 PM (8 years ago)
Author:
emillour
Message:

Mars GCM:
Add possibility to fix EUV input as E10.7 value and remove previous system
(which used parameter solarcondate). The E10.7 value is now set via
callphys.def by parameter "fixed_euv_value" which is only used if
solvarmod==0.
Guidelines for min/ave/max EUV input: fixed_euv_value=80/140/320.
EM + FGG

Location:
trunk/LMDZ.MARS
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r1682 r1684  
    24202420- print_control_mod.F90 : make initialization occur via init_print_control_mod
    24212421                          to avoid circular module dependencies
     2422
     2423== 31/03/2017 == EM + FGG
     2424Add possibility to fix EUV input as E10.7 value and remove previous system
     2425(which used parameter solarcondate). The E10.7 value is now set via
     2426callphys.def by parameter "fixed_euv_value" which is only used if
     2427solvarmod==0.
     2428Guidelines for min/ave/max EUV input:  fixed_euv_value=80/140/320.
  • trunk/LMDZ.MARS/libf/aeronomars/chemthermos.F90

    r1266 r1684  
    466466
    467467      !Photoabsorption coefficients
    468       call flujo(solarcondate)
    469       if(solvarmod.eq.0) then
    470          call jthermcalc(ig,nlayer,chemthermod,rm,nesptherm,ztemp,zlocal,zenit)
    471       else if(solvarmod.eq.1) then
    472          call jthermcalc_e107(ig,nlayer,chemthermod,rm,nesptherm,ztemp,zlocal,zenit,zday)
    473       endif
     468      call jthermcalc_e107(ig,nlayer,chemthermod,rm,nesptherm,ztemp,zlocal,zenit,zday)
    474469         
    475470
  • trunk/LMDZ.MARS/libf/aeronomars/euvheat.F90

    r1266 r1684  
    359359      enddo
    360360     
    361       !Solar flux calculation
    362       call flujo(solarcondate)
    363 
    364                                          ! Not recommended for long runs
    365                                          ! (e.g. to build the MCD), as the
    366                                          ! solar conditions at the end will
    367                                          ! be different to the ones initially
    368                                          ! set
    369361     
    370362      do ig=1,ngrid
  • trunk/LMDZ.MARS/libf/aeronomars/hrtherm.F

    r1266 r1684  
    9898
    9999      !Calculation of photoabsortion coefficient
    100       if(solvarmod.eq.0) then
    101          call jthermcalc(ig,nlayer,euvmod,rm,nespeuv,tx,iz,zenit)
    102       else if (solvarmod.eq.1) then
    103          call jthermcalc_e107(ig,nlayer,euvmod,
     100      call jthermcalc_e107(ig,nlayer,euvmod,
    104101     .           rm,nespeuv,tx,iz,zenit,zday)
    105       endif
    106102
    107103      !Total photoabsorption coefficient
     
    118114      end do
    119115
    120 
    121       return
    122 
    123116      end
    124117
  • trunk/LMDZ.MARS/libf/aeronomars/jthermcalc_e107.F

    r1266 r1684  
    2020
    2121      implicit none
     22
     23      include "callkeys.h"
    2224
    2325c     input and output variables
     
    136138      end do
    137139
    138       !E10.7 for the day: linear interpolation to tabulated values
    139       realday=mod(zday,669.)
    140       if(realday.lt.date_e107(1)) then
     140      if (solvarmod==0) then
     141        e107=fixed_euv_value
     142      else
     143        !E10.7 for the day: linear interpolation to tabulated values
     144        realday=mod(zday,669.)
     145        if(realday.lt.date_e107(1)) then
    141146         e107=e107_tab(1)
    142       else if(realday.ge.date_e107(669)) then
     147        else if(realday.ge.date_e107(669)) then
    143148         e107=e107_tab(669)   
    144       else if(realday.ge.date_e107(1).and.
     149        else if(realday.ge.date_e107(1).and.
    145150     $        realday.lt.date_e107(669)) then
    146151         do i=1,668
     
    153158            endif
    154159         enddo
    155       endif
     160        endif
     161      endif ! of if (solvarmod==0)
    156162
    157163      !Photoabsorption coefficients at TOA as a function of E10.7
  • trunk/LMDZ.MARS/libf/phymars/callkeys.h

    r1617 r1684  
    1919     &   ,dustbin,nltemodel,nircorr,solvarmod,solvaryear
    2020     
    21       COMMON/callkeys_r/topdustref,solarcondate,semi,alphan,euveff,     &
    22      &   tke_heat_flux,dustrefir
     21      COMMON/callkeys_r/topdustref,semi,alphan,euveff,                  &
     22     &   tke_heat_flux,dustrefir,fixed_euv_value
    2323     
    2424      LOGICAL callrad,calldifv,calladj,callcond,callsoil,               &
     
    3838      real semi
    3939      real alphan
    40       real solarcondate
     40      real fixed_euv_value
    4141      real euveff
    4242      real tke_heat_flux
  • trunk/LMDZ.MARS/libf/phymars/conf_phys.F

    r1655 r1684  
    704704
    705705         write(*,*) "Method to include solar variability"
    706          write(*,*) "0-> old method (using solarcondate); ",
    707      &                  "1-> variability wit E10.7"
     706         write(*,*) "0-> fixed value of E10.7 (fixed_euv_value); ",
     707     &          "1-> daily evolution of E10.7 (for given solvaryear)"
    708708         solvarmod=1
    709709         call getin("solvarmod",solvarmod)
    710710         write(*,*) " solvarmod = ",solvarmod
    711711
    712          write(*,*) "date for solar flux calculation:",
    713      &   " (1985 < date < 2002)",
    714      $   " (Only used if solvarmod=0)"
    715          write(*,*) "(Solar min=1996.4 ave=1993.4 max=1990.6)"
    716          solarcondate=1993.4 ! default value
    717          call getin("solarcondate",solarcondate)
    718          write(*,*) " solarcondate = ",solarcondate
     712         write(*,*) "Fixed euv (for solvarmod==0) 10.7 value?"
     713         write(*,*) " (min=80 , ave=140, max=320)"
     714         fixed_euv_value=140 ! default value
     715         call getin("fixed_euv_value",fixed_euv_value)
     716         write(*,*) " fixed_euv_value = ",fixed_euv_value
    719717         
    720718         write(*,*) "Solar variability as observed for MY: "
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r1660 r1684  
    484484            call allocate_param_thermos(nlayer)
    485485            call allocate_param_iono(nlayer,nreact)
    486             if(solvarmod.eq.0) call param_read
    487             if(solvarmod.eq.1) call param_read_e107
     486            call param_read_e107
    488487         endif
    489488#endif
Note: See TracChangeset for help on using the changeset viewer.