1 | |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | |
---|
11 | |
---|
12 | !$Id: drydep.F90 10 2007-08-09 12:43:01Z acosce $ |
---|
13 | !! ========================================================================= |
---|
14 | !! INCA - INteraction with Chemistry and Aerosols |
---|
15 | !! |
---|
16 | !! Copyright Laboratoire des Sciences du Climat et de l'Environnement (LSCE) |
---|
17 | !! Unite mixte CEA-CNRS-UVSQ |
---|
18 | !! |
---|
19 | !! Contributors to this INCA subroutine: |
---|
20 | !! |
---|
21 | !! Didier Hauglustaine, LSCE, hauglustaine@cea.fr |
---|
22 | !! Stacy Walters, NCAR, stacy@ucar.edu |
---|
23 | !! |
---|
24 | !! Anne Cozic, LSCE, anne.cozic@cea.fr |
---|
25 | !! Yann Meurdesoif, LSCE, yann.meurdesoif@cea.fr |
---|
26 | !! |
---|
27 | !! This software is a computer program whose purpose is to simulate the |
---|
28 | !! atmospheric gas phase and aerosol composition. The model is designed to be |
---|
29 | !! used within a transport model or a general circulation model. This version |
---|
30 | !! of INCA was designed to be coupled to the LMDz GCM. LMDz-INCA accounts |
---|
31 | !! for emissions, transport (resolved and sub-grid scale), photochemical |
---|
32 | !! transformations, and scavenging (dry deposition and washout) of chemical |
---|
33 | !! species and aerosols interactively in the GCM. Several versions of the INCA |
---|
34 | !! model are currently used depending on the envisaged applications with the |
---|
35 | !! chemistry-climate model. |
---|
36 | !! |
---|
37 | !! This software is governed by the CeCILL license under French law and |
---|
38 | !! abiding by the rules of distribution of free software. You can use, |
---|
39 | !! modify and/ or redistribute the software under the terms of the CeCILL |
---|
40 | !! license as circulated by CEA, CNRS and INRIA at the following URL |
---|
41 | !! "http://www.cecill.info". |
---|
42 | !! |
---|
43 | !! As a counterpart to the access to the source code and rights to copy, |
---|
44 | !! modify and redistribute granted by the license, users are provided only |
---|
45 | !! with a limited warranty and the software's author, the holder of the |
---|
46 | !! economic rights, and the successive licensors have only limited |
---|
47 | !! liability. |
---|
48 | !! |
---|
49 | !! In this respect, the user's attention is drawn to the risks associated |
---|
50 | !! with loading, using, modifying and/or developing or reproducing the |
---|
51 | !! software by the user in light of its specific status of free software, |
---|
52 | !! that may mean that it is complicated to manipulate, and that also |
---|
53 | !! therefore means that it is reserved for developers and experienced |
---|
54 | !! professionals having in-depth computer knowledge. Users are therefore |
---|
55 | !! encouraged to load and test the software's suitability as regards their |
---|
56 | !! requirements in conditions enabling the security of their systems and/or |
---|
57 | !! data to be ensured and, more generally, to use and operate it in the |
---|
58 | !! same conditions as regards security. |
---|
59 | !! |
---|
60 | !! The fact that you are presently reading this means that you have had |
---|
61 | !! knowledge of the CeCILL license and that you accept its terms. |
---|
62 | !! ========================================================================= |
---|
63 | |
---|
64 | subroutine DRYDEP( pmid, temp, mmr) |
---|
65 | !---------------------------------------------------------------------- |
---|
66 | ! ... Dry deposition flux |
---|
67 | ! Didier Hauglustaine and Stacy Walters, 2000. |
---|
68 | !---------------------------------------------------------------------- |
---|
69 | |
---|
70 | USE sflx, ONLY: dvel, dflux |
---|
71 | USE chem_cons, ONLY: boltz, uma |
---|
72 | USE species_names |
---|
73 | USE inca_dim |
---|
74 | USE CHEM_MODS, ONLY : adv_mass, dry_nh3, dry_hno3, dry_noy |
---|
75 | |
---|
76 | IMPLICIT NONE |
---|
77 | |
---|
78 | !---------------------------------------------------------------------- |
---|
79 | ! ... Dummy args |
---|
80 | !---------------------------------------------------------------------- |
---|
81 | REAL, INTENT(IN) :: pmid(PLON,PLEV) |
---|
82 | REAL, INTENT(IN) :: temp(PLON,PLEV) |
---|
83 | REAL, INTENT(IN) :: mmr(PLON,PLEV,8) |
---|
84 | |
---|
85 | !---------------------------------------------------------------------- |
---|
86 | ! ... Local variables |
---|
87 | !---------------------------------------------------------------------- |
---|
88 | INTEGER :: k |
---|
89 | REAL :: wrk(PLON) |
---|
90 | REAL :: drym = 28.966 |
---|
91 | REAL :: mn = 14. |
---|
92 | |
---|
93 | !----------------------------------------------------------------------- |
---|
94 | ! ... Note the factor 1.e-2 in the wrk array calculation is |
---|
95 | ! to transform the incoming dep vel from cm/s to m/s |
---|
96 | !----------------------------------------------------------------------- |
---|
97 | wrk(:) = 1.e-2 * pmid(:,1) / temp(:,1) / boltz * (drym*uma) |
---|
98 | |
---|
99 | DO k = 1, 8 |
---|
100 | |
---|
101 | dflux(:,k) = wrk(:) * dvel(:,k) * mmr(:,1,k) |
---|
102 | |
---|
103 | END DO |
---|
104 | |
---|
105 | |
---|
106 | end subroutine DRYDEP |
---|
107 | |
---|