Mathematical Model TRIM-2D

From BAWiki

Short Description

The mathematical model TRIM-2D is based on the finite difference method. TRIM-2D was designed to solve several depth-integrated transient nonlinear partial differential equations (pde's). The model is actually used to study one ore more of the following physical processes:

  1. transport of water (conservation of the water mass)
  2. transport of linear momentum (conservation of linear momentum)
  3. transport of salinity (conservation of the dissolved salt mass)
  4. transport of suspended sediments with consideration of resuspension and deposition at the bottom (conservation of the suspended sediment mass)
  5. bed load transport (a transport capacity approach is used)
  6. evolution of the bottom (morphodynamics) due to suspended load as well as bed load transport

TRIM-2D was jointly developed by Prof. V. Casulli (Trento University, Italy) as well as Prof. R. T. Cheng (US Geological Survey, Menlo Park, California). In the framework of a scientific cooperation TRIM-2D has been successfully installed in the year 1994 at BAW-DHs computers. It has been integrated into BAW-DHs numerical modelling toolbox and is now used on a routine basis in the context of different real-world projects concerning estuarine flow and transport processes. Meanwhile the capabilities of the model were extended and new physical processes have been included. Furthermore the program was parallelized using OpenMP-directives for SMP (symmetric multiprocessing) systems in a portable way.

Standard Validation Document

There exists a Standard Validation Document (in German only) for TRIM-2D which provides the potential user with information about the capabilities and limitations of the model. This document may be downloaded either as PDF-Version or as a compressed PostScript-Version.


Programs for Simulations

  • TR2VOR: generation of a compact version of the bathymetry-file together with some index arrays which are required during the simulation run for optimal performance on vector computers
  • TR2LQ2: generation of a profile topography which is necessary to output results from a TRIM-2D simulation run along profiles
  • TRIM-2D: simulation run


  • TR2MODATE: modification of date and time in a hydrodynamic results file if this hydrodynamic state should be used as initial state for a different date
  • TR2KACHEL: generation of sections (tiles); topography as well as data are cut into pieces out of the result files for the entire computational domain for any desired section (tile)
  • PARTRACE: particle tracking within a two-dimensional depth-averaged velocity field
  • GVIEW2D: graphical display of time series at selected locations
  • LQ2PRO: Visualization of data along profiles
  • HVIEW2D: graphical display of 2D synoptic or data analyses results
  • VVIEW2D: Two-dimensional graphical representation of CFD-data for vertical sections

Example Applications

back to Mathematical Models for Coastal Areas and Estuaries