Examples
These are Jupyter notebooks embedded via MyST-NB. If you want to play with them on your own machine, you can download them from here.
- Mesh2d Basics
- Mesh1d basics
- Simple triangular mesh in a given geometry
- Curvilineargrid Basics
- Generate a curvilinear grid using the transfinite interpolation method
- Generate a curvilinear grid using the advancing front method
- Refine/derefine a curvilinear mesh
- Make a rectangular grid
- Generate a curvilinear grid using the nodes at the polygons’s perimeter
- Perform curvilinear grid orthogonalization
- Perform curvilinear grid orthogonalization with a frozen line
- Perform curvilinear grid smoothing
- Perform curvilinear directional curvilinear grid smoothing
- Perform curvilinear grid line shifting
- Perform curvilinear insert a face
- Perform curvilinear delete a node
- Perform curvilinear line attraction/repulsion
- Perform curvilinear line mirror
- Mesh2d refinement based on gridded samples
- Mesh2d refinement based on Gebco gridded samples with variable depth precision
- 1. Generating a mesh of defined extension
- 2. Saving the generated mesh to UGrid file
- 3. Reading bathymetric data form a large NetDFC file
- 4. Performing mesh refinement based on gridded data, depths as np.float32 or np.int16
- Curvilinear grid generation with defined extension