Changeset 1346 for trunk/LMDZ.GENERIC
- Timestamp:
- Sep 10, 2014, 2:28:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r1329 r1346 833 833 834 834 ! Compute vertical velocity (m/s) from vertical mass flux 835 ! w = F / (rho*area) and rho = r*T/P835 ! w = F / (rho*area) and rho = P/(r*T) 836 836 ! but first linearly interpolate mass flux to mid-layers 837 837 do l=1,nlayer-1 … … 840 840 pw(1:ngrid,nlayer)=0.5*flxw(1:ngrid,nlayer) ! since flxw(nlayer+1)=0 841 841 do l=1,nlayer 842 pw(1:ngrid,l)=(pw(1:ngrid,l)* pplay(1:ngrid,l)) / &843 ( r*pt(1:ngrid,l)*area(1:ngrid))842 pw(1:ngrid,l)=(pw(1:ngrid,l)*r*pt(1:ngrid,l)) / & 843 (pplay(1:ngrid,l)*area(1:ngrid)) 844 844 enddo 845 845
Note: See TracChangeset
for help on using the changeset viewer.