Jumping drops Basilisk simulation with a two-phase workflow:
initialization (STL geometry to dumpInit) and a main MPI-compatible run.
- Basilisk (
qcconPATH) - MPI (optional, for parallel main phase)
- macOS or Linux
First-time install (or reinstall):
curl -sL https://raw.githubusercontent.com/comphy-lab/basilisk-C/main/reset_install_basilisk-ref-locked.sh | bash -s -- --ref=v2026-01-29 --hardSubsequent runs (reuses existing basilisk/ if same ref):
curl -sL https://raw.githubusercontent.com/comphy-lab/basilisk-C/main/reset_install_basilisk-ref-locked.sh | bash -s -- --ref=v2026-01-29Load the environment before running the scripts:
source .project_configNote: Replace
v2026-01-29with the latest release tag from https://github.com/comphy-lab/basilisk-C/releases.
# Full workflow (init + main)
./runSimulation.sh default.params
# Init only (STL -> dumpInit)
./runSimulation.sh --init-only default.params
# Main only (MPI)
./runSimulation.sh --main-only --mpi --cores 8 default.params
# Parameter sweep
./runParameterSweep.sh sweep.paramssrc-local/: shared headers and helpers (jumpingDrops_common.h,parse_params.sh).simulationCases/: Basilisk entry points and per-case output folders.runSimulation.sh,runParameterSweep.sh,runSweepSnellius.sbatch: workflows.default.params,sweep.params: example parameter inputs.
- Parameter files are
key=valuelines. - Required keys:
CaseNo,Oh,Bo,MAXlevel,tmax. - Sweep files define
BASE_CONFIG,CASE_START,CASE_END, andSWEEP_*values.
- Local: create
dumpInitfor each case. - Transfer
dumpInitto the HPC case folders. - Run:
sbatch runSweepSnellius.sbatch.
QUICK_REFERENCE.mdREFACTORING_SUMMARY.md