Overview
The OpenLB project provides a C++ package for the implementation of lattice Boltzmann methods that is general enough to address a vast range of transport problems, e.g. in computational fluid dynamics. The source code is publicly available and constructed in a well readable, modular way. This enables for a fast implementation of both academic and advanced engineering applications. It is also easily extensible to include new physical models.
Building and Running OpenLB
Download v1.7 from https://zenodo.org/records/10684609/files/olb-1.7r0.tgz.
Untar olb-1.7r0.tgz cd olb-1.7r0 Edit config.mk
Sample build script:
#!/bin/bash module load intel/2023.2 module load compiler mkl MPI=impi-2021.10.0 MPI=hpcx-2.18 module load hpcx/2.18 if [[ "$MPI" =~ ^impi ]]; then export MPICC=mpiicc export MPICXX=mpiicpc elif [[ "$MPI" =~ ^hpcx ]]; then export OMPI_MPICC=icc export OMPI_MPICXX=icpc export MPICC=mpicc export MPICXX=mpicxx fi make clean make
Task and Submissions
Download the input
.Uncompress the file to OpenLB root directory.
cd rayleighTaylor3d.cpp
make
Run the application
mpirun -np <NPROC> <MPIFLAGS> rayleighTaylor3d
Submit the stdout, config.mk, and Makefile.
Add Comment