This repository has moved to
https://github.com/ParticulateFlow/LBDEMcoupling-public.git
Please update your origin url accordingly! This repository will remain as-is, but won't receive any updates in the future.
LBDEMcoupling is a coupling between the Lattice Boltzmann (LB) library Palabos (http://www.palabos.org) and the Discrete Element Method code LIGGGHTS (http://www.ligggghts.com).
Just clone the git repo, and create the following three shell variables in your .bashrc:
export PALABOS_ROOT=path/to/palabos/
export LIGGGHTS_ROOT=path/to/liggghts/
export LBDEM_ROOT=path/to/lbdem/
You also need to move the files
fix_lb_coupling_onetoone.cpp
fix_lb_coupling_onetoone.h
to your LIGGGHTS installation directory and recompile LIGGGHTS from scratch.
It is assumed that you have basic knowledge in both Palabos and LIGGGHTS. If you are not familiar with one or both of the codes, it is strongly recommended that you work through a few tutorial and example cases.
To compile a case, it is necessary to build LIGGGHTS as a library. This is explained in the LIGGGHTS documentation. Compiling a case works just like in Palabos. In the Makefile, you will find the line
linkFlags = -Wl,--whole-archive -llmp_fedora -Wl,--no-whole-archive
In this line, you need to replace the -llmp_fedora with the name of your library (usually called lmp_whatever).
If you come across a multiple definition error during compilation, please consult this thread:
http://www.palabos.org/forum/read.php?11,6746,7581#msg-7581
LBDEM_USE_MULTISPHERE switches on support for the (non-public) multisphere model of LIGGGHTS
(c) Johannes Kepler University Linz, Austria
released under the GPLv3
main author: Philippe Seil ([email protected])