Changeset 358 for trunk/LMDZ.MARS/libf/phymars/initracer.F
- Timestamp:
- Nov 7, 2011, 6:39:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/initracer.F
r324 r358 213 213 igcm_dust_mass=0 214 214 igcm_dust_number=0 215 igcm_ccn_mass=0 216 igcm_ccn_number=0 215 217 igcm_dust_submicron=0 216 218 igcm_h2o_vap=0 … … 271 273 enddo 272 274 endif ! of if (doubleq) 275 if (scavenging) then 276 do iq=1,nqmx 277 if (noms(iq).eq."ccn_mass") then 278 igcm_ccn_mass=iq 279 count=count+1 280 endif 281 if (noms(iq).eq."ccn_number") then 282 igcm_ccn_number=iq 283 count=count+1 284 endif 285 enddo 286 endif ! of if (scavenging) 273 287 if (submicron) then 274 288 do iq=1,nqmx … … 481 495 rho_ice=920. ! Water ice density (kg.m-3) 482 496 nuice_ref=0.1 ! Effective variance nueff of the 483 ! water-ice size distributions 497 ! water-ice size distribution 498 nuice_sed=0.45 ! Sedimentation effective variance 499 ! of the water-ice size distribution 484 500 485 501 if (doubleq) then … … 530 546 write(*,*) "initracer: doubleq_param alpha_lift:", 531 547 & alpha_lift(igcm_dust_mass) 532 533 548 else 534 549 … … 549 564 endif 550 565 end if ! (doubleq) 566 567 568 c Scavenging of dust particles by H2O clouds: 569 c ------------------------------------------ 570 c Initialize the two tracers used for the CCNs 571 if (water.AND.doubleq.AND.scavenging) then 572 radius(igcm_ccn_mass) = radius(igcm_dust_mass) 573 alpha_lift(igcm_ccn_mass) = 1e-30 574 alpha_devil(igcm_ccn_mass) = 1e-30 575 rho_q(igcm_ccn_mass) = rho_dust 576 577 radius(igcm_ccn_number) = radius(igcm_ccn_mass) 578 alpha_lift(igcm_ccn_number) = alpha_lift(igcm_ccn_mass) 579 alpha_devil(igcm_ccn_number) = alpha_devil(igcm_ccn_mass) 580 rho_q(igcm_ccn_number) = rho_q(igcm_ccn_mass) 581 endif ! of if (water.AND.doubleq.AND.scavenging) 551 582 552 583 c Submicron dust mode: … … 670 701 endif 671 702 703 if (scavenging) then 704 ! verify that we indeed have ccn_mass and ccn_number tracers 705 if (igcm_ccn_mass.eq.0) then 706 write(*,*) "initracer: error !!" 707 write(*,*) " cannot use scavenging option without ", 708 & "a ccn_mass tracer !" 709 stop 710 endif 711 if (igcm_ccn_number.eq.0) then 712 write(*,*) "initracer: error !!" 713 write(*,*) " cannot use scavenging option without ", 714 & "a ccn_number tracer !" 715 stop 716 endif 717 endif ! of if (scavenging) 718 672 719 if (photochem .or. callthermos) then 673 720 ! verify that we indeed have the chemistry tracers
Note: See TracChangeset
for help on using the changeset viewer.