Changeset 1697 for palm/trunk
- Timestamp:
- Oct 28, 2015 5:14:10 PM (9 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/header.f90
r1692 r1697 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! small E- and F-FORMAT changes to avoid informative compiler messages about 22 ! insufficient field width 22 23 ! 23 24 ! Former revisions: … … 853 854 854 855 !-- Building output strings, starting with surface value 855 WRITE ( leaf_area_density, '(F 6.4)' ) lad_surface856 WRITE ( leaf_area_density, '(F7.4)' ) lad_surface 856 857 gradients = '------' 857 858 slices = ' 0' … … 880 881 ELSE 881 882 882 WRITE ( leaf_area_density, '(F 6.4)' ) lad_surface883 WRITE ( leaf_area_density, '(F7.4)' ) lad_surface 883 884 coordinates = ' 0.0' 884 885 … … 1925 1926 111 FORMAT (' --> Solve perturbation pressure via FFT using ',A,' routines') 1926 1927 112 FORMAT (' --> Solve perturbation pressure via SOR-Red/Black-Schema'/ & 1927 ' Iterations (initial/other): ',I3,'/',I3,' omega = ',F5.3)1928 ' Iterations (initial/other): ',I3,'/',I3,' omega =',F6.3) 1928 1929 113 FORMAT (' --> Momentum advection via Piascek-Williams-Scheme (Form C3)', & 1929 1930 ' or Upstream') … … 1938 1939 122 FORMAT (' --> Time differencing scheme: ',A) 1939 1940 123 FORMAT (' --> Rayleigh-Damping active, starts ',A,' z = ',F8.2,' m'/ & 1940 ' maximum damping coefficient: ',F5.3, ' 1/s')1941 ' maximum damping coefficient:',F6.3, ' 1/s') 1941 1942 129 FORMAT (' --> Additional prognostic equation for the specific humidity') 1942 1943 130 FORMAT (' --> Additional prognostic equation for the total water content') … … 1993 1994 ' ----------------------------------'/) 1994 1995 201 FORMAT ( ' Timestep: variable maximum value: ',F6.3,' s', & 1995 ' CFL-factor: ',F4.2)1996 ' CFL-factor:',F5.2) 1996 1997 202 FORMAT ( ' Timestep: dt = ',F6.3,' s'/) 1997 1998 203 FORMAT ( ' Start time: ',F9.3,' s'/ & … … 2012 2013 ' m z(u) = ',F10.3,' m'/) 2013 2014 252 FORMAT (' dz constant up to ',F10.3,' m (k=',I4,'), then stretched by', & 2014 ' factor: ',F5.3/ &2015 ' factor:',F6.3/ & 2015 2016 ' maximum dz not to be exceeded is dz_max = ',F10.3,' m'/) 2016 2017 254 FORMAT (' Number of gridpoints (x,y,z): (0:',I4,', 0:',I4,', 0:',I4,')'/ & … … 2066 2067 305 FORMAT (//' Prandtl-Layer between bottom surface and first ', & 2067 2068 'computational u,v-level:'// & 2068 ' zp = ',F6.2,' m z0 = ',F6.4,' m z0h = ',F7.5,&2069 ' m kappa = ',F4.2/ &2070 ' Rif value range: ',F 6.2,' <= rif <=',F6.2)2069 ' zp = ',F6.2,' m z0 =',F7.4,' m z0h =',F8.5,& 2070 ' m kappa =',F5.2/ & 2071 ' Rif value range: ',F8.2,' <= rif <=',F6.2) 2071 2072 306 FORMAT (' Predefined constant heatflux: ',F9.6,' K m/s') 2072 2073 307 FORMAT (' Heatflux has a random normal distribution') … … 2087 2088 318 FORMAT (/' use_cmax: ',L1 / & 2088 2089 ' pt damping layer width = ',F8.2,' m, pt ', & 2089 'damping factor = ',F6.4)2090 'damping factor =',F7.4) 2090 2091 319 FORMAT (' turbulence recycling at inflow switched on'/ & 2091 2092 ' width of recycling domain: ',F7.1,' m grid index: ',I4/ & … … 2203 2204 ' -------------------'/) 2204 2205 410 FORMAT (' Geograph. latitude : phi = ',F4.1,' degr'/ & 2205 ' Angular velocity : omega = ',E9.3,' rad/s'/ &2206 ' Angular velocity : omega =',E10.3,' rad/s'/ & 2206 2207 ' Coriolis parameter : f = ',F9.6,' 1/s'/ & 2207 2208 ' f* = ',F9.6,' 1/s') … … 2214 2215 416 FORMAT (' Surface pressure : p_0 = ',F7.2,' hPa'/ & 2215 2216 ' Gas constant : R = ',F5.1,' J/(kg K)'/ & 2216 ' Density of air : rho_0 = ',F5.3,' kg/m**3'/ &2217 ' Density of air : rho_0 =',F6.3,' kg/m**3'/ & 2217 2218 ' Specific heat cap. : c_p = ',F6.1,' J/(kg K)'/ & 2218 ' Vapourization heat : L_v = ',E8.2,' J/kg')2219 ' Vapourization heat : L_v =',E9.2,' J/kg') 2219 2220 417 FORMAT (' Geograph. longitude : lambda = ',F4.1,' degr') 2220 2221 418 FORMAT (/' Day of the year at model start : day_init = ',I3 & … … 2298 2299 ' default)') 2299 2300 447 FORMAT (' --> RRTMG scheme is used') 2300 448 FORMAT (/' User-specific surface albedo: albedo = ', F5.3)2301 448 FORMAT (/' User-specific surface albedo: albedo =', F6.3) 2301 2302 449 FORMAT (' Timestep: dt_radiation = ', F5.2, ' s') 2302 2303 … … 2305 2306 451 FORMAT (' Diffusion coefficients are constant:'/ & 2306 2307 ' Km = ',F6.2,' m**2/s Kh = ',F6.2,' m**2/s Pr = ',F5.2) 2307 453 FORMAT (' Mixing length is limited to ',F4.2,' * z')2308 453 FORMAT (' Mixing length is limited to',F5.2,' * z') 2308 2309 454 FORMAT (' TKE is not allowed to fall below ',E9.2,' (m/s)**2') 2309 2310 455 FORMAT (' initial TKE is prescribed as ',E9.2,' (m/s)**2') … … 2315 2316 ' -----------------------------'/) 2316 2317 471 FORMAT (' Disturbance impulse (u,v) every : ',F6.2,' s'/ & 2317 ' Disturbance amplitude : ',F4.2, ' m/s'/ &2318 ' Disturbance amplitude : ',F5.2, ' m/s'/ & 2318 2319 ' Lower disturbance level : ',F8.2,' m (GP ',I4,')'/ & 2319 2320 ' Upper disturbance level : ',F8.2,' m (GP ',I4,')') … … 2321 2322 ' to i/j =',I4) 2322 2323 473 FORMAT (' Disturbances cease as soon as the disturbance energy exceeds',& 2323 1X,F5.3, ' m**2/s**2')2324 F6.3, ' m**2/s**2') 2324 2325 474 FORMAT (' Random number generator used : ',A/) 2325 2326 475 FORMAT (' The surface temperature is increased (or decreased, ', & … … 2354 2355 487 FORMAT (' Number of particle groups: ',I2/) 2355 2356 488 FORMAT (' SGS velocity components are used for particle advection'/ & 2356 ' minimum timestep for advection: ', F7.5/)2357 ' minimum timestep for advection:', F8.5/) 2357 2358 489 FORMAT (' Number of particles simultaneously released at each ', & 2358 2359 'point: ', I5/) … … 2360 2361 ' Particle radius: ',E10.3, 'm') 2361 2362 491 FORMAT (' Particle inertia is activated'/ & 2362 ' density_ratio (rho_fluid/rho_particle) = ',F5.3/)2363 ' density_ratio (rho_fluid/rho_particle) =',F6.3/) 2363 2364 492 FORMAT (' Particles are advected only passively (no inertia)'/) 2364 2365 493 FORMAT (' Boundaries of particle source: x:',F8.1,' - ',F8.1,' m'/& … … 2389 2390 510 FORMAT (' Droplet density : N_c = ',F6.1,' 1/cm**3') 2390 2391 511 FORMAT (' Sedimentation Courant number: '/& 2391 ' C_s = ',F3.1,' ')2392 ' C_s =',F4.1,' ') 2392 2393 512 FORMAT (/' Date: ',A8,6X,'Run: ',A20/ & 2393 2394 ' Time: ',A8,6X,'Run-No.: ',I2.2/ & -
palm/trunk/SOURCE/init_1d_model.f90
r1692 r1697 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! small E- and F-FORMAT changes to avoid informative compiler messages about 22 ! insufficient field width 22 23 ! 23 24 ! Former revisions: … … 831 832 &'ITER. HH:MM:SS DT UMAX VMAX U* ALPHA ENERG.'/ & 832 833 &'-------------------------------------------------------------') 833 101 FORMAT (I5,2X,A9,1X,F6.2,2X,F6.2,1X,F6.2, 2X,F5.3,2X,F5.1,2X,F7.2)834 101 FORMAT (I5,2X,A9,1X,F6.2,2X,F6.2,1X,F6.2,1X,F6.3,2X,F5.1,2X,F7.2) 834 835 835 836 -
palm/trunk/SOURCE/land_surface_model.f90
r1696 r1697 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! bugfix: misplaced cpp-directive 22 22 ! 23 23 ! Former revisions: … … 1374 1374 ENDDO 1375 1375 1376 #if defined( __parallel )1377 1376 ! 1378 1377 !-- Make a logical OR for all processes. Force radiation call if at 1379 1378 !-- least one processor 1380 IF ( intermediate_timestep_count == intermediate_timestep_count_max-1 ) &1379 IF ( intermediate_timestep_count == intermediate_timestep_count_max-1 ) & 1381 1380 THEN 1382 1381 #if defined( __parallel ) 1383 1382 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 1384 1383 CALL MPI_ALLREDUCE( force_radiation_call_l, force_radiation_call, & -
palm/trunk/SOURCE/print_1d.f90
r1683 r1697 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! small E- and F-FORMAT changes to avoid informative compiler messages about 22 ! insufficient field width 22 23 ! 23 24 ! Former revisions: … … 175 176 112 FORMAT (/) 176 177 120 FORMAT (' k zu u du v dv pt dpt ', & 177 ' e Km Kh l zu k')178 ' e Km Kh l zu k') 178 179 121 FORMAT (1X,I4,1X,F7.1,1X,F6.2,1X,F5.2,1X,F6.2,1X,F5.2,2X,F6.2,1X,F5.2, & 179 1X,F 6.4,1X,F5.2,1X,F5.2,1X,F6.2,1X,F7.1,2X,I4)180 130 FORMAT (' k zw w''pt'' wpt w''u'' wu ',&181 ' w''v''wv zw k')182 131 FORMAT (1X,I4,1X,F7.1,6(1X,E 9.3),1X,F7.1,2X,I4)180 1X,F7.4,1X,F5.2,1X,F5.2,1X,F6.2,1X,F7.1,2X,I4) 181 130 FORMAT (' k zw w''pt'' wpt w''u'' wu ',& 182 ' w''v'' wv zw k') 183 131 FORMAT (1X,I4,1X,F7.1,6(1X,E10.3),1X,F7.1,2X,I4) 183 184 184 185 -
palm/trunk/SOURCE/run_control.f90
r1683 r1697 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! small E- and F-FORMAT changes to avoid informative compiler messages about 22 ! insufficient field width 22 23 ! 23 24 ! Former revisions: … … 119 120 ENDIF 120 121 WRITE ( 15, 101 ) runnr, current_timestep_number, simulated_time_chr, & 121 simulated_time-INT( simulated_time ), dt_3d,&122 timestep_reason, u_max, disturb_chr,&122 INT( ( simulated_time-INT( simulated_time ) ) * 100),& 123 dt_3d, timestep_reason, u_max, disturb_chr, & 123 124 v_max, disturb_chr, w_max, hom(nzb,1,pr_palm,0), & 124 125 hom(nzb+8,1,pr_palm,0), hom(nzb+3,1,pr_palm,0), & … … 153 154 &'----------------------------------------------------------------', & 154 155 &'---------') 155 101 FORMAT (I3,1X,I6,1X,A8, F3.2,1X,F8.4,A1,1X,F8.4,A1,F8.4,A1,F8.4,2X,F5.3,2X,&156 F 4.2, &156 101 FORMAT (I3,1X,I6,1X,A8,'.',I2.2,1X,F8.4,A1,1X,F8.4,A1,F8.4,A1,F8.4,1X, & 157 F6.3,1X,F5.2, & 157 158 2X,E10.3,2X,F6.0,1X,4(E10.3,1X),3(3(I4),1X),F8.3,1X,F8.3,5X,I3) 158 159 -
palm/trunk/SOURCE/surface_layer_fluxes.f90
- Property svn:keywords set to Id
r1692 r1697 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! FORTRAN and OpenMP errors removed 22 22 ! 23 23 ! Former revisions: … … 25 25 ! $Id$ 26 26 ! 27 ! 27 ! 1696 2015-10-27 10:03:34Z maronga 28 28 ! Modularized and completely re-written version of prandtl_fluxes.f90. In the 29 29 ! course of the re-writing two additional methods have been implemented. See … … 90 90 !> that this method cannot be used in case of roughness heterogeneity 91 91 !> 92 !> @todo limiting of uv_total might be required i ssome cases92 !> @todo limiting of uv_total might be required in some cases 93 93 !> @todo (re)move large_scale_forcing actions 94 94 !> @todo check/optimize OpenMP and OpenACC directives … … 387 387 l !< look index 388 388 389 REAL(wp), DIMENSION(nysg:nyng,nxlg:nxrg) :: rib 389 REAL(wp), DIMENSION(nysg:nyng,nxlg:nxrg) :: rib !< Bulk Richardson number 390 390 391 391 REAL(wp) :: f, & !< Function for Newton iteration: f = Ri - [...]/[...]^2 = 0 … … 394 394 ol_m, & !< Previous value of L for Newton iteration 395 395 ol_old, & !< Previous time step value of L 396 ol_u, & !< Upper bound of L for Newton iteration 397 rib !< Bulk Richardson number 396 ol_u !< Upper bound of L for Newton iteration 398 397 399 398 ! … … 686 685 IMPLICIT NONE 687 686 687 !$OMP PARALLEL DO PRIVATE( k, z_mo ) 688 !$acc kernels loop 688 689 DO i = nxlg, nxrg 689 690 DO j = nysg, nyng … … 694 695 ! 695 696 !-- Compute u* at the scalars' grid points 696 !$OMP PARALLEL DO PRIVATE( a, b, k, uv_total, z_mo )697 !$acc kernels loop698 697 us(j,i) = kappa * uv_total(j,i) / ( LOG( z_mo / z0(j,i) ) & 699 698 - psi_m( z_mo / ol(j,i) ) & … … 764 763 ENDIF 765 764 766 !$OMP PARALLEL DO PRIVATE( a, b,k, z_mo )765 !$OMP PARALLEL DO PRIVATE( k, z_mo ) 767 766 !$acc kernels loop 768 767 DO i = nxlg, nxrg … … 817 816 ENDIF 818 817 819 !$OMP PARALLEL DO PRIVATE( a, b, k, z_mo )818 !$OMP PARALLEL DO PRIVATE( e_s, k, z_mo ) 820 819 !$acc kernels loop independent 821 820 DO i = nxlg, nxrg … … 859 858 IF ( cloud_physics .AND. icloud_scheme == 0 .AND. precipitation ) THEN 860 859 861 !$OMP PARALLEL DO PRIVATE( a, b,k, z_mo )860 !$OMP PARALLEL DO PRIVATE( k, z_mo ) 862 861 !$acc kernels loop independent 863 862 DO i = nxlg, nxrg
Note: See TracChangeset
for help on using the changeset viewer.