1.3 KiB
1.3 KiB
M2 Internship
"Simulation of the breaking wave flow which generated the 50T concrete block displacement at the Artha breakwater on February 28, 2017"
Configuration
Each part can be run in their respective directories.
$ python -m processing.swash -h
usage: swash.py [-h] [-v] [-c CONFIG]
Run swash model
options:
-h, --help show this help message and exit
-v, --verbose
-c CONFIG, --config CONFIG
Bathymetry
- Insert database in
data/data - Run
processing.subdomainto generate 2D data in a smaller domain - Run
processing.projectionto generate a 1D bathymetry
Swash
- Run
processing.swashto run the Swash model - Run
processing.sws_npzto convert Swash output to Numpy files - Run
processing.postto plot wave height at a point, water level at an instant, reflection coefficient at a point - Run
processing.animateto plot an animation of water level - Run
processing.layersto plot an animation of layers with flow velocity
OlaFlow
- Run
processing.bathyto generate stl input files - Run
blockMesh,snappyHexMesh -overwrite, copy0.orgto0,setFields - Run
processing.sws_olato convert Swash output to OlaFlow input