Changeset 2124
- Timestamp:
- Dec 7, 2005, 12:04:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/Merimbula/run_cairns.py
r2123 r2124 21 21 # Domain 22 22 #------------------------------- 23 print 'Creating domain from', cairns_project.mesh_filename23 #print 'Creating domain from', cairns_project.mesh_filename 24 24 25 domain = cache(pmesh_to_domain_instance,26 (cairns_project.mesh_filename, Domain),27 dependencies = [cairns_project.mesh_filename])25 #domain = cache(pmesh_to_domain_instance, 26 # (cairns_project.mesh_filename, Domain), 27 # dependencies = [cairns_project.mesh_filename]) 28 28 29 print 'Creating domain' 30 N = 50 31 M = 60 32 #r_earth = 5e6 33 #from math import sin, pi 34 #scale_y = r_earth*sin(74/180*pi) 35 #print scale_y 36 points, elements, boundary = rectangular_cross(N, M, len1=30.0, len2=16.0, 37 origin = (145.0, -24.0)) 38 domain = Domain(points, elements, boundary) 29 39 30 40 domain.check_integrity() … … 63 73 Br = Reflective_boundary(domain) 64 74 65 domain.set_boundary({'exterior': Br, 'open': Br}) 75 #domain.set_boundary({'exterior': Br, 'open': Br}) 76 domain.set_boundary({'left': Br, 'right': Br, 'top': Br, 'bottom': Br}) 66 77 67 78 #-------------------------------
Note: See TracChangeset
for help on using the changeset viewer.