pbosler / lpm

Lagrangian Particle Methods
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Rossby-Haurwitz 54 Transport Vorticity Test Case Blow-Up #108

Open jasonltorchinsky opened 11 months ago

jasonltorchinsky commented 11 months ago

Compiled Third-Party Libraries (TPL) according to instructions included in the README.md of the scripts subdirectory on Windows using Ubuntu via Windows Subsystem Linux (WSL). Built LPM via

# Assumes LPM repo cloned to ..
LPM_SRC=..

# Assumes third-party libraries are in the following directories
export KOKKOS_INSTALL=$HOME/kokkos/install
export KOKKOS_KERNELS_INSTALL=$HOME/kokkos_kernels/build/install
export COMPOSE_INSTALL=$HOME/compose/build/install
export COMPADRE_INSTALL=$HOME/compadre/build/install

# Build LPM in Debug mode
cmake \
    -DCMAKE_BUILD_TYPE=Debug \
    -DCMAKE_INSTALL_PREFIX=./install \
    -DCMAKE_C_COMPILER=mpicc \
    -DCMAKE_CXX_COMPILER=mpicxx \
    -DKokkos_DIR=$KOKKOS_INSTALL \
    -DKokkosKernels_DIR=$KOKKOS_KERNELS_INSTALL \
    -DCompose_DIR=$COMPOSE_INSTALL \
    -DCompadre_DIR=$COMPADRE_INSTALL \
    -DLPM_PRECISION=double \
    -DLPM_ENABLE_Compose=ON \
    -DLPM_ENABLE_VTK=ON \
    $LPM_SRC

make

Ran the sphere_transport test via ./sphere_transport and visualized the final time-step using Paraview. Coloring the grid using RossbyHaurwitz54 shows values ranging for 4.4E13 to -2.3E10.

image