- Timestamp:
- Jul 26, 2018 5:12:48 PM (6 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_2d.f90
r3052 r3176 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Remove output of latent heat flux at urban-surfaces and set fill values 28 ! instead 29 ! 30 ! 3052 2018-05-31 06:11:20Z raasch 27 31 ! Do not open FORTRAN binary files in case of parallel netCDF I/O 28 32 ! … … 933 937 CASE ( 'qsws*_xy' ) ! 2d-array 934 938 IF ( av == 0 ) THEN 939 local_pf(:,:,nzb+1) = REAL( fill_value, KIND = wp ) 935 940 ! 936 941 !-- In case of default surfaces, clean-up flux by density. 937 !-- In case of land- and urban-surfaces, convert fluxes into942 !-- In case of land-surfaces, convert fluxes into 938 943 !-- dynamic units 939 944 DO m = 1, surf_def_h(0)%ns … … 949 954 k = surf_lsm_h%k(m) 950 955 local_pf(i,j,nzb+1) = surf_lsm_h%qsws(m) * l_v 951 ENDDO952 DO m = 1, surf_usm_h%ns953 i = surf_usm_h%i(m)954 j = surf_usm_h%j(m)955 k = surf_usm_h%k(m)956 local_pf(i,j,nzb+1) = surf_usm_h%qsws(m) * l_v957 956 ENDDO 958 957 ELSE -
palm/trunk/SOURCE/sum_up_3d_data.f90
r3173 r3176 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Remove output of latent heat flux at urban-surfaces and set fill values 28 ! instead 29 ! 30 ! 3173 2018-07-26 12:55:23Z suehring 27 31 ! Bugfix for last commit 28 32 ! … … 894 898 qsws_av(j,i) = qsws_av(j,i) + & 895 899 surf_lsm_h%qsws(m) * l_v 896 ELSEIF ( match_usm ) THEN897 m = surf_usm_h%end_index(j,i)898 qsws_av(j,i) = qsws_av(j,i) + &899 surf_usm_h%qsws(m) * l_v900 900 ENDIF 901 901 ENDDO -
palm/trunk/SOURCE/surface_mod.f90
r3152 r3176 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Bugfix in restarts for surface elements. 29 ! 30 ! 3152 2018-07-19 13:26:52Z suehring 28 31 ! q_surface added 29 32 ! … … 2690 2693 surf_h(l)%pt_surface(mm(l)) = surf_lsm_h%pt_surface(m) 2691 2694 IF ( ALLOCATED( surf_def_h(l)%q_surface ) ) & 2692 surf_h(l)%q_surface(mm(l)) = surf_ def_h(l)%q_surface(m)2695 surf_h(l)%q_surface(mm(l)) = surf_lsm_h%q_surface(m) 2693 2696 IF ( ALLOCATED( surf_def_h(l)%vpt_surface ) ) & 2694 surf_h(l)%vpt_surface(mm(l)) = surf_ def_h(l)%vpt_surface(m)2697 surf_h(l)%vpt_surface(mm(l)) = surf_lsm_h%vpt_surface(m) 2695 2698 IF ( ALLOCATED( surf_lsm_h%usws ) ) & 2696 2699 surf_h(0)%usws(mm(0)) = surf_lsm_h%usws(m) -
palm/trunk/SOURCE/time_integration.f90
r3159 r3176 1015 1015 IF (urban_surface) THEN 1016 1016 CALL cpu_log( log_point(74), 'urban_surface', 'start' ) 1017 1017 1018 CALL usm_surface_energy_balance 1018 1019 IF ( usm_material_model ) THEN -
palm/trunk/SOURCE/urban_surface_mod.f90
r3152 r3176 28 28 ! ----------------- 29 29 ! $Id$ 30 ! Bugfix, update virtual potential surface temparture, else heat fluxes on 31 ! roofs might become unphysical 32 ! 33 ! 3152 2018-07-19 13:26:52Z suehring 30 34 ! Initialize q_surface, which might be used in surface_layer_fluxes 31 35 ! … … 7438 7442 surf_usm_h%tt_surface_green_m(m) 7439 7443 ! 7440 !-- Store surface temperature 7444 !-- Store surface temperature on pt_surface. Further, in case humidity is used 7445 !-- store also vpt_surface, which is, due to the lack of moisture on roofs simply 7446 !-- assumed to be the surface temperature. 7441 7447 surf_usm_h%pt_surface(m) = ( surf_usm_h%frac(ind_veg_wall,m) * t_surf_h_p(m) & 7442 7448 + surf_usm_h%frac(ind_wat_win,m) * t_surf_window_h_p(m) & 7443 7449 + surf_usm_h%frac(ind_pav_green,m) * t_surf_green_h_p(m) ) & 7444 7450 / exn(k) 7451 7452 IF ( humidity ) surf_usm_h%vpt_surface(m) = & 7453 surf_usm_h%pt_surface(m) 7445 7454 7446 7455 !-- calculate true tendency … … 7637 7646 surf_usm_v(l)%tt_surface_green_m(m) 7638 7647 ! 7639 !-- Store surface temperature 7648 !-- Store surface temperature. Further, in case humidity is used 7649 !-- store also vpt_surface, which is, due to the lack of moisture on roofs simply 7650 !-- assumed to be the surface temperature. 7640 7651 surf_usm_v(l)%pt_surface(m) = ( surf_usm_v(l)%frac(ind_veg_wall,m) * t_surf_v_p(l)%t(m) & 7641 7652 + surf_usm_v(l)%frac(ind_wat_win,m) * t_surf_window_v_p(l)%t(m) & 7642 7653 + surf_usm_v(l)%frac(ind_pav_green,m) * t_surf_green_v_p(l)%t(m) ) & 7643 7654 / exn(k) 7655 7656 IF ( humidity ) surf_usm_v(l)%vpt_surface(m) = & 7657 surf_usm_v(l)%pt_surface(m) 7644 7658 7645 7659 !-- calculate true tendency
Note: See TracChangeset
for help on using the changeset viewer.