[6610] | 1 | |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | !$Id: set_ub_col.F90 123 2009-03-27 10:38:52Z 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 | |
---|
| 65 | SUBROUTINE SET_UB_COL( & |
---|
| 66 | col_dens , & |
---|
| 67 | vmr , & |
---|
| 68 | invariants , & |
---|
| 69 | pdel ) |
---|
| 70 | !--------------------------------------------------------------- |
---|
| 71 | ! ... Set the column densities at the upper boundary |
---|
| 72 | ! Stacy Walters, NCAR, 1998. |
---|
| 73 | ! Modified by Didier Hauglustaine, IPSL, for LMDZ/INCA, 1999. |
---|
| 74 | !--------------------------------------------------------------- |
---|
| 75 | |
---|
| 76 | USE SPECIES_NAMES |
---|
| 77 | USE INCA_DIM |
---|
| 78 | USE PARAM_CHEM |
---|
| 79 | USE RATE_INDEX_MOD |
---|
| 80 | |
---|
| 81 | IMPLICIT NONE |
---|
| 82 | |
---|
| 83 | !--------------------------------------------------------------- |
---|
| 84 | ! ... Dummy args |
---|
| 85 | !--------------------------------------------------------------- |
---|
| 86 | REAL, INTENT(out) :: col_dens(PLON,PLEV,2) ! /cm**2 |
---|
| 87 | REAL, INTENT(in) :: vmr(PLON,PLEV,8) ! xported species vmr |
---|
| 88 | REAL, INTENT(in) :: pdel(PLON,PLEV) |
---|
| 89 | REAL, INTENT(in) :: invariants(PLON,PLEV,12) ! invariants density |
---|
| 90 | |
---|
| 91 | !--------------------------------------------------------------- |
---|
| 92 | ! NOTE: xfactor = 10.*R/(K*g) in cgs units. |
---|
| 93 | ! The factor 10. is to convert pdel |
---|
| 94 | ! from pascals to dyne/cm**2. |
---|
| 95 | !--------------------------------------------------------------- |
---|
| 96 | REAL, PARAMETER :: xfactor = 2.8704e21/(9.80616*1.38044) |
---|
| 97 | REAL, PARAMETER :: rma = 28./48. |
---|
| 98 | |
---|
| 99 | !--------------------------------------------------------------- |
---|
| 100 | ! ... Assign column density at the upper boundary |
---|
| 101 | ! Add the column at the stratopause based on Brasseur & Solomon |
---|
| 102 | ! The first column is O3 and the second is O2. |
---|
| 103 | !--------------------------------------------------------------- |
---|
| 104 | !Add tail at 80km. DH. |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | col_dens(:,PLEV,1) = xfactor * pdel(:PLON,PLEV) * (rma*invariants(:,PLEV,inv_O3)/invariants(:,PLEV,inv_M)) + 5.8e16 |
---|
| 108 | col_dens(:,PLEV,2) = xfactor * pdel(:PLON,PLEV) * .21e0 + 7.5e21 |
---|
| 109 | |
---|
| 110 | |
---|
| 111 | END SUBROUTINE SET_UB_COL |
---|