Changeset 2938


Ignore:
Timestamp:
May 22, 2006, 10:29:14 AM (18 years ago)
Author:
nicholas
Message:

Final organised folders of data

Location:
development/momentum_sink
Files:
98 added
26 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • development/momentum_sink/scripts/loop_buildings.py

    r2927 r2938  
     1""" File used for looping create_buildings script to create many
     2    building scenarios with variations in building width """
     3
    14
    25#Convention for strings representing files
     
    2023
    2124
    22 
    23 DR = list(Numeric.arange(3,7,1))
     25# creates buildign scenarios from widths A to B in steps of n >> list(Numeric.arange(A,B,n))
     26DR = list(Numeric.arange(3,7,1)) 
    2427#DR = [4,5] #[3,5,7,9,11,13,15,17,19,21,23]
    2528for depth in DR:
     
    4346                   )               
    4447
    45 
     48    # Building scenario name with width and traingle count added.
    4649    domain.set_name(project.basename + '_Rot(45)_5_D_%s_%d' %(str(depth), triagle_count))
    4750    domain.set_datadir(project.outputdir)
     
    6467    Br = Reflective_boundary(domain)
    6568    Bt = Transmissive_boundary(domain)
    66     Bdw = Dirichlet_boundary([5,0,0])                                   # <<<<<<<<< CHANGE WAVE DEPTH HERE >>>>>>>>>>>>
    67     Bdb = Dirichlet_boundary([0,0,0])
     69    Bdw = Dirichlet_boundary([5,0,0])   # wave height   # <<<<<<<<< CHANGE WAVE DEPTH HERE >>>>>>>>>>>>
     70    Bdb = Dirichlet_boundary([0,0,0])   # rear boundary, keep at zero.
    6871    Bw = Time_boundary(domain=domain,
    6972                       f=lambda t: [(60<t<660)*4, 0, 0])
Note: See TracChangeset for help on using the changeset viewer.