Changeset 185 for trunk/LMDZ.MARS/libf/phymars/physiq.F
- Timestamp:
- Jul 1, 2011, 5:22:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq.F
r173 r185 206 206 207 207 CHARACTER*80 fichier 208 INTEGER l,ig,ierr,igout,iq,i, tapphys 208 INTEGER l,ig,ierr,igout,iq,i, tapphys,k 209 LOGICAL end_of_file 209 210 210 211 REAL fluxsurf_lw(ngridmx) !incident LW (IR) surface flux (W.m-2) … … 302 303 c Variables from thermal 303 304 304 REAL lmax_th_out(ngrid )305 REAL wmax_th(ngrid ),hfmax_th(ngrid)306 REAL pdu_th(ngrid,nlayer),pdv_th(ngrid,nlayer)307 REAL pd t_th(ngrid,nlayer),pdq_th(ngrid,nlayer,nq)308 INTEGER lmax_th(ngrid)309 REAL dtke_th(ngrid,nlayer+1)310 REAL d ummycol(ngrid)311 REAL hfx(ngrid)305 REAL lmax_th_out(ngridmx),zmax_th(ngridmx) 306 REAL wmax_th(ngridmx) 307 REAL ,SAVE :: hfmax_th(ngridmx) 308 REAL pdu_th(ngridmx,nlayermx),pdv_th(ngridmx,nlayermx) 309 REAL pdt_th(ngridmx,nlayermx),pdq_th(ngridmx,nlayermx,nqmx) 310 INTEGER lmax_th(ngridmx) 311 REAL dtke_th(ngridmx,nlayermx+1) 312 REAL dummycol(ngridmx) 312 313 313 314 c======================================================================= … … 562 563 ENDIF 563 564 564 565 566 565 ENDIF ! of if(mod(icount-1,iradia).eq.0) 567 566 … … 578 577 fluxrad(ig)=fluxrad_sky(ig)-zplanck(ig) 579 578 ENDDO 580 581 579 582 580 DO l=1,nlayer … … 624 622 enddo 625 623 enddo 626 624 627 625 c Calling vdif (Martian version WITH CO2 condensation) 628 626 CALL vdifc(ngrid,nlayer,nq,co2ice,zpopsk, … … 634 632 & zdqdif,zdqsdif) 635 633 636 hfx(:) = zflubid(:)-capcal(:)*zdtsdif(:)637 638 634 DO l=1,nlayer 639 635 DO ig=1,ngrid … … 647 643 ENDDO 648 644 649 DO ig=1,ngrid650 zdtsurf(ig)=zdtsurf(ig)+zdtsdif(ig)651 ENDDO645 DO ig=1,ngrid 646 zdtsurf(ig)=zdtsurf(ig)+zdtsdif(ig) 647 ENDDO 652 648 653 649 if (tracer) then … … 680 676 if(calltherm) then 681 677 682 call calltherm_interface( ngrid,nlayer,firstcall,678 call calltherm_interface(firstcall, 683 679 $ long,lati,zzlev,zzlay, 684 680 $ ptimestep,pu,pv,pt,pq,pdu,pdv,pdt,pdq,q2, 685 $ pplay,pplev,pphi,nq,zpopsk, 686 $ pdu_th,pdv_th,pdt_th,pdq_th,lmax_th,dtke_th,hfmax_th,wmax_th) 681 $ pplay,pplev,pphi,zpopsk, 682 $ pdu_th,pdv_th,pdt_th,pdq_th,lmax_th,zmax_th, 683 $ dtke_th,hfmax_th,wmax_th) 687 684 688 685 DO l=1,nlayer … … 767 764 $ co2ice,albedo,emis, 768 765 $ zdtc,zdtsurfc,pdpsrf,zduc,zdvc,zdqc, 769 $ 766 $ fluxsurf_sw,zls) 770 767 771 768 DO l=1,nlayer … … 1482 1479 lmax_th_out(:)=real(lmax_th(:)) 1483 1480 1484 call WRITEDIAGFI(ngridmx,'hfx',1485 & 'sensible heat flux','W.m-2',1486 & 2,hfx)1487 1488 1481 call WRITEDIAGFI(ngridmx,'lmax_th', 1489 1482 & 'hauteur du thermique','K', … … 1534 1527 ! THERMALS STUFF 1D 1535 1528 1536 call WRITEDIAGFI(ngridmx,'hfx',1537 & 'sensible heat flux','W.m-2',1538 & 0,hfx)1539 1529 if(calltherm) then 1540 1530 … … 1580 1570 & tsurf) 1581 1571 1582 call WRITEDIAGFI(ngrid,"fluxsurf_sw",1583 & "Solar radiative flux to surface","W.m-2",0,1584 & fluxsurf_sw_tot)1585 1586 1572 call WRITEDIAGFI(ngrid,"pplay","Pressure","Pa",1,zplay) 1587 1573 call WRITEDIAGFI(ngrid,"pplev","Pressure","Pa",1,zplev)
Note: See TracChangeset
for help on using the changeset viewer.