Actions

TC2TR2

From BAWiki

Basic Information

Name of Program

TC2TR2

Version-Date

Description-Date

Catchwords

preprocessor
conversion of a finite element grid
equivalent finite difference grid
numerical model TRIM-2D
numerical model TRIM-3D

Short Description of Functionality

The program TC2TR2 is a preprocessor for the numerical models TRIM-2D and TRIM-3D. This program serves to convert the bathymetry given in the data format of the finite element method TICAD-2S into an equivalent one defined in the format of the finite difference methods TRIM-2D, as well as TRIM-3D.

Input-Files

  1. control parameters and general input data (file type tc2tr2.dat)
  2. finite element topography (file type gitter05.dat/bin)
  3. (optional) surrounding polygon (file type poly.dat)
  4. (optional) file with polygon traces to set depth values explicitly along these traces (file type nodes.save)

Output-Files

  1. equivalent TRIM grid and topography (filetype tr2.topo.bin)
  2. informative printer file (file type tc2tr2.sdr)
  3. (optional) trace of program execution (file type tc2tr2.trc)

Methodology

  1. Reading input topography in TICAD-2S-format.
  2. Optional : Reading the boundary polygon which surrounds the area to be converted.
  3. Generating an element table which describes the area to be converted.
  4. Calculating the bathymetrical depth at the nodes U, V, Z and O of the TRIM grid by appropriate interpolation of depth at the nodes of the FE-grid:
    1. Depths at U- and V-points are mean values of the corresponding ZETA-points. Therefore the depths are approximated in the best possible way and the speed of the tidal wave can be calculated correctly. On the other hand side the volume of the system under investigation may be overestimated systematically.
    2. Depths at U- and V-points are minimum values of the corresponding ZETA-points. This guarantees the best approximation of the volume, but depths at U- and V-points are underestimated systematically. Therefore computed wave speed may be also underestimated.
  5. Modification of depth to fulfill the TRIM convention.
  6. Optional : Consideration of structures (e.g. dams, groynes, etc.).
  7. Automatic Determination of isolated grid cells (cells without connexions to neighbour grid cells).
  8. Expanding the grid at the outer boundaries to fulfill the following conditions :
    • Computational domain is surrounded at least by two additional rows of grid cells;
    • even number of grid cells in both spatial directions.
  9. Model topography is written in TRIM-format to an ASCII- or binary file.

Program(s) to run before this Program

UPDA2D

Program(s) to run after this Program

FD2MET, TR2FIDI, TR2REFRESH, TR2RND, TR2VOR, TRGITTER05

Additional Information

Language

Fortran90

Additional software

-

Original Version

G. Lang

Maintenance

working group PRE

Documentation/Literature

-


back to Program Descriptions


Overview