Changeset 6674


Ignore:
Timestamp:
Apr 1, 2009, 10:17:59 AM (16 years ago)
Author:
myall
Message:

fixing Tb boundary - default was still Bd (the Dirichlet with tide added), but should have been Dirichlet with tide=0. this isn't a problem for phase 2 work as project.tide is 0 anyway, but just thought I'd fix it in case of future changes.

Location:
anuga_work/production/australia_ph2
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/australia_ph2/adelaide/run_model.py

    r6579 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/albany/run_model.py

    r6579 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/broome/run_model.py

    r6511 r6674  
    1 """Run a tsunami inundation scenario for Busselton, WA, Australia.
     1"""Run a tsunami inundation scenario for phase 2 model.
    22
    33The scenario is defined by a triangular mesh created from project.polygon, the
     
    156156                        verbose=True)
    157157    domain.set_boundary({'back': Br,
    158                      'side': Bd,
     158                     'side': Bt,
    159159                     'ocean': Bf})
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]))
    163163
    164164    domain.set_boundary({'back': Br,
    165                          'side': Bd,
     165                         'side': Bt,
    166166                         'ocean': Tb})
    167167else:
  • anuga_work/production/australia_ph2/carnarvon/run_model.py

    r6511 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/ceduna/run_model.py

    r6579 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/darwin/run_model.py

    r6579 r6674  
    161161   
    162162elif project.wave == 'Tb':
    163     Tb = Time_boundary(domain,f,default_boundary=Bd )
     163    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    164164
    165165    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/esperance/run_model.py

    r6579 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/eucla_motel/run_model.py

    r6579 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/hobart/run_model.py

    r6672 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/perth/run_model.py

    r6579 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/strahan/run_model.py

    r6619 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
  • anuga_work/production/australia_ph2/wyndham/run_model.py

    r6579 r6674  
    160160   
    161161elif project.wave == 'Tb':
    162     Tb = Time_boundary(domain,f,default_boundary=Bd )
     162    Tb = Time_boundary(domain,f,default_boundary=Dirichlet_boundary([0, 0, 0]) )
    163163
    164164    domain.set_boundary({'back': Br,
Note: See TracChangeset for help on using the changeset viewer.