Changeset 3915 for anuga_validation/okushiri_2005/create_okushiri.py
- Timestamp:
- Nov 3, 2006, 5:15:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/okushiri_2005/create_okushiri.py
r3913 r3915 153 153 154 154 # Island area and drawdown region (original) 155 #island_0 = [xleft + 2*(xright-xleft)/3+1.2, ytop-0.5] 156 #island_1 = [xleft + 2*(xright-xleft)/3+0.5, ybottom + 2*(ytop-ybottom)/3] 157 #island_2 = [xleft + (xright-xleft)/2+0.3, ybottom + 2*(ytop-ybottom)/3-0.3] 158 #island_3 = [xleft + (xright-xleft)/2+0.3, ybottom + (ytop-ybottom)/3+0.3] 159 #island_4 = [xleft + 2*(xright-xleft)/3+0.4, ybottom + (ytop-ybottom)/3-0.3] 160 #island_5 = [xleft + 2*(xright-xleft)/3+1.2, ybottom+0.2] 161 #island_6 = [xl-.01, yb] #OK 162 #island_7 = [xl-.01, yt] #OK 163 164 165 # Island area and drawdown region 155 166 island_0 = [xleft + 2*(xright-xleft)/3+1.2, ytop-0.5] 156 167 island_1 = [xleft + 2*(xright-xleft)/3+0.5, ybottom + 2*(ytop-ybottom)/3] 157 island_2 = [xleft + (xright-xleft)/2+0.3, ybottom + 2*(ytop-ybottom)/3-0.3] 158 island_3 = [xleft + (xright-xleft)/2+0.3, ybottom + (ytop-ybottom)/3+0.3] 159 island_4 = [xleft + 2*(xright-xleft)/3+0.4, ybottom + (ytop-ybottom)/3-0.3] 160 island_5 = [xleft + 2*(xright-xleft)/3+1.2, ybottom+0.2] 161 island_6 = [xl-.01, yb] #OK 162 island_7 = [xl-.01, yt] #OK 163 164 165 # Island area and drawdown region 166 #island_0 = [xleft + 2*(xright-xleft)/3+1.2, ytop-0.5] 167 #island_1 = [xleft + 2*(xright-xleft)/3+0.5, ybottom + 2*(ytop-ybottom)/3] 168 #island_2 = [xleft + (xright-xleft)/2+0.4, ybottom + 2*(ytop-ybottom)/3-0.3] 169 #island_3 = [xleft + (xright-xleft)/2+0.4, ybottom + (ytop-ybottom)/3+0.3] 170 #island_4 = [xleft + 2*(xright-xleft)/3+0.4, ybottom + (ytop-ybottom)/3-0.3] 171 #island_5 = [xleft + 2*(xright-xleft)/3+1.2, ybottom+0.8] 172 #island_6 = [xl-.01, yb] # Keep right edge just off the gulleys 173 #island_7 = [xl-.01, yt] 168 island_2 = [xleft + (xright-xleft)/2+0.4, ybottom + 2*(ytop-ybottom)/3-0.3] 169 island_3 = [xleft + (xright-xleft)/2+0.4, ybottom + (ytop-ybottom)/3+0.3] 170 island_4 = [xleft + 2*(xright-xleft)/3+0.4, ybottom + (ytop-ybottom)/3-0.3] 171 island_5 = [xleft + 2*(xright-xleft)/3+1.2, ybottom+0.8] 172 island_6 = [xl-.01, yb] # Keep right edge just off the gulleys 173 island_7 = [xl-.01, yt] 174 174 175 175 island = [island_0, island_1, island_2, … … 179 179 180 180 # Region spanning half right hand side of domain just inside boundary (org) 181 rhs_nw = [xleft + (xright-xleft)/3+1, ytop-0.02]182 rhs_sw = [xleft + (xright-xleft)/3+1, ybottom+0.02]183 rhs_se = [xright-0.02, ybottom+0.02]184 rhs_ne = [xright-0.02, ytop-0.02]181 #rhs_nw = [xleft + (xright-xleft)/3+1, ytop-0.02] 182 #rhs_sw = [xleft + (xright-xleft)/3+1, ybottom+0.02] 183 #rhs_se = [xright-0.02, ybottom+0.02] 184 #rhs_ne = [xright-0.02, ytop-0.02] 185 185 186 186 # Region spanning half right hand side of domain just inside boundary 187 #rhs_nw = [xleft + (xright-xleft)/3+1, ytop-1.4]188 #rhs_sw = [xleft + (xright-xleft)/3+1, ybottom+0.5]189 #rhs_se = [xright-0.1, ybottom+0.2]190 #rhs_ne = [xright-0.1, ytop-0.2]187 rhs_nw = [xleft + (xright-xleft)/3+1, ytop-1.4] 188 rhs_sw = [xleft + (xright-xleft)/3+1, ybottom+0.5] 189 rhs_se = [xright-0.1, ybottom+0.2] 190 rhs_ne = [xright-0.1, ytop-0.2] 191 191 192 192 rhs_region = [rhs_nw, rhs_ne, rhs_se, rhs_sw] 193 194 193 195 194 196 195 # Interior regions and creation of mesh 197 196 interior_regions = [[rhs_region, 0.0005], 198 [island, 0.000 3*base_resolution],199 [gulleys, 0.0000 3*base_resolution]]197 [island, 0.0002*base_resolution], 198 [gulleys, 0.00002*base_resolution]] 200 199 201 200 meshname = project.mesh_filename + '.msh' … … 206 205 interior_regions=interior_regions, 207 206 filename=project.mesh_filename, 208 use_cache=True,209 207 verbose=True) 210 208
Note: See TracChangeset
for help on using the changeset viewer.