Ignore:
Timestamp:
Jun 10, 2008, 4:05:44 PM (15 years ago)
Author:
Leharne
Message:

Updating output directory in project and run scripts to automatically include run time, user and mesh resolution. Still in progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/convergence_okushiri_2008/run_okushiri_truescale.py

    r5343 r5396  
    4040print domain.statistics()
    4141
     42z = domain.get_vertex_coordinates()
    4243
     44# Write vertex coordinates to file
     45filename='okushiri_mesh_vertex_coordinates_truescale.txt'
     46fid=open(filename,'w')
     47fid.write('x (m), y (m)\n')
     48for i in range(len(z)):
     49    pt=z[i]
     50    x=pt[0]
     51    y=pt[1]
     52    fid.write('%.6f, %.6f\n' %(x, y))
     53       
    4354#-------------------------
    4455# Initial Conditions
     
    5768#-------------------------
    5869domain.set_name(project_truescale.output_filename)  # Name of output sww file
     70domain.set_datadir(project_truescale.output_dir)
    5971domain.set_default_order(2)               # Apply second order scheme
    6072domain.set_all_limiters(0.9)              # Max second order scheme (old lim)
Note: See TracChangeset for help on using the changeset viewer.