Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Execution Environment for Testing Divergence Free Interpolation in Flash-X + AMReX

Notifications You must be signed in to change notification settings

Lab-Notebooks/AMReX-Divfree

Repository files navigation

Execution Environment for Testing Divergence Free Interpolation in Flash-X + AMReX

Overview of steps to get this lab notebook running.

  1. Install Jobrunner, pip install pyjobrunner==2023.8 --user, make sure ~/.local/bin is in your path.

  2. Create a new sites folder for you machine see sites/<site-name>

  3. Copy sites/sedona/environment.sh and sites/sedona/Makefile.h to sites/<site-name>.

  4. Edit sites/<site-name>/environment.sh to set MPI_HOME and HDF5_HOME. If HDF5 is not installed on your machine do step 7.

  5. Run configure:

./configure -s <site-name>

This will create config.sh

  1. Setup software stack:
jobrunner setup software/amrex
jobrunner setup software/flashx
jobrunner setup software/flashkit
  1. If HDF5 is not available on your local machine do:
jobrunner setup  software/hdf5
  1. Setup a test simulation:
jobrunner setup simulation/DeformingBubble/DivFreeTest2D
  1. Run the simulation
jobrunner submit simulation/DeformingBubble/DivFreeTest2D

Console output can be viewed in file simulation/DeformingBubble/DivFreeTest2D/job.output

  1. Postprocessing:
cd simulation/DeformingBubble/DivFreeTest2D
flashkit create xdmf --auto

This will create INS_Deforming_Bubble.xmf that can be opened in paraview.

About

Execution Environment for Testing Divergence Free Interpolation in Flash-X + AMReX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published