Changeset 2701 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- Jun 21, 2022, 11:05:35 AM (2 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/condensation_generic_mod.F90
r2700 r2701 1 module largescale_generic_mod1 module condensation_generic_mod 2 2 implicit none 3 3 4 4 contains 5 5 6 subroutine largescale_generic(ngrid,nlayer,nq,ptimestep, pplev, pplay, &6 subroutine condensation_generic(ngrid,nlayer,nq,ptimestep, pplev, pplay, & 7 7 pt, pq, pdt, pdq, pdtlsc, pdqvaplsc, pdqliqlsc) 8 8 use ioipsl_getin_p_mod, only: getin_p !-> to get the metallicity 9 use generic common_h, only : RLVTT, cpp, &9 use generic_cloud_common_h, only : RLVTT, cpp, & 10 10 Psat_generic,Lcpdqsat_generic,specie_parameters 11 11 USE tracer_h … … 148 148 endif !(is_generic(iq)==1) .and. (index(noms(iq),"vap") .ne. 0)) 149 149 enddo ! iq=1,nq 150 ! print*, "pdqvaplsc = ",pdqvaplsc(:,:) 151 ! print*,"pdtlsc = ",pdtlsc(:,:) 152 end subroutine largescale_generic 153 end module largescale_generic_mod 150 151 end subroutine condensation_generic 152 end module condensation_generic_mod -
trunk/LMDZ.GENERIC/libf/phystd/evap_generic.F90
r2694 r2701 1 1 subroutine evap_generic(ngrid,nlayer,nq,dtime,pt,pq,pdq,pdt,igcm_generic_vap, & 2 2 igcm_generic_ice,dqevap,dtevap,qevap,tevap) 3 Use generic common_h3 Use generic_cloud_common_h 4 4 Use tracer_h 5 5 implicit none … … 38 38 39 39 ! Evaporate all the ice from the tracer 40 zlvdcp = RLVTT/cpp ! RLVTT is the latent heat of vaporization (comes from generic common_h attention)40 zlvdcp = RLVTT/cpp ! RLVTT is the latent heat of vaporization (comes from generic_cloud_common_h attention) 41 41 42 42 DO l=1,nlayer -
trunk/LMDZ.GENERIC/libf/phystd/generic_cloud_common_h.F90
r2700 r2701 1 module generic common_h1 module generic_cloud_common_h 2 2 use comcstfi_mod, only: r, cpp, mugaz 3 3 implicit none … … 155 155 end subroutine Lcpdqsat_generic 156 156 157 end module generic common_h157 end module generic_cloud_common_h -
trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90
r2700 r2701 71 71 use turb_mod, only : q2,sensibFlux,turb_resolved 72 72 use mass_redistribution_mod, only: mass_redistribution 73 use largescale_generic_mod, only: largescale_generic73 use condensation_generic_mod, only: condensation_generic 74 74 #ifndef MESOSCALE 75 75 use vertical_layers_mod, only: presnivs, pseudoalt … … 297 297 ! For Atmospheric Temperatures : (K/s) 298 298 real dtlscale(ngrid,nlayer) ! Largescale routine. 299 real dtlscale_generic(ngrid,nlayer) ! largescale_generic routine.299 real dtlscale_generic(ngrid,nlayer) ! condensation_generic routine. 300 300 real zdtc(ngrid,nlayer) ! Condense_co2 routine. 301 301 real zdtdif(ngrid,nlayer) ! Turbdiff/vdifc routines. … … 330 330 real dqvaplscale(ngrid,nlayer) ! Largescale routine. 331 331 real dqcldlscale(ngrid,nlayer) ! Largescale routine. 332 real dqvaplscale_generic(ngrid,nlayer,nq) ! largescale_generic routine.333 real dqcldlscale_generic(ngrid,nlayer,nq) ! largescale_generic routine.332 real dqvaplscale_generic(ngrid,nlayer,nq) !condensation_generic routine. 333 real dqcldlscale_generic(ngrid,nlayer,nq) !condensation_generic routine. 334 334 REAL,allocatable,save :: zdqchim(:,:,:) ! Calchim_asis routine 335 335 REAL,allocatable,save :: zdqschim(:,:) ! Calchim_asis routine … … 1547 1547 ! VI.3. Aerosol particles 1548 1548 ! ------------------------- 1549 ! Generic tracers condensation and evaporation 1550 ! do iq=1,nq 1551 ! !loop on tracers and check if is_generic and if "vap" in noms 1552 ! if((is_generic(iq)==1) .and. (index(noms(iq),"vap") .ne. 0)) then 1553 ! ! call to largescale_generic 1554 ! print*,"we're in the GENERIC condition" 1555 ! call largescale_generic(ngrid,nlayer,nq,ptimestep,pplev,pplay, & 1556 ! pt,pq,pdt,pdq,noms(iq),dtlscale_generic, & 1557 ! dqvaplscale_generic,dqcldlscale_generic) 1558 ! pdt(1:ngrid,1:nlayer) = pdt(1:ngrid,1:nlayer)+dtlscale_generic(1:ngrid,1:nlayer) 1559 ! pdq(1:ngrid,1:nlayer,iq) = pdq(1:ngrid,1:nlayer,iq)+dqvaplscale_generic(1:ngrid,1:nlayer) 1560 ! pdq(1:ngrid,1:nlayer,iq+1) = pdq(1:ngrid,1:nlayer,iq+1)+dqcldlscale_generic(1:ngrid,1:nlayer) 1561 ! !!!!huge assumption in the last line : ice tracer has index +1 of vap tracer 1562 ! endif ! (is_generic(iq)==1 .and. (index(noms(iq),"vap") .ne. 0)) 1563 ! enddo ! iq=1,nq 1549 1564 1550 !Generic Condensation 1565 1551 if (generic_condensation) then 1566 call largescale_generic(ngrid,nlayer,nq,ptimestep,pplev,pplay, &1552 call condensation_generic(ngrid,nlayer,nq,ptimestep,pplev,pplay, & 1567 1553 pt,pq,pdt,pdq,dtlscale_generic, & 1568 1554 dqvaplscale_generic,dqcldlscale_generic)
Note: See TracChangeset
for help on using the changeset viewer.