Ignore:
Timestamp:
Nov 28, 2013, 6:51:01 AM (11 years ago)
Author:
emillour
Message:

Mars GCM:

  • Bug fix: Sun-Mars distance was not correctly taken into account in the solvarmod==1 (daily varying realistic EUV input) case.

FGG

Location:
trunk/LMDZ.MARS/libf/aeronomars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/aeronomars/chemthermos.F90

    r1047 r1119  
    472472
    473473      !Photoabsorption coefficients
     474      call flujo(solarcondate)
    474475      if(solvarmod.eq.0) then
    475          call flujo(solarcondate)!+zday/365.)
    476476         call jthermcalc(ig,chemthermod,rm,nesptherm,ztemp,zlocal,zenit)
    477477      else if(solvarmod.eq.1) then
  • trunk/LMDZ.MARS/libf/aeronomars/euvheat.F90

    r1047 r1119  
    369369     
    370370      !Solar flux calculation
    371       if(solvarmod.eq.0) call flujo(solarcondate)
     371      call flujo(solarcondate)
    372372
    373373                                         ! Not recommended for long runs
     
    429429                                              !the actual Mars-Sun distance
    430430        enddo   
    431       enddo  ! of do ig=1,ngrid
     431      enddo  ! of do ig=1,ngrid
     432       
    432433      !Deallocations
    433434!      deallocate(rm)
  • trunk/LMDZ.MARS/libf/aeronomars/hrtherm.F

    r705 r1119  
    105105      else if (solvarmod.eq.1) then
    106106         call jthermcalc_e107(ig,euvmod,rm,nespeuv,tx,iz,zenit,zday)
    107          do indexint=1,ninter
    108             fluxtop(indexint)=1.
    109          enddo
    110107      endif
    111108
     
    123120      end do
    124121
     122
    125123      return
    126124
  • trunk/LMDZ.MARS/libf/aeronomars/jthermcalc.F

    r1047 r1119  
    296296             !H interpolated coefficient
    297297             jfotsout(indexint,12,auxi) = wm(i)*auxjh(ind+1) +
    298      $            wp(i)*auxjh(ind)            
     298     $            wp(i)*auxjh(ind)
    299299          enddo
    300300          !Only if chemthermod.ge.2
     
    16901690      include 'param.h'
    16911691      include 'param_v4.h'
     1692      include "callkeys.h"
    16921693
    16931694
     
    17131714         !For more details, see Gonzalez-Galindo et al. 2005
    17141715         !To be improved in next versions
    1715         if(i.le.24) then
    1716           fluxtop(i)=(((ct1(i)+p1(i)*date)/2.)                 
    1717      $        *sin(2.*3.1416/11.*(date-1985.-3.1416))         
    1718      $        +(ct2(i)+p2(i)*date)+1.)*fluxtop(i)
    1719         end if
    1720         fluxtop(i)=fluxtop(i)*(1.52/dist_sol)**2
    1721       end do
    1722 !      fluxtop(1)=fluxtop(1)*10.
    1723 !      fluxtop(2)=fluxtop(2)*5.
     1716        if(i.le.24.and.solvarmod.eq.0) then
     1717            fluxtop(i)=(((ct1(i)+p1(i)*date)/2.)                 
     1718     $           *sin(2.*3.1416/11.*(date-1985.-3.1416))         
     1719     $           +(ct2(i)+p2(i)*date)+1.)*fluxtop(i)
     1720         end if
     1721         fluxtop(i)=fluxtop(i)*(1.52/dist_sol)**2
     1722      end do
    17241723     
    17251724      return
Note: See TracChangeset for help on using the changeset viewer.