Changeset 2743 for palm/trunk/SOURCE/data_output_2d.f90
- Timestamp:
- Jan 12, 2018 4:03:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_2d.f90
r2742 r2743 25 25 ! ----------------- 26 26 ! $Id$ 27 ! In case of natural- and urban-type surfaces output surfaces fluxes in W/m2. 28 ! 29 ! 2742 2018-01-12 14:59:47Z suehring 27 30 ! Enable output of surface temperature 28 31 ! … … 194 197 195 198 USE arrays_3d, & 196 ONLY: dzw, e, nc, nr, p, pt, precipitation_amount, precipitation_rate,& 199 ONLY: dzw, e, heatflux_output_conversion, nc, nr, p, pt, & 200 precipitation_amount, precipitation_rate, & 197 201 prr, q, qc, ql, ql_c, ql_v, ql_vp, qr, rho_ocean, s, sa, & 198 tend, u, v, vpt, w, zu, zw 202 tend, u, v, vpt, w, zu, zw, waterflux_output_conversion 199 203 200 204 USE averaging 201 205 202 206 USE cloud_parameters, & 203 ONLY: hyrho, l_d_cp, pt_d_t207 ONLY: cp, hyrho, l_d_cp, l_v, pt_d_t 204 208 205 209 USE control_parameters, & … … 809 813 CASE ( 'qsws*_xy' ) ! 2d-array 810 814 IF ( av == 0 ) THEN 815 ! 816 !-- In case of default surfaces, clean-up flux by density. 817 !-- In case of land- and urban-surfaces, convert fluxes into 818 !-- dynamic units 811 819 DO m = 1, surf_def_h(0)%ns 812 820 i = surf_def_h(0)%i(m) 813 821 j = surf_def_h(0)%j(m) 814 local_pf(i,j,nzb+1) = surf_def_h(0)%qsws(m) 822 k = surf_def_h(0)%k(m) 823 local_pf(i,j,nzb+1) = surf_def_h(0)%qsws(m) * & 824 waterflux_output_conversion(k) 815 825 ENDDO 816 826 DO m = 1, surf_lsm_h%ns 817 827 i = surf_lsm_h%i(m) 818 828 j = surf_lsm_h%j(m) 819 local_pf(i,j,nzb+1) = surf_lsm_h%qsws(m) 829 k = surf_lsm_h%k(m) 830 local_pf(i,j,nzb+1) = surf_lsm_h%qsws(m) * l_v 820 831 ENDDO 821 832 DO m = 1, surf_usm_h%ns 822 833 i = surf_usm_h%i(m) 823 834 j = surf_usm_h%j(m) 824 local_pf(i,j,nzb+1) = surf_usm_h%qsws(m) 835 k = surf_usm_h%k(m) 836 local_pf(i,j,nzb+1) = surf_usm_h%qsws(m) * l_v 825 837 ENDDO 826 838 ELSE … … 901 913 CASE ( 'shf*_xy' ) ! 2d-array 902 914 IF ( av == 0 ) THEN 915 ! 916 !-- In case of default surfaces, clean-up flux by density. 917 !-- In case of land- and urban-surfaces, convert fluxes into 918 !-- dynamic units. 903 919 DO m = 1, surf_def_h(0)%ns 904 920 i = surf_def_h(0)%i(m) 905 921 j = surf_def_h(0)%j(m) 906 local_pf(i,j,nzb+1) = surf_def_h(0)%shf(m) 922 k = surf_def_h(0)%k(m) 923 local_pf(i,j,nzb+1) = surf_def_h(0)%shf(m) * & 924 heatflux_output_conversion(k) 907 925 ENDDO 908 926 DO m = 1, surf_lsm_h%ns 909 927 i = surf_lsm_h%i(m) 910 928 j = surf_lsm_h%j(m) 911 local_pf(i,j,nzb+1) = surf_lsm_h%shf(m) 929 k = surf_lsm_h%k(m) 930 local_pf(i,j,nzb+1) = surf_lsm_h%shf(m) * cp 912 931 ENDDO 913 932 DO m = 1, surf_usm_h%ns 914 933 i = surf_usm_h%i(m) 915 934 j = surf_usm_h%j(m) 916 local_pf(i,j,nzb+1) = surf_usm_h%shf(m) 935 k = surf_usm_h%k(m) 936 local_pf(i,j,nzb+1) = surf_usm_h%shf(m) * cp 917 937 ENDDO 918 938 ELSE
Note: See TracChangeset
for help on using the changeset viewer.