Tuflow and estry manual Version 3


B.5Model Network and Topography Commands (.ecf)



Yüklə 4,62 Mb.
səhifə54/303
tarix26.12.2016
ölçüsü4,62 Mb.
#3356
1   ...   50   51   52   53   54   55   56   57   ...   303

3.11.5The .tgc (Geometry Control) File


Rather than contain all the 2D grid information in one file, the .tgc file is a series of commands that builds the model. The commands are applied in sequential order, therefore, it is possible to override previous information with new data to modify the model in selected areas. This is very useful where a base data set exists, over which areas need to be modified to represent other scenarios such as a proposed development. This eliminates or minimises data duplication.

The commands can occur in any order (as long as it is a logical one!).

If an unrecognisable command occurs, TUFLOW stops and displays the unrecognisable text.

Notes & Tips:



  1. Any command can be repeated any number of times.

  2. Commands are executed in the order they occur. If the data for a 2D cell or Zpt is supplied more than once, the last data read is that used, ie. the latter data for a cell overrides any previous data for that cell.

  3. The .mid file is a comma delimited text file. It can be created not only by exporting a MapInfo table but also by using Excel, a text editor or a purpose written translator.

  4. The .mid file accessed by a Read MI or Read MID command does not have to contain data for the entire model. If you wish to modify just a few cell values or Zpts, the file only needs to contain these cells/Zpts.

  5. Use Write Check Files commands to cross-check and carry out quality control checks on the final 2D grid and Zpts.

An example of a .tgc file is shown below.
# Setup the location of the 2d domain

Read MI Location == ..\model\gis\2d_loc_my_model.mif ! Locate 2D domain

Cell Size == 10. ! Set cell size to 10m
# Setup the base topography

Set Code == 1 ! Set everywhere as water

Read MI Code BC == ..\model\gis\2d_bc_my_model.mif ! Read codes from 2d_bc
# Setup the base topography

Set Zpts == 100. ! Set elevations everywhere to 100 m

Read MID Zpts == ..\model\gis\2d_zpt_dtm.mid ! Read the DTM Zpts

Read MI Z Lines == ..\model\gis\2d_zlr_levees.mif ! Apply 3D lines along levees

Read MI Zpts == ..\model\gis\2d_zpt_fill.mif ! Proposed filling of floodplain
# Setup the materials

Set Mat == 1 ! Set default material value to 1

Read MI Mat == ..\model\gis\2d_mat_land use.mif ! Read materials distribution


Yüklə 4,62 Mb.

Dostları ilə paylaş:
1   ...   50   51   52   53   54   55   56   57   ...   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