Changes
Page history
image added for navier-stokes example
authored
Aug 11, 2019
by
Praetorius, Simon
Show whitespace changes
Inline
Side-by-side
examples/navier-stokes.md
View page @
9ad0b0b3
...
@@ -195,3 +195,17 @@ Complete Example
...
@@ -195,3 +195,17 @@ Complete Example
----------------
----------------
The full source code of the Navier-Stokes example can be found in the repository
The full source code of the Navier-Stokes example can be found in the repository
at
[
src/navier-stokes.cpp
](
https://gitlab.mn.tu-dresden.de/amdis/amdis-examples/blob/master/src/navier-stokes.cpp
)
.
at
[
src/navier-stokes.cpp
](
https://gitlab.mn.tu-dresden.de/amdis/amdis-examples/blob/master/src/navier-stokes.cpp
)
.
Compile with
```
cmake --build build --target navier-stokes
```
and run with
```
./build-cmake/src/navier-stokes init/navier-stokes.dat
```
The result will look like
<img
src=
"images/navier-stokes.png"
with=
"50%"
/>
\ No newline at end of file