Ignore:
Timestamp:
Nov 3, 2006, 11:35:32 AM (17 years ago)
Author:
ole
Message:

Got similar number of triangles as Aug 2005 okushiri validation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/okushiri_2005/create_okushiri.py

    r3901 r3913  
    152152   
    153153
    154     # Island area and drawdown region
     154    # Island area and drawdown region (original)
    155155    island_0 = [xleft + 2*(xright-xleft)/3+1.2, ytop-0.5]
    156156    island_1 = [xleft + 2*(xright-xleft)/3+0.5, ybottom + 2*(ytop-ybottom)/3]
    157     island_2 = [xleft + (xright-xleft)/2+0.4, ybottom + 2*(ytop-ybottom)/3-0.3]
    158     island_3 = [xleft + (xright-xleft)/2+0.4, 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.8]
    161     island_6 = [xl-.01, yb]  # Keep right edge just off the gulleys
    162     island_7 = [xl-.01, yt]
     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]
    163174 
    164175    island = [island_0, island_1, island_2,
     
    167178
    168179
     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]
     185
    169186    # Region spanning half right hand side of domain just inside boundary
    170     rhs_nw = [xleft + (xright-xleft)/3+1, ytop-1.4]
    171     rhs_sw = [xleft + (xright-xleft)/3+1, ybottom+0.5]
    172     rhs_se = [xright-0.1, ybottom+0.2]
    173     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]       
    174191
    175192    rhs_region = [rhs_nw, rhs_ne, rhs_se, rhs_sw]
     
    179196    # Interior regions and creation of mesh
    180197    interior_regions = [[rhs_region, 0.0005],
    181                         [gulleys, 0.00002*base_resolution],
    182                         [island, 0.00007*base_resolution]]
     198                        [island, 0.0003*base_resolution],
     199                        [gulleys, 0.00003*base_resolution]]   
    183200
    184201    meshname = project.mesh_filename + '.msh'
Note: See TracChangeset for help on using the changeset viewer.