Skip to content

Commit 3025e57

Browse files
juliusghshadisharba
authored andcommitted
Add script to download the necessary data
1 parent 6776f69 commit 3025e57

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Diff for: download_data.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
OPTIONS="-q --show-progress"
2+
DATASET=https://darus.uni-stuttgart.de/api/access/datafile/:persistentId\?persistentId\=doi:10.18419/darus-2822
3+
wget $OPTIONS $DATASET/9 -O input/striped_normal_4x4x4.h5 # microstructures[0]
4+
wget $OPTIONS $DATASET/8 -O input/sphere_normal_16x16x16_10samples.h5 # microstructures[1]
5+
wget $OPTIONS $DATASET/3 -O input/sphere_normal_32x32x32_10samples.h5 # microstructures[2]
6+
wget $OPTIONS $DATASET/10 -O input/sphere_combo_16x16x16_10samples.h5 # microstructures[3]
7+
wget $OPTIONS $DATASET/4 -O input/octahedron_normal_16x16x16_10samples.h5 # microstructures[4]
8+
wget $OPTIONS $DATASET/6 -O input/octahedron_combo_16x16x16_10samples.h5 # microstructures[5]
9+
wget $OPTIONS $DATASET/11 -O input/octahedron_combo_32x32x32.h5 # microstructures[6]
10+
wget $OPTIONS $DATASET/2 -O input/random_rve_vol20.h5 # microstructures[7]
11+
wget $OPTIONS $DATASET/5 -O input/random_rve_vol40.h5 # microstructures[8]
12+
wget $OPTIONS $DATASET/1 -O input/random_rve_vol60.h5 # microstructures[9]

Diff for: readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ route and show their limitations in view of both accuracy and the amount of requ
2323
- Input
2424
dataset: [![Identifier](https://img.shields.io/badge/doi-10.18419%2Fdarus--2822-d45815.svg)](https://doi.org/10.18419/darus-2822)
2525

26+
All necessary data can be downloaded from [DaRUS](https://darus.uni-stuttgart.de/) using the script `download_data.sh`.
27+
2628
## How to use?
2729

2830
The provided code is independent of direct numerical simulators, i.e. it expects DNS results to be stored in a HDF5 file with a

0 commit comments

Comments
 (0)