Changeset 5317
- Timestamp:
- May 14, 2008, 9:28:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/circular_island/simple_circular/circular.py
r5289 r5317 7 7 # Import necessary modules 8 8 #------------------------------------------------------------------------------ 9 #from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular_cross9 from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular_cross 10 10 from anuga.shallow_water import Domain 11 11 from anuga.shallow_water import Reflective_boundary … … 23 23 Cx = 12.96 # centre of island on the x axis 24 24 Cy = 13.8 # centre of island on the y axis 25 dx = dy = 1 # Resolution: Length of subdivisions on both axes26 water_depth = 0.32 25 dx = dy = 1 # Resolution: Length of subdivisions on both axes 26 water_depth = 0.32 # Can be 0.32 or 0.42 27 27 28 28 #boundary … … 30 30 meshname = 'test.msh' 31 31 32 # exporting asc grid 33 xmin = 0 34 xmax = length 35 ymin = 0 36 ymax = width 32 37 33 38 #Create interior region … … 47 52 filename=meshname, 48 53 interior_regions = interior_dome, 49 use_cache= True,54 use_cache=False, 50 55 verbose=True) 51 56 52 domain = Domain(meshname, use_cache= True, verbose = True)57 domain = Domain(meshname, use_cache=False, verbose = True) 53 58 domain.set_name('circular') # Output name 54 59 print domain.statistics()
Note: See TracChangeset
for help on using the changeset viewer.