by Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
Web: [http://water.engr.psu.edu/liu/] (http://water.engr.psu.edu/liu/)
Here are the lecture notes and cases I use for a training course on the SRH-2D model. The aim is to use open source tools to do the pre- and post-processing work for SRH-2D. This is a (free) alternative to other commercial pre/post processing tools for SRH-2D.
SRH-2D, Sedimentation and River Hydraulics – Two-Dimensional model, is a two-dimensional (2D) hydraulics and sediment transport model developed Dr. Yong Lai at the Bureau of Reclamation. You can find more information about SRH-2D at its website: [http://www.usbr.gov/pmts/sediment/model/srh2d/] (http://www.usbr.gov/pmts/sediment/model/srh2d/)
- Preprocessing: Gmsh and scripts written Python and Fortran
- Postprocessing: Paraview
- Use Gmsh to generate the mesh. You should prepare the boundary of the domain. Unfortunately, Gmsh don't have GIS capabillity so georeferencing is not possible. Export the mesh in gmsh format. Note that the mesh is flat, i.e., there is no elevation information for the grid points.
- Run the DEMInterpolate program to interpolate the DEM data onto the gmsh grid points. This will result in a new gmsh file.
- Use the new gmsh file and the IPython script to convert the gmsh file to SMS 2DM format. The Python script is only a translator.
- Run SRH-2D.
It is noted that these pre-processing steps are sometime tricky.
- Paraview can load the SRH-2D results (in Tecplot) format directly. So almost flat learning curve.
- Whoever is interested to test out SRH-2D but don't have license for commercial software.
- Developers who wants to add more functionalities and have more freedom.