Changeset 1668 for trunk/LMDZ.TITAN/libf/phytitan
- Timestamp:
- Feb 17, 2017, 3:44:15 PM (8 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/phytitan
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/callkeys_mod.F90
r1648 r1668 45 45 !$OMP THREADPRIVATE(iddist,iaervar,iradia,startype) 46 46 47 real,save :: topdustref48 47 real,save :: Fat1AU 49 48 real,save :: stelTbb 50 !$OMP THREADPRIVATE( topdustref,Fat1AU,stelTbb)49 !$OMP THREADPRIVATE(Fat1AU,stelTbb) 51 50 real,save :: tplanet 52 51 real,save :: obs_tau_col_tropo -
trunk/LMDZ.TITAN/libf/phytitan/convadj.F
r1647 r1668 312 312 print*,'zh2(ig,:) = ',zh2(i,l) 313 313 end do 314 ! do l = 1, nlay 315 ! print*,'zq(ig,:,vap) = ',zq(i,l,igcm_h2o_vap) 316 ! end do 317 ! do l = 1, nlay 318 ! print*,'zq2(ig,:,vap) = ',zq2(i,l,igcm_h2o_vap) 319 ! end do 320 ! print*,'zqm(vap) = ',zqm(igcm_h2o_vap) 321 print*,'jadrs=',jadrs 314 print*,'jadrs=',jadrs 322 315 323 316 call abort -
trunk/LMDZ.TITAN/libf/phytitan/iniaerosol.F
r1647 r1668 11 11 c -------- 12 12 c Initialization related to aerosols 13 c (C O2 aerosols, dust, water, chemical species, ice...)13 c (Chemical species, ice...) 14 14 c 15 15 c author: Laura Kerber, S. Guerlet -
trunk/LMDZ.TITAN/libf/phytitan/initracer.F
r1647 r1668 8 8 c -------- 9 9 c Initialization related to tracer 10 c ( transported dust, water,chemical species, ice...)10 c (chemical species, ice...) 11 11 c 12 12 c Name of the tracer … … 38 38 c alpha_lift(nq) ! saltation vertical flux/horiz flux ratio (m-1) 39 39 c alpha_devil(nq) ! lifting coeeficient by dust devil 40 c doubleq ! if method with mass (iq=1) and number(iq=2) mixing ratio41 c varian ! Characteristic variance of log-normal distribution42 40 c----------------------------------------------------------------------- 43 41 … … 53 51 ALLOCATE(alpha_devil(nq)) 54 52 ALLOCATE(qextrhor(nq)) 55 ALLOCATE(igcm_dustbin(nq))56 53 !! initialization 57 54 alpha_lift(:)=0. … … 72 69 ! 0. initialize tracer indexes to zero: 73 70 ! NB: igcm_* indexes are commons in 'tracer.h' 74 igcm_co=075 igcm_o=076 igcm_o1d=077 igcm_o2=078 igcm_o3=079 igcm_h=080 igcm_h2=081 igcm_oh=082 igcm_ho2=083 igcm_h2o2=084 71 igcm_n2=0 85 igcm_ar=086 igcm_ar_n2=087 72 88 73 write(*,*) 'initracer: noms() ', noms 89 74 90 75 91 ! print*,'Setting dustbin = 0 in initracer.F'92 !dustbin=076 ! 1. find chemistry tracers 77 count = 0. 93 78 94 ! 1. find dust tracers 95 count=0 96 ! if (dustbin.gt.0) then 97 ! do iq=1,nq 98 ! txt=" " 99 ! write(txt,'(a4,i2.2)')'dust',count+1 100 ! if (noms(iq).eq.txt) then 101 ! count=count+1 102 ! igcm_dustbin(count)=iq 103 ! mmol(iq)=100. 104 ! endif 105 ! enddo !do iq=1,nq 106 ! endif ! of if (dustbin.gt.0) 107 108 109 ! if (doubleq) then 110 ! do iq=1,nq 111 ! if (noms(iq).eq."dust_mass") then 112 ! igcm_dust_mass=iq 113 ! count=count+1 114 ! endif 115 ! if (noms(iq).eq."dust_number") then 116 ! igcm_dust_number=iq 117 ! count=count+1 118 ! endif 119 ! enddo 120 ! endif ! of if (doubleq) 121 ! 2. find chemistry and water tracers 122 79 123 80 ! check that we identified all tracers: 124 81 if (count.ne.nq) then … … 150 107 write(*,*) 'alpha_devil = ', alpha_devil 151 108 write(*,*) 'radius = ', radius 152 ! if(doubleq) then 153 ! write(*,*) 'reff_lift (um) = ', reff_lift 154 ! write(*,*) 'size distribution variance = ', varian 155 ! write(*,*) 'r3n_q , ref_r0 : ', r3n_q , ref_r0 156 ! end if 109 157 110 write(*,*) 'Qext = ', qext 158 111 write(*,*) -
trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90
r1663 r1668 23 23 USE comgeomfi_h, only: totarea, totarea_planet 24 24 USE tracer_h, only: noms, mmol, radius, qext, & 25 alpha_lift, alpha_devil, qextrhor, & 26 igcm_dustbin 25 alpha_lift, alpha_devil, qextrhor 27 26 use time_phylmdz_mod, only: ecritphy, iphysiq, nday 28 27 use phyredem, only: physdem0, physdem1 … … 316 315 !$OMP THREADPRIVATE(ztprevious,zuprevious) 317 316 318 real reff(ngrid,nlayer) ! Effective dust radius (used if doubleq=T).319 317 real vmr(ngrid,nlayer) ! volume mixing ratio 320 318 real time_phys -
trunk/LMDZ.TITAN/libf/phytitan/tracer_h.F90
r1648 r1668 17 17 real, DIMENSION(:), ALLOCATABLE :: qextrhor ! Intermediate for computing opt. depth from q 18 18 19 real varian ! Characteristic variance of log-normal distribution 20 real r3n_q ! used to compute r0 from number and mass mixing ratio 21 real ref_r0 ! for computing reff=ref_r0*r0 (in log.n. distribution) 22 !$OMP THREADPRIVATE(noms,mmol,radius,rho_q,qext,alpha_lift,alpha_devil,qextrhor, & 23 !$OMP varian,r3n_q,ref_r0) 19 !$OMP THREADPRIVATE(noms,mmol,radius,rho_q,qext,alpha_lift,alpha_devil,qextrhor) 24 20 25 21 ! tracer indexes: these are initialized in initracer and should be 0 if the 26 22 ! corresponding tracer does not exist 27 ! dust28 integer, DIMENSION(:), ALLOCATABLE :: igcm_dustbin ! for dustbin 'dust' tracers29 ! dust, special doubleq case30 integer :: igcm_dust_mass ! dust mass mixing ratio (for transported dust)31 integer :: igcm_dust_number ! dust number mixing ratio (transported dust)32 23 ! chemistry: 33 integer :: igcm_co34 integer :: igcm_o35 integer :: igcm_o1d36 integer :: igcm_o237 integer :: igcm_o338 integer :: igcm_h39 integer :: igcm_h240 integer :: igcm_oh41 integer :: igcm_ho242 integer :: igcm_h2o243 24 integer :: igcm_n2 44 integer :: igcm_ar 45 ! other tracers 46 integer :: igcm_ar_n2 ! for simulations using co2 +neutral gaz 47 !$OMP THREADPRIVATE(igcm_dustbin,igcm_dust_mass,igcm_dust_number, & 48 !$OMP igcm_co,igcm_o,igcm_o1d,igcm_o2,igcm_o3,igcm_h,igcm_h2,igcm_oh, & 49 !$OMP igcm_ho2,igcm_h2o2,igcm_n2,igcm_ar,igcm_ar_n2) 25 !$OMP THREADPRIVATE(igcm_n2) 50 26 51 27 end module tracer_h -
trunk/LMDZ.TITAN/libf/phytitan/vdifc.F
r1647 r1668 97 97 ! variables added for CO2 condensation 98 98 ! ------------------------------------ 99 REAL hh !, zhcond(ngrid,nlay) 100 ! REAL latcond,tcond1mb 101 ! REAL acond,bcond 102 ! SAVE acond,bcond 103 !!$OMP THREADPRIVATE(acond,bcond) 104 ! DATA latcond,tcond1mb/5.9e5,136.27/ 99 REAL hh 105 100 106 101 ! Tracers … … 127 122 128 123 IF (firstcall) THEN 129 ! To compute: Tcond= 1./(bcond-acond*log(.0095*p)) (p in pascal)130 ! bcond=1./tcond1mb131 ! acond=r/latcond132 ! PRINT*,'In vdifc: Tcond(P=1mb)=',tcond1mb,' Lcond=',latcond133 ! PRINT*,' acond,bcond',acond,bcond134 135 124 firstcall=.false. 136 125 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.