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/libf/aeronomars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.