Skip to content

Commit ca2717d

Browse files
added readme to data folder (#241)
Co-authored-by: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com>
1 parent 46abc11 commit ca2717d

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

data/README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Experimental Data
2+
3+
This directory contains experimental datasets used in common benchmark problems in dispersive wave modeling. Each dataset has a corresponding function that returns the data as Julia objects for easy integration with DispersiveShallowWater.jl simulations.
4+
5+
## Available Datasets
6+
7+
### Dingemans Experiment Data (`Dingemans.csv`)
8+
9+
The Dingemans experiment is a classic benchmark for validating dispersive shallow water models. It features waves propagating over a trapezoidal bathymetry profile, providing experimental data for wave transformation over varying bottom topography.
10+
11+
The data are taken from the experiments of Maarten Dingemans:
12+
13+
```bibtex
14+
@techreport{dingemans1994comparison,
15+
title={Comparison of computations with {B}oussinesq-like models and laboratory measurements},
16+
author={Maarten W. Dingemans},
17+
institution={Delft Hydraulics},
18+
year={1994},
19+
number={H1684.12},
20+
url={http://resolver.tudelft.nl/uuid:c2091d53-f455-48af-a84b-ac86680455e9}
21+
}
22+
23+
@book{dingemans1997water,
24+
title={Water Wave Propagation Over Uneven Bottoms},
25+
author={Maarten W. Dingemans},
26+
year={1997},
27+
volume={13},
28+
doi={10.1142/1241},
29+
publisher={World Scientific}
30+
}
31+
```
32+
33+
34+
#### Data Format
35+
36+
The CSV file contains time series data with the first column being time values and subsequent columns representing wave height measurements at different spatial locations (six wave gauges).
37+
38+
#### Usage
39+
40+
In order to access the data, execute:
41+
42+
```julia
43+
t_values, x_values, experimental_data = data_dingemans()
44+
```
45+
46+
The function returns:
47+
- `t_values`: Time values at which measurements were recorded
48+
- `x_values`: Spatial coordinates of the six wave gauges (3.04, 9.44, 20.04, 26.04, 30.44, 37.04)
49+
- `experimental_data`: Matrix of wave heights at each gauge location (columns) over time (rows)
50+
51+
For more details about this experiment and its use in validation, see the [Dingemans Experiment](https://numericalmathematics.github.io/DispersiveShallowWater.jl/stable/dingemans/) section in the documentation.

src/experimental_data.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ and experimental data, which is a matrix of wave heights at each gauge location
1010
- Dingemans (1997):
1111
Water Wave Propagation Over Uneven Bottoms (In 2 Parts).
1212
[DOI: 10.1142/1241](https://doi.org/10.1142/1241)
13+
14+
See also: [Dingemans Experiment](https://numericalmathematics.github.io/DispersiveShallowWater.jl/stable/dingemans/)
15+
in the documentation for more details about this experiment and its use in validation.
1316
"""
1417
function data_dingemans()
1518
path_dingemans = joinpath(data_dir(), "Dingemans.csv")

0 commit comments

Comments
 (0)