1
Fork 0
Simulation of the breaking wave flow which generated the 50T concrete block displacement at the Artha breakwater on February 28, 2017
Find a file
2022-03-30 10:55:58 +02:00
data Added margin option to subdomain config 2022-03-29 15:24:17 +02:00
olaflow isort + black reformat 2022-03-29 09:47:45 +02:00
report Fixed figure (report) 2022-03-28 13:39:41 +02:00
swash Merge branch 'swash' of ssh://git.edgarpierre.fr:39529/m2cce/internship into swash 2022-03-30 10:54:37 +02:00
.gitattributes Initial commit 2022-02-01 09:46:47 +01:00
.gitignore Initial commit 2022-02-01 09:46:47 +01:00
README.md Updated README with help on running modules 2022-03-29 13:07:12 +02:00
requirements.txt Added requirements file for python env 2022-03-29 09:45:36 +02:00
tasks.md Tasks: Swash 2022-03-01 10:30:27 +01:00

M2 Internship

"Simulation of the breaking wave flow which generated the 50T concrete block displacement at the Artha breakwater on February 28, 2017"

Report

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.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