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/phymars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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.