Rene commited on
Commit
509709a
·
1 Parent(s): 3388691

Changed gitattributes to use lfs for hdf5 and initial commit

Browse files
.gitattributes CHANGED
@@ -56,3 +56,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
59
+ *.hdf5 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,81 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+
5
+ ## Description
6
+
7
+ This dataset contains a set of example simulations using WCSPH simulated with [diffSPH](https://github.com/wi-re/diffSPH). A matching dataloader is contained in the [SFBC](https://github.com/tum-pbs/SFBC) package
8
+
9
+ ## Simulation Setup
10
+
11
+ The general simulation setup:
12
+ - Domain Size: $1[m]\times 1[m]$ ($[-0.5, 0.5]^2$)
13
+ - Particle Count: $128 \times 128 = 16384$
14
+ - Particle size: $1/ (128\times 128) = 0.000061035[m^2]$
15
+ - Neighborhood Size: $45.228$ neighbors per particle
16
+ - Rest Density: $1000 [kg/m^2]$
17
+ - Timestepping: Fixed $\Delta t = 1 [ms]$
18
+ - Integration Scheme: Symplectic Euler
19
+ - SPH Formulation: $\delta^+$-SPH
20
+ - Shifting Scheme: $\delta^+$-SPH
21
+ - Boundary Handling Scheme: MDBC
22
+ - Viscosity: $\delta^+$-SPH, $\operatorname{Re}=2000$
23
+
24
+ Generated Simulations:
25
+ - Two cases, either with or without a central obstacle (if there is boundary handling)
26
+ - We generate 16 simulations for training for each case
27
+ - Each case uses a random divergence free velocity field with increasing spatial frequencies in the velocity field (Note that higher frequency fields have different initial kinetic energies, the flows are normalized for maximum initial velocity NOT identical initial energy)
28
+ - We also generate 4 simulations for each case using regular vortices, i.e., similar to Taylor Green Vortex Setups
29
+
30
+ ## Data Layout:
31
+
32
+ Each simulation is stored as a single hdf5 file
33
+ - initial
34
+ - fluid
35
+ - UID, Contains a unique identifier for each fluid particle to track them over time
36
+ - positions, initial particle position
37
+ - velocities, initial particle velocity
38
+ - areas, fixed particle area
39
+ - masses, fixed particle mass
40
+ - densities, initial particle density, identical to the rest density of the fluid
41
+ - potential, potential field used to create the divergence free initial velocity field
42
+ - boundary
43
+ - UID, contains a unique identifier for each boundary particle
44
+ - bodyIDs, contains the boundary object ID this particle belongs to
45
+ - positions, initial particle position
46
+ - velocities, initial particle velocity
47
+ - areas, fixed particle area
48
+ - masses, fixed particle mass
49
+ - densities, initial particle density, identical to the rest density of the fluid
50
+ - distances, distance of the boundary particle to the corresponding bodies surface
51
+ - normals, direction towards the surface of the corresponding body
52
+ - simulationExport
53
+ - '%05d', e.g., '00001'
54
+ - UID
55
+ - boundaryDensity
56
+ - boundaryVelocity
57
+ - fluidDensity
58
+ - fluidVelocity
59
+ - fluidPosition
60
+ - fluidShiftAmount, $\delta^+$-SPH shifting update from the previous step
61
+ - ...
62
+ - config (Contains a full copy of the diffSPH simulation config)
63
+
64
+ For examples on loading and visualizing the data refer to the two contained notebooks (datasetVisualizer.ipynb to visualize individual frames and datasetOverview.ipynb to visualize the entire dataset)
65
+
66
+ ## Dataset Overview
67
+
68
+ The initial conditions show the velocity field color coded (and mapped to a grid) at $t=0$ with streamlines to visualize the flow field. The final state shows the particles color coded by their initial position/UID as particles. The UID is initialized from left to right, from bottom to top, in linear fashion.
69
+
70
+ Initial Conditions | Final State
71
+ ---|---
72
+ ![](./initial-periodic.png) | ![](./final-periodic.png)
73
+
74
+
75
+ ## Dataset example trajectory
76
+
77
+ Example training case for base Frequency = 1, octaves = 3:
78
+ ![](./images/output_none_128x2x1.0x3x0_2024_11_03-10_29_52.gif)
79
+
80
+ Example test case for k=2:
81
+ ![](./images/output_none_TGV_128x2x2.0_2024_11_04-15_18_30.gif)
datasetOverview.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
datasetVisualizer.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
final-periodic.png ADDED

Git LFS Details

  • SHA256: 2201d8118087c0dd2604f6b5a64c45f7391f9855da5e858a7782e09bc2b917df
  • Pointer size: 132 Bytes
  • Size of remote file: 4.3 MB
images/output_none_128x2x1.0x1x0_2024_11_03-10_14_22.gif ADDED

Git LFS Details

  • SHA256: dbcfdb9c3f34e457c8d98c76ca4a7d6d225c01bab656c5f71b1fb1f4a8f03b1d
  • Pointer size: 133 Bytes
  • Size of remote file: 20.3 MB
images/output_none_128x2x1.0x2x0_2024_11_03-10_22_11.gif ADDED

Git LFS Details

  • SHA256: 7a7882b373e15a6717d0365b03e8c6df01c3e5af328a8f497907992f8e78ca3c
  • Pointer size: 133 Bytes
  • Size of remote file: 21.8 MB
images/output_none_128x2x1.0x3x0_2024_11_03-10_29_52.gif ADDED

Git LFS Details

  • SHA256: 5ebc7b3a8f4b4a3eb39f41a5f3f5c49b6d4d194617857fa1445212ca98e83b8d
  • Pointer size: 133 Bytes
  • Size of remote file: 21.9 MB
images/output_none_128x2x1.0x4x0_2024_11_03-10_37_25.gif ADDED

Git LFS Details

  • SHA256: 94cafadcb30a0d3a99d85bbcf598ea0a62895cf0c77ec4793004cbb73b97070f
  • Pointer size: 133 Bytes
  • Size of remote file: 21.6 MB
images/output_none_128x2x2.0x1x0_2024_11_03-10_44_58.gif ADDED

Git LFS Details

  • SHA256: a72dec3b297a0a6aa8368c07f7ce7d3a382eb4e245f54f50b7870bf041b83331
  • Pointer size: 133 Bytes
  • Size of remote file: 22.8 MB
images/output_none_128x2x2.0x2x0_2024_11_03-10_52_33.gif ADDED

Git LFS Details

  • SHA256: dd2701248a70779d03d1700890c5882dbaee63fbe6f20f64f0dbac3900a15b95
  • Pointer size: 133 Bytes
  • Size of remote file: 22.1 MB
images/output_none_128x2x2.0x3x0_2024_11_03-11_00_11.gif ADDED

Git LFS Details

  • SHA256: 27cc748cddc8777808d631032993e586da384d3412c04e4003f308ba94f7350f
  • Pointer size: 133 Bytes
  • Size of remote file: 22.3 MB
images/output_none_128x2x2.0x4x0_2024_11_03-11_07_49.gif ADDED

Git LFS Details

  • SHA256: 3beea1dcf06ab4b7c9d4e114d354cfea25ad338293f1696aa79fde122476aafb
  • Pointer size: 133 Bytes
  • Size of remote file: 21.7 MB
images/output_none_128x2x4.0x1x0_2024_11_03-11_15_29.gif ADDED

Git LFS Details

  • SHA256: a393609127feed026932c4438f059d9c27f18c9aecd25ec912c19757a040c7d0
  • Pointer size: 133 Bytes
  • Size of remote file: 21.6 MB
images/output_none_128x2x4.0x2x0_2024_11_03-11_23_06.gif ADDED

Git LFS Details

  • SHA256: 83324e2b324195f9ffd01c9383302669940d065a9969cc30a7abc6346cdd6511
  • Pointer size: 133 Bytes
  • Size of remote file: 19.6 MB
images/output_none_128x2x4.0x3x0_2024_11_03-11_30_45.gif ADDED

Git LFS Details

  • SHA256: 10538a59a1327910850cf656a0325fa987ffdfe87f7a88367c08da6763030810
  • Pointer size: 133 Bytes
  • Size of remote file: 19.8 MB
images/output_none_128x2x4.0x4x0_2024_11_03-11_38_30.gif ADDED

Git LFS Details

  • SHA256: cb0fd81259a946d0f17928a1f190d8ca4cbce8f845936f0c675cfdef490f51b2
  • Pointer size: 133 Bytes
  • Size of remote file: 19.2 MB
images/output_none_128x2x8.0x1x0_2024_11_03-11_46_10.gif ADDED

Git LFS Details

  • SHA256: 9104cae2148ae2bfe69ca5075e85327e692f1fbd6c69336f5dfd581ed67b2591
  • Pointer size: 133 Bytes
  • Size of remote file: 19.7 MB
images/output_none_128x2x8.0x2x0_2024_11_03-11_53_56.gif ADDED

Git LFS Details

  • SHA256: a7e2a314923ce30648ea6feb172d912a43b68c832a3df7490ba4cd1caf403450
  • Pointer size: 133 Bytes
  • Size of remote file: 18 MB
images/output_none_128x2x8.0x3x0_2024_11_03-12_01_40.gif ADDED

Git LFS Details

  • SHA256: 3ec681f38f929d655ee98040160ebfb28df42730c46577ae823a071a14be9ebc
  • Pointer size: 133 Bytes
  • Size of remote file: 17.8 MB
images/output_none_128x2x8.0x4x0_2024_11_03-12_09_26.gif ADDED

Git LFS Details

  • SHA256: bc9dc42a9c6a61728adde6de5e849d410c5a79a47711af003f90ce1c1319f65a
  • Pointer size: 133 Bytes
  • Size of remote file: 17.6 MB
images/output_none_TGV_128x2x1.0_2024_11_04-16_04_04.gif ADDED

Git LFS Details

  • SHA256: 37ac645e9039d0cd63b7ac192ce5941f7a71f9c4d60614bec54578e70a4bec82
  • Pointer size: 133 Bytes
  • Size of remote file: 22.2 MB
images/output_none_TGV_128x2x2.0_2024_11_04-15_18_30.gif ADDED

Git LFS Details

  • SHA256: 4dbe703c72be171af3d1003ed1f0bebf261b58b3d8f283de1ec1e270348a8e74
  • Pointer size: 133 Bytes
  • Size of remote file: 20.9 MB
images/output_none_TGV_128x2x3.0_2024_11_04-16_50_45.gif ADDED

Git LFS Details

  • SHA256: de0ca2b33f6c4aa6a514bc51bdda79e67264de703a7df6974bb7843de834d7ab
  • Pointer size: 133 Bytes
  • Size of remote file: 23.6 MB
images/output_none_TGV_128x2x4.0_2024_11_04-17_37_25.gif ADDED

Git LFS Details

  • SHA256: 0fa644a0bbc3f701b80c61ccb31eb17d1ec91592acd674da4b64b7711e6ba02a
  • Pointer size: 133 Bytes
  • Size of remote file: 21.6 MB
initial-periodic.png ADDED

Git LFS Details

  • SHA256: 088eab75a193b8fa7f2d5bc827a94769c34b7409985f927c2630164ec1e64a11
  • Pointer size: 132 Bytes
  • Size of remote file: 3.35 MB