Ignore:
Timestamp:
Oct 31, 2013, 2:49:26 PM (11 years ago)
Author:
tnavarro
Message:

Added a freedust mode, to be used with doubleq (for data assimilation). Dust is not lifted, not rescaled, dust opacity is predicted instead of being forced.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/dyn3d/newstart.F

    r1047 r1088  
    1818      use ioipsl_getincom, only: getin
    1919      use infotrac, only: iniadvtrac, nqtot, tnom
    20       use tracer_mod, only: noms, igcm_h2o_vap, igcm_h2o_ice
     20      use tracer_mod, only: noms, igcm_dust_number, igcm_dust_mass,
     21     &                      igcm_h2o_vap, igcm_h2o_ice
    2122      use surfdat_h, only: phisfi, z0, zmea, zstd, zsig, zgam, zthe,
    2223     &                     albedodat, z0_default
     
    497498     $ tracer'
    498499      write(*,*) 'q=profile    : specify a profile for a tracer'
     500      write(*,*) 'freedust     : rescale dust to a true value'
    499501      write(*,*) 'ini_q        : tracers initialization for chemistry
    500502     $ and water vapour'
     
    842844             endif
    843845             
     846c       q=profile : initialize tracer with a given profile
     847c       --------------------------------------------------
     848        else if (trim(modif) .eq. 'freedust') then
     849          do l=1,llm
     850            do j=1,jjp1
     851              do i=1,iip1
     852                q(i,j,l,igcm_dust_number)=
     853     &                q(i,j,l,igcm_dust_number) * 1e-3 ! grosso modo
     854                q(i,j,l,igcm_dust_mass)=
     855     &                q(i,j,l,igcm_dust_mass)   * 1e-3 ! grosso modo
     856              end do
     857            end do
     858          end do
     859
     860         ! We want to have the very same value at lon -180 and lon 180
     861          do l = 1,llm
     862             do j = 1,jjp1
     863                do iq = 1,nqtot
     864                   q(iip1,j,l,iq) = q(1,j,l,iq)
     865                end do
     866             end do
     867          end do
    844868
    845869c       ini_q : Initialize tracers for chemistry
Note: See TracChangeset for help on using the changeset viewer.