1
Fork 0
Simulation of the breaking wave flow which generated the 50T concrete block displacement at the Artha breakwater on February 28, 2017
Go to file
Edgar P. Burkhart 465bc7f235
16/9 beamer
2022-06-29 09:47:45 +02:00
data Subdomain read-only 2022-04-07 15:03:15 +02:00
jngcgc Remove .doc 2022-05-31 17:04:21 +02:00
nature Results from swash 1 2022-06-07 11:41:48 +02:00
olaflow Update colormap and limits for animate & diff 2022-05-18 10:05:49 +02:00
report Comment max velocity 2022-05-09 13:30:05 +02:00
swash Add transmission plot 2022-05-25 11:06:15 +02:00
workshop 16/9 beamer 2022-06-29 09:47:45 +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 Update readme for olaflow 2022-04-13 10:26:40 +02:00
requirements.txt Added requirements file for python env 2022-03-29 09:45:36 +02:00
tasks.md Updated tasks 2022-04-21 10:35:47 +02:00

README.md

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

Configuration:

[inp]
root: input directory
base: bathymetry database (.xyz) -- not provided in this repository
hires: 1d hires smoothed breakwater profile (.dat)
hstru: 1d hires smoothed breakwater porosity height (.dat)
poro: 1d breakwater porosity (.dat)
psize: 1d porosity size (.dat)
hires_step: mesh sizing of 1d profile

[out]
margin: margin around the buoy and breakwater for subdomain
no_breakwater: option to remove breakwater
root: output directory
sub: output file for subdomain
out: output file for 1d projection
step: mesh size
left: margin for 1d projection (breakwater side)
right: margin for 1d projection (buoy side)

[artha]
lat: latitude of the breakwater
lon: longitude of the breakwater

[buoy]
lat: latitude of the buoy
lon: longitude of the buoy
  • 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

Configuration:

[data]
out: input directory (output of bathymetry)

[swash]
input: swash input file (.sws)
path: path to swash directory (should contain swashrun and swash.exe)
out: output directory for swash (created at the end of the computation)
mpi: number of mpi threads (omit to use serial)

[post]
inp: input directory for post-processing (output of sws_npz)
compare: input directory for post-processing comparison (omit to display results from single case)
out: output directory for figures
x0: position of reflection calculations
t0: minimum time for reflection calculations (necessary because of boundary condition ramping)
  • 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

Configuration:

[swash]
np_out: input of olaflow from swash (output of sws_npz)

[bathy]
bathy: bathymetry to be used by olaflow
hstru: height of porous domain (see bathy)
scale: openscad scaling (mesh sizing in [x,y,z])
out: output folder for stl bathymetry

[olaflow]
root: olaflow computation directory
  • Run processing.bathy to generate stl input files
  • Run run_ola.sh to run OlaFlow model