Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cubed sphere test cases #199

Draft
wants to merge 85 commits into
base: main
Choose a base branch
from
Draft

Add cubed sphere test cases #199

wants to merge 85 commits into from

Conversation

benegee
Copy link
Collaborator

@benegee benegee commented Jul 24, 2024

New test cases:

  • baroclinic instability
  • poor man's tracer advection with AMR (as show at MOW24)

Requires: trixi-framework/Trixi.jl#1918

To test this in the meantime:

  • Build and install t8code
    • has to be main
  • Build and install libtrixi
    • needs this branch: bg/baroclinic-instability
    • e.g. cmake -DCMAKE_INSTALL_PREFIX=~/install/libtrixi-baro -DCMAKE_BUILD_TYPE=DEBUG -DT8CODE_ROOT=~/install/t8code ..
    • make
    • make install
  • Build julia project
    • cd libtrixi-julia-baro
    • e.g. ./libtrixi-baro/bin/libtrixi-init-julia --t8code-library ../t8code/lib/libt8.so ../libtrixi-baro
    • JULIA_DEPOT_PATH=./julia-depot julia --project=.
    • Package manager ]
    • pkg> dev --local Trixi
    • leave Julia, cd dev/Trixi, git switch feature-t8code-cubed-sphere-setup, cd -
    • JULIA_DEPOT_PATH=./julia-depot julia --project=.
    • Package manager ]
    • update
    • maybe downgrade XML2_jll: add [email protected]
    • precompile
  • Run test case
    • cd libtrixi-baro
    • LIBTRIXI_DEBUG=all ./bin/trixi_controller_baroclinic_c ../libtrixi-julia-baro ./share/libtrixi/LibTrixi.jl/examples/libelixir_t8code3d_euler_baroclinic_instability.jl

benegee and others added 30 commits February 22, 2024 17:49
add parameter index and only get averaged of the variable at position index
proof of concept for creating data vectors in libelixirs which can be
filled later by external applications
required in this PR, subject to change
demonstrates source terms via database
@benegee benegee changed the title Add t8code baroclinic instability test case Add cubed sphere test cases Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants