[5246] | 1 | ! Subroutine that estimates the Deposition velocities and the depostion |
---|
| 2 | ! for the different tracers |
---|
| 3 | subroutine deposition(vdep_oce,vdep_sic,vdep_ter,vdep_lic,pctsrf, & |
---|
| 4 | zrho,zdz,pdtphys,RHcl,masse,t_seri,pplay, & |
---|
| 5 | paprs,lminmax,qmin,qmax, & |
---|
| 6 | his_ds,source_tr,tr_seri) |
---|
[2630] | 7 | |
---|
[5292] | 8 | USE chem_mod_h |
---|
| 9 | USE dimphy |
---|
[5337] | 10 | USE infotrac_phy, ONLY: nbtr |
---|
[5246] | 11 | USE indice_sol_mod |
---|
[2630] | 12 | |
---|
[5337] | 13 | !!USE paramet_mod_h |
---|
[5285] | 14 | USE yomcst_mod_h |
---|
[5271] | 15 | IMPLICIT NONE |
---|
[2630] | 16 | |
---|
[5271] | 17 | |
---|
[2630] | 18 | |
---|
[5272] | 19 | |
---|
[5274] | 20 | |
---|
[5246] | 21 | !----------------------------- INPUT ----------------------------------- |
---|
| 22 | LOGICAL :: lminmax |
---|
| 23 | REAL :: qmin, qmax |
---|
| 24 | REAL :: vdep_oce(nbtr), vdep_sic(nbtr) |
---|
| 25 | REAL :: vdep_ter(nbtr), vdep_lic(nbtr) |
---|
| 26 | REAL :: pctsrf(klon,nbsrf) |
---|
| 27 | REAL :: zrho(klon,klev) !Density of air at mid points of Z (kg/m3) |
---|
| 28 | REAL :: zdz(klon,klev) |
---|
| 29 | REAL :: pdtphys ! pas d'integration pour la physique (seconde) |
---|
| 30 | REAL :: RHcl(klon,klev) ! humidite relativen ciel clair |
---|
| 31 | REAL :: t_seri(klon,klev) ! temperature |
---|
| 32 | REAL :: pplay(klon,klev) ! pression pour le mileu de chaque couche (en Pa) |
---|
| 33 | REAL :: paprs(klon, klev+1) !pressure at interface of layers Z (Pa) |
---|
| 34 | REAL :: masse(nbtr) |
---|
[2630] | 35 | |
---|
[5246] | 36 | !----------------------------- OUTPUT ---------------------------------- |
---|
| 37 | REAL :: his_ds(klon,nbtr) |
---|
| 38 | REAL :: source_tr(klon,nbtr) |
---|
| 39 | REAL :: tr_seri(klon, klev,nbtr) !conc of tracers |
---|
| 40 | !--------------------- INTERNAL VARIABLES ------------------------------ |
---|
| 41 | INTEGER :: i, it |
---|
| 42 | REAL :: vdep !sed. velocity |
---|
| 43 | |
---|
| 44 | DO it=1, nbtr |
---|
| 45 | DO i=1, klon |
---|
| 46 | vdep=vdep_oce(it)*pctsrf(i,is_oce)+ & |
---|
| 47 | vdep_sic(it)*pctsrf(i,is_sic)+ & |
---|
| 48 | vdep_ter(it)*pctsrf(i,is_ter)+ & |
---|
| 49 | vdep_lic(it)*pctsrf(i,is_lic) |
---|
| 50 | !--Unit: molec/m2/s for it=1 to nbtr-3, mg/m2/s for it=nbtr-2 to nbtr |
---|
| 51 | source_tr(i,it)=source_tr(i,it) & |
---|
| 52 | -vdep*tr_seri(i,1,it)*zrho(i,1)/1.e2 |
---|
| 53 | his_ds(i,it)=vdep*tr_seri(i,1,it)*zrho(i,1)/1.e2 & |
---|
| 54 | /RNAVO*masse(it)*1.e3 ! mg/m2/s |
---|
| 55 | ENDDO |
---|
| 56 | ENDDO |
---|
| 57 | ! |
---|
| 58 | END SUBROUTINE deposition |
---|