Changeset 5f9d14a in flexpart.git for src/readspecies.f90


Ignore:
Timestamp:
Apr 8, 2015, 2:23:27 PM (9 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
1585284
Parents:
cd85138
Message:

Updated wet depo scheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readspecies.f90

    r8a65cb0 r5f9d14a  
    216216! Check scavenging parameters given in SPECIES file
    217217  if (dquer(pos_spec).gt.0) then !is particle
    218     write(*,'(a,f5.2)') '  Particle below-cloud scavenging parameter A &
    219          &(Rain collection efficiency)  ', weta(pos_spec)
    220     write(*,'(a,f5.2)') '  Particle below-cloud scavenging parameter B &
    221          &(Snow collection efficiency)  ', wetb(pos_spec)
     218    if (lroot) then
     219      write(*,'(a,f5.2)') '  Particle below-cloud scavenging parameter A &
     220           &(Rain collection efficiency)  ', weta(pos_spec)
     221      write(*,'(a,f5.2)') '  Particle below-cloud scavenging parameter B &
     222           &(Snow collection efficiency)  ', wetb(pos_spec)
     223    end if
    222224    if (weta(pos_spec).gt.1.0 .or. wetb(pos_spec).gt.1.0) then
    223       write(*,*) '*******************************************'
    224       write(*,*) ' WARNING: Particle below-cloud scavenging parameter A or B &
    225            &is out of likely range'
    226       write(*,*) '          Likely range is 0.0-1.0'
    227       write(*,*) '*******************************************'
     225      if (lroot) then
     226        write(*,*) '*******************************************'
     227        write(*,*) ' WARNING: Particle below-cloud scavenging parameter A or B &
     228             &is out of likely range'
     229        write(*,*) '          Likely range is 0.0-1.0'
     230        write(*,*) '*******************************************'
     231      end if
    228232    endif
    229     write(*,'(a,f5.2)') '  Particle in-cloud scavenging parameter Ai &
    230          &(CCN efficiency)  ', weta_in(pos_spec)
    231     write(*,'(a,f5.2)') '  Particle in-cloud scavenging parameter Bi &
    232          &(IN efficiency)  ', wetb_in(pos_spec)
    233     if (weta_in(pos_spec).gt.1.0 .or. weta_in(pos_spec).lt.0.7 )then
    234       write(*,*) '*******************************************'
    235       write(*,*) ' WARNING: Particle in-cloud scavenging parameter A is out of likely range'
    236       write(*,*) '          The default value is 0.9 for CCN '
    237       write(*,*) '*******************************************'
     233    if (lroot) then
     234      write(*,'(a,f5.2)') '  Particle in-cloud scavenging parameter Ai &
     235           &(CCN efficiency)  ', weta_in(pos_spec)
     236      write(*,'(a,f5.2)') '  Particle in-cloud scavenging parameter Bi &
     237           &(IN efficiency)  ', wetb_in(pos_spec)
     238    end if
     239    if (weta_in(pos_spec).gt.1.0 .or. weta_in(pos_spec).lt.0.7) then
     240      if (lroot) then
     241        write(*,*) '*******************************************'
     242        write(*,*) ' WARNING: Particle in-cloud scavenging parameter A is out of likely range'
     243        write(*,*) '          The default value is 0.9 for CCN '
     244        write(*,*) '*******************************************'
     245      end if
    238246    endif
    239247    if (wetb_in(pos_spec).gt.0.2 .or. wetb_in(pos_spec).lt.0.01) then
    240       write(*,*) '*******************************************'
    241       write(*,*) ' WARNING: Particle in-cloud scavenging parameter B is out of likely range'
    242       write(*,*) '          The default value is 0.1 for IN '
    243       write(*,*) '*******************************************'
     248      if (lroot) then
     249        write(*,*) '*******************************************'
     250        write(*,*) ' WARNING: Particle in-cloud scavenging parameter B is out of likely range'
     251        write(*,*) '          The default value is 0.1 for IN '
     252        write(*,*) '*******************************************'
     253      end if
    244254    endif
    245255
    246256  else !is gas
    247     write(*,'(a,f5.2)') '  Gas below-cloud scavenging parameter A  ', weta(pos_spec)
    248     write(*,'(a,f5.2)') '  Gas below-cloud scavenging parameter B  ', wetb(pos_spec)
    249     write(*,*) ' Gas in-cloud scavenging uses default values as in Hertel et al 1995'
     257    if (lroot) then
     258      write(*,'(a,f5.2)') '  Gas below-cloud scavenging parameter A  ', weta(pos_spec)
     259      write(*,'(a,f5.2)') '  Gas below-cloud scavenging parameter B  ', wetb(pos_spec)
     260      write(*,*) ' Gas in-cloud scavenging uses default values as in Hertel et al 1995'
     261    end if
     262    if (weta(pos_spec).gt.0.) then !if wet deposition is turned on
     263      if (weta(pos_spec).gt.1E-04 .or. weta(pos_spec).lt.1E-09) then
     264        if (lroot) then
     265          write(*,*) '*******************************************'
     266          write(*,*) ' WARNING: Gas below-cloud scavenging parameter A is out of likely range'
     267          write(*,*) '          Likely range is 1E-04 to 1E-08 (see Hertel et al 1995)'
     268          write(*,*) '*******************************************'
     269        end if
     270      endif
     271    end if
    250272    if (wetb(pos_spec).gt.0.) then !if wet deposition is turned on
    251273      if (wetb(pos_spec).gt.0.8 .or. wetb(pos_spec).lt.0.6) then
    252         write(*,*) '*******************************************'
    253         write(*,*) ' WARNING: Gas below-cloud scavenging parameter B is out of likely range'
    254         write(*,*) '          Likely range is 0.6 to 0.8 (see Hertel et al 1995)'
    255         write(*,*) '*******************************************'
    256       endif
    257     end if
    258     if (weta(pos_spec).gt.0.) then !if wet deposition is turned on
    259       if (weta(pos_spec).gt.1E-04 .or. weta(pos_spec).lt.1E-09) then
    260         write(*,*) '*******************************************'
    261         write(*,*) ' WARNING: Gas below-cloud scavenging parameter A is out of likely range'
    262         write(*,*) '          Likely range is 1E-04 to 1E-08 (see Hertel et al 1995)'
    263         write(*,*) '*******************************************'
     274        if (lroot) then
     275          write(*,*) '*******************************************'
     276          write(*,*) ' WARNING: Gas below-cloud scavenging parameter B is out of likely range'
     277          write(*,*) '          Likely range is 0.6 to 0.8 (see Hertel et al 1995)'
     278          write(*,*) '*******************************************'
     279        end if
    264280      endif
    265281    end if
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG