Changeset 3775 for palm/trunk/SOURCE
- Timestamp:
- Mar 4, 2019 12:40:20 PM (6 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/synthetic_turbulence_generator_mod.f90
r3719 r3775 25 25 ! ----------------- 26 26 ! $Id$ 27 ! removed unused variables 28 ! 29 ! 3719 2019-02-06 13:10:18Z kanani 27 30 ! Removed log_point measurement from stg_init, since this part is counted to 28 31 ! log_point(2) 'initialisation' already. Moved other log_points to calls of … … 520 523 521 524 USE arrays_3d, & 522 ONLY: d zw, ddzw, u_init, v_init, zu525 ONLY: ddzw, u_init, v_init 523 526 524 527 USE control_parameters, & … … 526 529 527 530 USE grid_variables, & 528 ONLY: dd x, ddy, dx, dy531 ONLY: ddy 529 532 530 533 USE indices, & … … 558 561 REAL(wp) :: d3 !< w profile 559 562 REAL(wp) :: d5 !< e profile 560 REAL(wp) :: d11 !< vertical interpolation for a11561 REAL(wp) :: d21 !< vertical interpolation for a21562 REAL(wp) :: d22 !< vertical interpolation for a22563 563 REAL(wp) :: luy !< length scale for u in y direction 564 564 REAL(wp) :: luz !< length scale for u in z direction … … 1055 1055 1056 1056 USE control_parameters, & 1057 ONLY: child_domain, dt_3d, intermediate_timestep_count,&1057 ONLY: child_domain, dt_3d, & 1058 1058 nesting_offline, rans_mode, time_since_reference_point, & 1059 1059 volume_flow_initial … … 1064 1064 USE indices, & 1065 1065 ONLY: wall_flags_0 1066 1067 USE statistics, &1068 ONLY: weight_substep1069 1066 1070 1067 USE pmc_interface, & … … 1086 1083 ! 1087 1084 !-- Calculate time step which is needed for filter functions 1088 dt_stg = MAX( dt_3d, dt_stg_call ) !* weight_substep(intermediate_timestep_count)1085 dt_stg = MAX( dt_3d, dt_stg_call ) 1089 1086 ! 1090 1087 !-- Initial value of fu, fv, fw … … 1826 1823 1827 1824 IMPLICIT NONE 1828 1829 INTEGER(iwp) :: k1830 1831 1825 1832 1826 ! … … 1876 1870 1877 1871 USE arrays_3d, & 1878 ONLY: dzw, ddzw, u_init, v_init , zu, zw1872 ONLY: dzw, ddzw, u_init, v_init 1879 1873 1880 1874 USE grid_variables, & 1881 1875 ONLY: ddx, ddy, dx, dy 1882 1883 USE statistics, &1884 ONLY: hom1885 1876 1886 1877 IMPLICIT NONE … … 1985 1976 USE control_parameters, & 1986 1977 ONLY: bc_dirichlet_l, bc_dirichlet_n, bc_dirichlet_r, bc_dirichlet_s, & 1987 humidity,pt_surface1978 pt_surface 1988 1979 1989 1980 USE indices, & … … 2007 1998 REAL(wp) :: u_int !< u-component 2008 1999 REAL(wp) :: v_int !< v-component 2009 REAL(wp) :: vpt_surface !< near-surface virtual potential temperature2010 2000 REAL(wp) :: w_convective !< convective velocity scale 2011 2001 REAL(wp) :: z0_mean !< mean roughness length -
palm/trunk/SOURCE/turbulence_closure_mod.f90
r3724 r3775 25 25 ! ----------------- 26 26 ! $Id$ 27 ! removed unused variables 28 ! 29 ! 3724 2019-02-06 16:28:23Z kanani 27 30 ! Correct double-used log_point_s units 28 31 ! … … 1228 1231 1229 1232 USE control_parameters, & 1230 ONLY: bc_lr_cyc, bc_ns_cyc,f, message_string, wall_adjustment_factor1233 ONLY: f, message_string, wall_adjustment_factor 1231 1234 1232 1235 USE grid_variables, & … … 1262 1265 1263 1266 INTEGER(KIND=1), DIMENSION(:,:,:), ALLOCATABLE :: vicinity !< contains topography information of the vicinity of (i/j/k) 1264 1265 INTEGER(iwp), DIMENSION(:,:,:), ALLOCATABLE :: wall_flags_dummy !< dummy array required for MPI_ALLREDUCE command1266 1267 1267 1268 REAL(wp) :: radius !< search radius in meter … … 1927 1928 SUBROUTINE tcm_prognostic_equations 1928 1929 1929 USE arrays_3d, &1930 ONLY: ddzu1931 1932 1930 USE control_parameters, & 1933 ONLY: f, scalar_advec, tsc 1934 1935 USE surface_mod, & 1936 ONLY : surf_def_h 1931 ONLY: scalar_advec, tsc 1937 1932 1938 1933 IMPLICIT NONE … … 1941 1936 INTEGER(iwp) :: j !< loop index 1942 1937 INTEGER(iwp) :: k !< loop index 1943 INTEGER(iwp) :: m !< loop index1944 INTEGER(iwp) :: surf_e !< end index of surface elements at given i-j position1945 INTEGER(iwp) :: surf_s !< start index of surface elements at given i-j position1946 1938 1947 1939 REAL(wp) :: sbt !< wheighting factor for sub-time step … … 3677 3669 SUBROUTINE diffusion_e( var, var_reference ) 3678 3670 3671 #ifdef _OPENACC 3679 3672 USE arrays_3d, & 3680 3673 ONLY: ddzu, dd2zu, ddzw, drho_air, rho_air_zw … … 3683 3676 ONLY: atmos_ocean_sign, use_single_reference_value, & 3684 3677 wall_adjustment, wall_adjustment_factor 3685 3678 #else 3679 USE arrays_3d, & 3680 ONLY: ddzu, ddzw, drho_air, rho_air_zw 3681 #endif 3686 3682 USE grid_variables, & 3687 3683 ONLY: ddx2, ddy2 … … 4433 4429 SUBROUTINE tcm_diffusivities_default( var, var_reference ) 4434 4430 4431 #ifdef _OPENACC 4435 4432 USE arrays_3d, & 4436 4433 ONLY: dd2zu … … 4439 4436 ONLY: atmos_ocean_sign, use_single_reference_value, & 4440 4437 wall_adjustment, wall_adjustment_factor 4438 #endif 4441 4439 4442 4440 USE statistics, &
Note: See TracChangeset
for help on using the changeset viewer.