Object descriptions
These tutorials describe the main objects of the library.
- Check wolfhece version package
- Model / GUI architecture in wolfhece
- Element_To_Draw & WolfMapViewer — Drawing architecture
- Factory methods — quick object creation
- Spatial header for WOLF arrays
- WolfArray, what is it?
- WolfArray - Data type
- WolfArray — File I/O
- Basic math operations on WolfArray
- Resizing a WolfArray
- Multiblock Arrays
- WolfArray — Spatial Analysis
- 2D cell indices
- Memory Organization of NumPy Arrays
- Memory/Matrice view
- Raster–Vector Operations
- Zones, zone, vector, vertex, What is it ?
- Cloud vertices, What is it ?
- Basics
- Storage
- Properties
- KD-tree
- Create a new cloud_vertices instance
- Storage modes and automatic switch
- Plot by matplotlib
- Get coordinates of the vertices
- Add a value
- Get coordinates but value as z
- Find the nearest vertex
- Find the nearest vertices
- Find the nearest vertex for multiple points
- Performance guidelines (quick recap)
- Managing collections of point clouds
- What is a cloud_of_clouds?
- Prerequisites
- Creating a cloud_of_clouds
- Accessing clouds
- Removing a cloud
- Global bounds
- Adding values to clouds
- Getting all coordinates
- Iterating over all vertices
- Nearest neighbor query
- Merging all clouds into one
- Display properties
- Saving and loading (JSON)
- Duplicating a collection
- Summary
- Triangulation
- Profile, what is it?
- Basics
- Import
- How to create a profile?
- Exemple 1 : a large section
- Exemple 2 : a small section
- Example 3 : a rectangular one
- How to access the geometry ?
- Area, Wetted Perimeter, Top-Width, Uniform Manning-Strickler relations, critical depth and discharges
- Plotting the relations
- Add “banks” position
- Add more positions - “bed”, “left_down”, “right_down”
- Uniform Manning-Strickler Discharge / Water Depth
- A more complex cross-section
- Compare the section with the tables and LAZ data.
- Crosssections, What is it ?
- Cross-Sections
- Colors & Palettes
- Coordinates_operations — CRS transformations
- Hydraulic utilities
- Wolf_Param & Project — Parameter management
- Internal structure
- Creating parameters from scratch (headless)
- Reading and modifying parameters
- Iterating over all groups and parameters
- Saving and loading parameter files
- Active vs Default values
- Incrementable groups
- Building from a raw string
- Copying and comparing
- Checking existence and using Enum parameters
- Wolf2D_Project — linking simulations, vectors, and palettes
- Summary
- ImagesTiles & PictureCollection — Managing images
- toys_dataset — Downloading example data
- Wolfresults_2D & wolfres2DGPU — 2D simulation results
- Shields parameter
- The Shields diagram
- Python implementation
- References
- Importing modules
- Critical Shields parameter
- Diagrams
- Determining the critical parameter from the sediment diameter
- Determining the critical sediment diameter from the shear stress
- Example with Manning-Strickler
- Example with Colebrook-White
- Suspension and transport mode
- Création d’une digue synthétique