Changeset 3226


Ignore:
Timestamp:
Jun 26, 2006, 10:38:04 AM (19 years ago)
Author:
duncan
Message:

tweaking dam simulation

Location:
development/dam_2006
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • development/dam_2006/create_mesh.py

    r3145 r3226  
    5959    dam = m.add_region(0.2,0.2)
    6060    dam.setTag("dam")
    61     #m.generateMesh('pzq28.0za0.01a')
    62     #m.generate_mesh('pzq28.0za0.0001)
     61    #m.generate_mesh(maximum_triangle_area=0.01)
    6362    m.generate_mesh(maximum_triangle_area=0.0001)
    6463
  • development/dam_2006/run_dam.py

    r3178 r3226  
    2020import sys
    2121from shutil import copy
    22 from os import mkdir, access, F_OK
     22from os import mkdir, access, F_OK, path
    2323
    2424# Related major packages
     
    5353create_mesh.generate() # this creates the mesh
    5454
     55head,tail = path.split(project.mesh_filename)
     56copy (project.mesh_filename,
     57      project.outputtimedir + tail )
    5558#-----------------------------------------------------------------------------
    5659# Setup computational domain
Note: See TracChangeset for help on using the changeset viewer.