How quentinmale/sharp-crested-weir works
This repository combines sharp-crested-weir flow simulations and their output/visualization tools with experimental-data plotting and a Marp slide deck. The simulation workflow is represented as model runs producing XDMF data, which the ParaView script loads to render animation frames; the experimental plot is a separate branch. The README documents slide authoring, while its build and deployment machinery is omitted. Relationships are limited to the sampled source and README; simulation internals are kept within their model components.
Main entry points: render.py Animation renderer · sharp_crested_weir_2d.c 2D weir model · sharp_crested_weir_3d.c 3D weir model · plot_exp.py Experimental plotter
Components 12
Weir simulations
- 2D weir model
basilisk/sharp_crested_weir_2d.c - 3D weir model
basilisk/3d/sharp_crested_weir_3d.c - 2D XDMF writer
basilisk/xdmf2d.h - 3D XDMF writer
basilisk/3d/xdmf3d.h
Output visualization
- Animation renderer
basilisk/3d/render.py - Rendered frames
Experimental data
- Experimental plotter
utils/exp_data/plot_exp.py - Experimental measurements
utils/exp_data/data.csv
Presentation
- Slide deck
slides/index.md
Other components
- Project user
- ParaView
- Slide author
Connections 7
- 2D weir model → 2D XDMF writer: calls
basilisk/sharp_crested_weir_2d.c - 3D weir model → 3D XDMF writer: calls
basilisk/3d/sharp_crested_weir_3d.c - Animation renderer → ParaView: uses API
basilisk/3d/render.py - ParaView → Animation renderer: loads XDMF
basilisk/3d/render.py - Animation renderer → Rendered frames: saves animation
basilisk/3d/render.py - Experimental plotter → Experimental measurements: reads
utils/exp_data/plot_exp.py - Slide author → Slide deck: edits
README.md