Changeset 1877 for trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90
- Timestamp:
- Dec 21, 2017, 11:29:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90
r1875 r1877 236 236 real zh(ngrid,nlayer) ! Potential temperature (K). 237 237 real pw(ngrid,nlayer) ! Vertical velocity (m/s). (NOTE : >0 WHEN DOWNWARDS !!) 238 real omega(ngrid,nlayer) ! omega velocity (Pa/s, >0 when downward) 238 239 239 240 integer l,ig,ierr,iq,nw,isoil … … 757 758 (pplay(1:ngrid,l)*cell_area(1:ngrid)) 758 759 enddo 760 ! omega in Pa/s 761 do l=1,nlayer-1 762 omega(1:ngrid,l)=0.5*(flxw(1:ngrid,l)+flxw(1:ngrid,l+1)) 763 enddo 764 omega(1:ngrid,nlayer)=0.5*flxw(1:ngrid,nlayer) ! since flxw(nlayer+1)=0 765 do l=1,nlayer 766 omega(1:ngrid,l)=g*omega(1:ngrid,l)/cell_area(1:ngrid) 767 enddo 759 768 760 769 ! ---------------------------------------------------------------- … … 2172 2181 CALL send_xios_field("u",zu) 2173 2182 CALL send_xios_field("v",zv) 2183 CALL send_xios_field("omega",omega) 2184 2185 CALL send_xios_field("ISR",fluxtop_dn) 2186 CALL send_xios_field("OLR",fluxtop_lw) 2174 2187 2175 2188 if (lastcall.and.is_omp_master) then
Note: See TracChangeset
for help on using the changeset viewer.