Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trixi-framework/talk-2024-adaptex-interactive-trixi
https://github.com/trixi-framework/talk-2024-adaptex-interactive-trixi
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/trixi-framework/talk-2024-adaptex-interactive-trixi
- Owner: trixi-framework
- License: mit
- Created: 2024-05-08T10:11:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-28T10:24:13.000Z (7 months ago)
- Last Synced: 2024-11-10T00:53:08.361Z (about 1 month ago)
- Language: Jupyter Notebook
- Size: 5.67 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Interactive Trixi.jl demo
[![License: MIT](https://img.shields.io/badge/License-MIT-success.svg)](https://opensource.org/licenses/MIT)
ADAPTEX Annual meeting, 14th of May, 2024.
To reproduce the live demo of [Trixi.jl](https://github.com/trixi-framework/Trixi.jl)
shown in the talk, perform the following steps:### Install Julia
Go to https://julialang.org/downloads and download the latest stable version of Julia (this
repository was created with Julia v1.10.3).### Get reproducibility repository
Clone this reproducibility repository by executing
```shell
git clone https://github.com/trixi-framework/talk-2024-adaptex-interactive-trixi.git
```### Install required packages
Go to the cloned repository and execute
```shell
julia --project=. -e 'import Pkg; Pkg.instantiate()'
```
**This will take some time!**### Start the demo
#### Using Jupyter
Go to the cloned repository and execute
```shell
JULIA_NUM_THREADS=4 jupyter-lab demo.ipynb
```
(multiple threads are not required, but will be helpful later on)#### Using Julia directly
To generate the mesh:
```shell
julia --project=. scripts/mountain_mesh.jl
```To run the simulation:
```shell
JULIA_NUM_THREADS=4 julia --project=. scripts/mountain_gravity_wave.jl
```### Result
![Final result](result.png)## Authors
This repository was initiated by
[Benedict Geihe](https://www.mi.uni-koeln.de/NumSim/dr-benedict-geihe/).The HOHQMesh Julia scripts were created with great help from
[Andrew R. Winters](https://liu.se/en/employee/andwi94)!## License
The contents of this repository are licensed under the MIT license (see [LICENSE.md](LICENSE.md)).