Skip to content

Commit

Permalink
[doc] Add examples: SPH, FLIP, Terrain, Billiards, PIV, Learn_Throw
Browse files Browse the repository at this point in the history
  • Loading branch information
holl- committed May 12, 2024
1 parent 4a2db19 commit 989aac9
Show file tree
Hide file tree
Showing 14 changed files with 10,603 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ making it easy to build end-to-end differentiable functions involving both learn

### Mesh

Meshes are new in Φ<sub>Flow</sub> 3.0. We are working on the demos!

<table>
<tbody>
<tr>
Expand All @@ -99,20 +101,20 @@ making it easy to build end-to-end differentiable functions involving both learn
<table>
<tbody>
<tr>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/.html"><img src="docs/figures/examples/particles/"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/.html"><img src="docs/figures/examples/particles/"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/SPH.html"><img src="docs/figures/examples/particles/SPH.jpg"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/FLIP.html"><img src="docs/figures/examples/particles/FLIP.png"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/Streamlines.html"><img src="docs/figures/examples/particles/Streamlines.jpg"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/.html"><img src="docs/figures/examples/particles/"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/Terrain.html"><img src="docs/figures/examples/particles/Terrain.jpg"></a></td>
</tr>
<tr>
<td align="center">SPH</td>
<td align="center">FLIP</td>
<td align="center">Streamlines</td>
<td align="center">Heightmaps</td>
<td align="center">Terrain</td>
</tr>
<tr>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/Gravity.html"><img src="docs/figures/examples/particles/Gravity.jpg"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/.html"><img src="docs/figures/examples/particles/"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/Billiards.html"><img src="docs/figures/examples/particles/Billiards.png"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/particles/Ropes.html"><img src="docs/figures/examples/particles/Ropes.png"></a></td>
</tr>
<tr>
Expand All @@ -130,13 +132,13 @@ making it easy to build end-to-end differentiable functions involving both learn
<tr>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/optim/Gradient_Descent.html"><img src="docs/figures/examples/optim/Gradient_Descent.png"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/optim/Optimize_Throw.html"><img src="docs/figures/examples/optim/Optimize_Throw.png"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/optim/.html"><img src="docs/figures/examples/optim/"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/optim/.html"><img src="docs/figures/examples/optim/"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/optim/Learn_Throw.html"><img src="docs/figures/examples/optim/Learn_Throw.jpg"></a></td>
<td style="width: 25%;"><a href="https://tum-pbs.github.io/PhiFlow/examples/optim/PIV.html"><img src="docs/figures/examples/optim/PIV.jpg"></a></td>
</tr>
<tr>
<td align="center">Gradient Descent</td>
<td align="center">Optimize throw</td>
<td align="center">Learn to Throw</td>
<td align="center">Learning to throw</td>
<td align="center">PIV</td>
</tr>
<tr>
Expand All @@ -146,14 +148,12 @@ making it easy to build end-to-end differentiable functions involving both learn
</tr>
<tr>
<td align="center">Close packing</td>
<td align="center">Learn Φ(x,y)</td>
<td align="center">Learning Φ(x,y)</td>
<td align="center">Differentiable pressure</td>
</tr>
</tbody>
</table>

[Learning to Throw](https://tum-pbs.github.io/PhiFlow/Learn_to_Throw_Tutorial.html)


## Installation

Expand Down
Binary file added docs/figures/examples/optim/Learn_Throw.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figures/examples/optim/PIV.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figures/examples/particles/Billiards.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figures/examples/particles/FLIP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figures/examples/particles/SPH.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/figures/examples/particles/Terrain.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
290 changes: 290 additions & 0 deletions examples/optim/Learn_Throw.ipynb

Large diffs are not rendered by default.

693 changes: 693 additions & 0 deletions examples/optim/PIV.ipynb

Large diffs are not rendered by default.

806 changes: 806 additions & 0 deletions examples/particles/Billiards.ipynb

Large diffs are not rendered by default.

5,757 changes: 5,757 additions & 0 deletions examples/particles/FLIP.ipynb

Large diffs are not rendered by default.

1,783 changes: 1,783 additions & 0 deletions examples/particles/SPH.ipynb

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions examples/particles/Terrain.ipynb

Large diffs are not rendered by default.

Binary file added examples/particles/Terrain003_2K.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 989aac9

Please sign in to comment.