Skip to content

trixi-framework/talk-2024-adaptex-interactive-trixi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Trixi.jl demo

License: MIT

ADAPTEX Annual meeting, 14th of May, 2024.

To reproduce the live demo of 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

git clone https://github.com/trixi-framework/talk-2024-adaptex-interactive-trixi.git

Install required packages

Go to the cloned repository and execute

julia --project=. -e 'import Pkg; Pkg.instantiate()'

This will take some time!

Start the demo

Using Jupyter

Go to the cloned repository and execute

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:

julia --project=. scripts/mountain_mesh.jl

To run the simulation:

JULIA_NUM_THREADS=4 julia --project=. scripts/mountain_gravity_wave.jl

Result

Final result

Authors

This repository was initiated by Benedict Geihe.

The HOHQMesh Julia scripts were created with great help from Andrew R. Winters!

License

The contents of this repository are licensed under the MIT license (see LICENSE.md).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published