# M2 Internship "Simulation of the breaking wave flow which generated the 50T concrete block displacement at the Artha breakwater on February 28, 2017" [Report](https://kalliope.edgarpierre.fr/latex/m2cce/internship/report.pdf) ## Bathymetry * Insert database in `data/data` * Run `processing.subdomain` to generate 2D data in a smaller domain * Run `processing.projection` to generate a 1D bathymetry ## Swash * Run `processing.swash` to run the Swash model * Run `processing.sws_npz` to convert Swash output to Numpy files * Run `processing.post` to plot wave height at a point, water level at an instant, reflection coefficient at a point * Run `processing.animate` to plot an animation of water level * Run `processing.layers` to plot an animation of layers with flow velocity ## OlaFlow * Run `processing.bathy` to generate stl input files * Run `blockMesh`, `snappyHexMesh -overwrite`, copy `0.org` to `0`, `setFields` * Run `processing.sws_ola` to convert Swash output to OlaFlow input