Changeset 4356 for palm/trunk/SOURCE/init_grid.f90
- Timestamp:
- Dec 20, 2019 5:09:33 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_grid.f90
r4346 r4356 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Revise error messages for generic tunnel setup. 28 ! 29 ! 4346 2019-12-18 11:55:56Z motisi 27 30 ! Introduction of wall_flags_total_0, which currently sets bits based on static 28 31 ! topography information used in wall_flags_static_0 … … 2073 2076 ENDIF 2074 2077 ! 2075 !-- Tunnel axis along y 2078 !-- Check for too small tunnel width in x- and y-direction 2079 IF ( tunnel_width_x /= 9999999.9_wp .AND. & 2080 tunnel_width_x - 2.0_wp * td <= 2.0_wp * dx ) THEN 2081 message_string = 'tunnel_width_x too small' 2082 CALL message( 'init_grid', 'PA0175', 1, 2, 0, 6, 0 ) 2083 ENDIF 2084 IF ( tunnel_width_y /= 9999999.9_wp .AND. & 2085 tunnel_width_y - 2.0_wp * td <= 2.0_wp * dy ) THEN 2086 message_string = 'tunnel_width_y too small' 2087 CALL message( 'init_grid', 'PA0455', 1, 2, 0, 6, 0 ) 2088 ENDIF 2089 ! 2090 !-- Check for too large tunnel width. 2091 !-- Tunnel axis along y. 2076 2092 IF ( tunnel_width_x /= 9999999.9_wp ) THEN 2077 2093 IF ( tunnel_width_x > ( nx + 1 ) * dx ) THEN 2078 message_string = ' Tunnel widthtoo large'2094 message_string = 'tunnel_width_x too large' 2079 2095 CALL message( 'init_grid', 'PA0282', 1, 2, 0, 6, 0 ) 2080 2096 ENDIF … … 2092 2108 tye_in = tye_out 2093 2109 ENDIF 2094 IF ( tunnel_width_x /= 9999999.9_wp .AND. & 2095 tunnel_width_x - 2.0_wp * td <= 2.0_wp * dx ) & 2096 THEN 2097 message_string = 'Tunnel width too small' 2098 CALL message( 'init_grid', 'PA0175', 1, 2, 0, 6, 0 ) 2099 ENDIF 2100 IF ( tunnel_width_y /= 9999999.9_wp .AND. & 2101 tunnel_width_y - 2.0_wp * td <= 2.0_wp * dy ) & 2102 THEN 2103 message_string = 'Tunnel width too small' 2104 CALL message( 'init_grid', 'PA0455', 1, 2, 0, 6, 0 ) 2105 ENDIF 2106 ! 2107 !-- Tunnel axis along x 2110 ! 2111 !-- Tunnel axis along x. 2108 2112 IF ( tunnel_width_y /= 9999999.9_wp ) THEN 2109 2113 IF ( tunnel_width_y > ( ny + 1 ) * dy ) THEN 2110 message_string = ' Tunnel widthtoo large'2114 message_string = 'tunnel_width_y too large' 2111 2115 CALL message( 'init_grid', 'PA0456', 1, 2, 0, 6, 0 ) 2112 2116 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.