- Timestamp:
- Dec 16, 2019, 8:55:01 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/libf/phyvenus/cloudvenus/new_cloud_sedim.F
r1687 r2200 1 SUBROUTINE new_cloud_sedim(n_lon,n_lev,ptimestep,2 & pmidlay,pbndlay,3 & pt,4 & pq, pdqsed,pdqs_sed,nq,F_sed)1 subroutine new_cloud_sedim(n_lon, n_lev, ptimestep, 2 $ pmidlay, pbndlay, pt, pq, 3 $ d_tr_chem, pdqsed, pdqs_sed, 4 $ nq, F_sed) 5 5 6 6 USE ioipsl … … 8 8 USE chemparam_mod 9 9 IMPLICIT NONE 10 11 c=======================================================================12 c13 c=======================================================================14 10 15 11 c----------------------------------------------------------------------- … … 21 17 c#include "tracer.h" 22 18 c#include "callkeys.h" 23 24 19 c 25 20 c arguments: … … 36 31 integer nq ! number of tracers 37 32 real pq(n_lon,n_lev,nq) ! tracers (kg/kg) 38 c real pdqfi(n_lon,n_lev,nq) ! tendency before sedimentation (kg/kg.s-1)39 33 real pdqsed(n_lon,n_lev,2) ! tendency due to sedimentation (kg/kg) 34 real d_tr_chem(n_lon,n_lev,nq)! tendency due to chemistry and clouds (kg/kg) 40 35 real pdqs_sed(n_lon) ! surface density (Flux if /ptimestep) at surface due to sedimentation (kg.m-2) 41 36 … … 73 68 REAL, PARAMETER :: rho_core = 2500.0 74 69 75 REAL, DIMENSION(n_lon,n_lev+1) :: 76 + wgt_SA ! Fraction of H2SO4 in droplet local 70 REAL, DIMENSION(n_lon,n_lev+1) :: wgt_SA ! Fraction of H2SO4 in droplet local 77 71 78 72 c Stokes speed and sedimentation flux variable … … 87 81 + F_sed ! Flux de sedimentation (kg.m-2.s-1 puis en output kg.m-2) 88 82 89 90 83 REAL :: R_mode0 ! Rayon mode 0 (m), rayon le plus frequent 91 92 93 84 94 85 ! PRINT*,'RHO_DROPLET new_cloud_sedim.F' … … 100 91 c ----------------- 101 92 102 c Updating the droplet mass mixing ratio with the partition H2O/H2SO4 103 c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 105 do l=1,n_lev 106 do ig=1,n_lon 107 zqi_wv(ig,l) = pq(ig,l,i_h2oliq) 108 zqi_sa(ig,l) = pq(ig,l,i_h2so4liq) 109 wgt_SA(ig,l) = WH2SO4(ig,l) 110 enddo 111 enddo 93 ! Updating the droplet mass mixing ratio with the partition H2O/H2SO4 94 95 zqi_wv(:,:) = pq(:,:,i_h2oliq) + d_tr_chem(:,:,i_h2oliq)*ptimestep 96 zqi_sa(:,:) = pq(:,:,i_h2so4liq) 97 $ + d_tr_chem(:,:,i_h2so4liq)*ptimestep 98 wgt_SA(:,:) = wh2so4(:,:) 112 99 113 100 c Init F_sed
Note: See TracChangeset
for help on using the changeset viewer.