Changeset 576
- Timestamp:
- Mar 12, 2012, 3:06:51 PM (13 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r575 r576 1571 1571 sponge time scale doubles with every level, starting from top. 1572 1572 1573 == 12/03/12 == FL + EM 1574 >> update a coefficient in photochemistry.F and some cleanup in watercloud.F 1575 and physiq.F. 1576 -
trunk/LMDZ.MARS/libf/aeronomars/photochemistry.F
r408 r576 1462 1462 c jpl 2003 1463 1463 c 1464 a001(l) = 2.5 1464 c co2 efficiency as a third body (2.075) 1465 c from sehested et al., j. geophys. res., 100, 1995. 1466 c 1467 a001(l) = 2.075 1465 1468 $ *6.0e-34*(t(l)/300.)**(-2.4)*dens(l) 1466 1469 c -
trunk/LMDZ.MARS/libf/phymars/physiq.F
r575 r576 202 202 real rsedcloud(ngridmx,nlayermx) ! Cloud sedimentation radius 203 203 real rhocloud(ngridmx,nlayermx) ! Cloud density (kg.m-3) 204 REAL surfdust(ngridmx,nlayermx) ! dust surface area (m icron2/cm3, if photochemistry)205 REAL surfice(ngridmx,nlayermx) ! ice surface area (m icron2/cm3, if photochemistry)204 REAL surfdust(ngridmx,nlayermx) ! dust surface area (m2/m3, if photochemistry) 205 REAL surfice(ngridmx,nlayermx) ! ice surface area (m2/m3, if photochemistry) 206 206 207 207 c Variables used by the slope model … … 309 309 real rho(ngridmx,nlayermx) ! density 310 310 real vmr(ngridmx,nlayermx) ! volume mixing ratio 311 !real colden(ngridmx,nqmx) ! vertical column !FL311 real colden(ngridmx,nqmx) ! vertical column of tracers 312 312 REAL mtot(ngridmx) ! Total mass of water vapor (kg/m2) 313 313 REAL icetot(ngridmx) ! Total mass of water ice (kg/m2) … … 1602 1602 if (thermochem.or.photochem) then 1603 1603 do iq=1,nq 1604 if ((noms(iq).eq."o").or.(noms(iq).eq."co2").or. 1605 . (noms(iq).eq."co").or.(noms(iq).eq."n2").or. 1606 . (noms(iq).eq."h2").or. 1607 . (noms(iq).eq."o3")) then 1608 do l=1,nlayer 1609 do ig=1,ngrid 1610 vmr(ig,l)=zq(ig,l,iq)*mmean(ig,l)/mmol(iq) 1611 end do 1612 end do 1613 call wstats(ngrid,"vmr_"//trim(noms(iq)), 1614 . "Volume mixing ratio","mol/mol",3,vmr) 1615 endif 1616 ! do ig = 1,ngrid 1617 ! colden(ig,iq) = 0. !FL 1618 ! end do 1619 ! do l=1,nlayer !FL 1620 ! do ig=1,ngrid !FL 1621 ! colden(ig,iq) = colden(ig,iq) + zq(ig,l,iq) !FL 1622 ! $ *(pplev(ig,l)-pplev(ig,l+1)) !FL 1623 ! $ *6.022e22/(mmol(iq)*g) !FL 1624 ! end do !FL 1625 ! end do !FL 1626 ! call wstats(ngrid,"c_"//trim(noms(iq)), !FL 1627 ! $ "column","mol cm-2",2,colden(1,iq)) !FL 1628 end do 1604 if (noms(iq) .ne. "dust_mass" .and. 1605 $ noms(iq) .ne. "dust_number" .and. 1606 $ noms(iq) .ne. "ccn_mass" .and. 1607 $ noms(iq) .ne. "ccn_number") then 1608 do l=1,nlayer 1609 do ig=1,ngrid 1610 vmr(ig,l)=zq(ig,l,iq)*mmean(ig,l)/mmol(iq) 1611 end do 1612 end do 1613 call wstats(ngrid,"vmr_"//trim(noms(iq)), 1614 $ "Volume mixing ratio","mol/mol",3,vmr) 1615 if ((noms(iq).eq."o") .or. (noms(iq).eq."co2").or. 1616 $ (noms(iq).eq."o3")) then 1617 call writediagfi(ngrid,"vmr_"//trim(noms(iq)), 1618 $ "Volume mixing ratio","mol/mol",3,vmr) 1619 end if 1620 do ig = 1,ngrid 1621 colden(ig,iq) = 0. 1622 end do 1623 do l=1,nlayer 1624 do ig=1,ngrid 1625 colden(ig,iq) = colden(ig,iq) + zq(ig,l,iq) 1626 $ *(pplev(ig,l)-pplev(ig,l+1)) 1627 $ *6.022e22/(mmol(iq)*g) 1628 end do 1629 end do 1630 call wstats(ngrid,"c_"//trim(noms(iq)), 1631 $ "column","mol cm-2",2,colden(1,iq)) 1632 call writediagfi(ngrid,"c_"//trim(noms(iq)), 1633 $ "column","mol cm-2",2,colden(1,iq)) 1634 end if ! of if (noms(iq) .ne. "dust_mass" ...) 1635 end do ! of do iq=1,nq 1629 1636 end if ! of if (thermochem.or.photochem) 1630 1637 … … 1767 1774 call WRITEDIAGFI(ngrid,"co2col","CO2 column","kg.m-2",2, 1768 1775 & co2col) 1769 !!!!! FL1770 ! do iq = 1,nq1771 ! if (noms(iq) .ne. "dust_mass" .and.1772 ! $ noms(iq) .ne. "dust_number") then1773 ! call writediagfi(ngrid,"c_"//trim(noms(iq)),1774 ! $ "column","mol cm-2",2,colden(1,iq))1775 ! end if1776 ! end do1777 !!!!! FL1778 1776 endif ! of if (tracer.and.(igcm_co2.ne.0)) 1779 1777 -
trunk/LMDZ.MARS/libf/phymars/watercloud.F
r541 r576 441 441 c======================================================================= 442 442 443 !!!!!!!!!! FOR PHOTOCHEMISTRY, REIMPLEMENT output of surfdust/surfice444 !! if (photochem) then445 !!c computation of dust and ice surface area (micron2/cm3)446 !!c for heterogeneous chemistry447 !!448 !! do l = 1,nlay449 !! do ig = 1,ngrid450 !!c451 !!c npart: number density of ccn in #/cm3452 !!c453 !! npart(ig,l) = 1.e-6*ccn(ig,l)454 !! $ *masse(ig,l)/epaisseur(ig,l)455 !!c456 !!c dust and ice surface area457 !!c458 !! surfdust(ig,l) = npart(ig,l)*4.*pi*1.e12*rdust(ig,l)**2459 !!c460 !! if (rice(ig,l) .ge. rdust(ig,l)) then461 !! surfice(ig,l) = npart(ig,l)*4.*pi*1.e12*rice(ig,l)**2462 !! surfdust(ig,l) = 0.463 !! else464 !! surfice(ig,l) = 0.465 !! end if466 !! end do ! of do ig=1,ngrid467 !! end do ! of do l=1,nlay468 !! end if ! of photochem469 470 RETURN471 443 END 472 444
Note: See TracChangeset
for help on using the changeset viewer.