Tuflow and estry manual Version 3


Define the location and dimensions of the 2D grid



Yüklə 4,62 Mb.
səhifə153/303
tarix26.12.2016
ölçüsü4,62 Mb.
#3356
1   ...   149   150   151   152   153   154   155   156   ...   303
Define the location and dimensions of the 2D grid

  1. In the GIS, import the “2d_loc_empty.mif” layer from the “..\model\mi\empty” folder and save as “2d_loc_my_model.tab” in the “..\model\mi” same folder. Make this layer editable and digitise a straight line (two vertices only) starting at the bottom left corner of the 2D grid and finishing anywhere on the line defining the X-axis (bottom border) of the grid. Save the layer and export as .mif/.mid files.

  2. Create a .tgc text file (eg. my_model.tgc) in the “..\model” folder. Set the 2D grid origin and orientation using Read MI Location and the 2d_loc layer, the cell size using Cell Size, and the grid dimensions using Grid Size (N,M) or Grid Size (X,Y) as follows:


.tgc file:

! Set the grid location and dimensions

Read MI Location == mi\2d_loc_my_model.mif

Cell Size == 10. ! cell size in meters

Grid Size (X,Y) == 200, 100 ! grid dimensions in meters

Create the Zpts


  1. In the .tgc file, enter the line Set Code == 1 to set all cells to Code 1 (ie. active cells). TUFLOW only exports Zpts at active cells, hence the need to set all cells to active.

  2. To request TUFLOW to write .mif/.mid files containing the Zpts use Write MI Zpts then stop the process using Stop (at this stage we are only interested in writing the Zpt GIS layer and therefore need to stop the simulation at this point). These commands, as shown below, must occur in the .tgc file after setting the code values as discussed above.



Yüklə 4,62 Mb.

Dostları ilə paylaş:
1   ...   149   150   151   152   153   154   155   156   ...   303




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin