Skip to content

Interpolate and/or mesh rivers from cross-sections profiles (and constraint lines)

License

Notifications You must be signed in to change notification settings

CNR-Engineering/TatooineMesher

Repository files navigation

TatooineMesher

Python package

Tested versions: 3.7, 3.8, 3.9, 3.10 and 3.11.

Channel mesher and interpolator from 1D cross-sections and constraint lines

Description

Set of 4 command line scripts:

  • densify_cross_sections.py : interpolate initial and intermediate cross-sections
  • mesh_and_interpolate.py: mesh and/or interpolate from a set of cross-sections
  • mesh_mascaret_run.py : visualize Mascaret model geometry and results
  • mesh_crue10_run.py : visualize Crue10 model geometry and results

The command line scripts of TatooineMesher are located in the cli folder.

See wiki pages to learn how to use them.

Pre-requisites and installation

Python 3 with packages listed in requirements.txt. To install them use:

pip install -r requirements.txt

PyTelTools and Crue10_tools are dependencies that can be installed in another directory and linked with the PYTHONPATH environment variable. These packages are used to read/write some specific file formats of Telemac, Mascaret and Crue10 tools.

Reference

TatooineMesher: Anisotropic interpolation from 1D cross-sections and 2D channel mesher, L. Duron, F.-X. Cierco and K. Saad, XXVIth TELEMAC-MASCARET User Conference 2019, Toulouse (France). See paper and presentation.