CFDEM®coupling stands for Computational Fluid Dynamics (CFD) - Discrete Element Method (DEM) coupling. It combines the open source packages OpenFOAM® (CFD) and LIGGGHTS® (DEM) to simulate particle-laden flows. CFDEM®coupling is part of the CFDEM®project.
This is an adaptation of particulate flow modelling department CFDEMcoupling.
Make sure OpenFOAM 6.0 is set up correctly and LIGGGHTS is installed as well. Clone the CFDEMcoupling source from the repository:
cd $HOME
mkdir CFDEM
cd CFDEM
git clone git@github.com:behradesg/CFDEMcoupling_BE.gitOpen the bashrc file of CFDEMcoupling
gedit ~/CFDEM/CFDEMcoupling_BE/etc/bashrc &Edit the lines marked as USER EDITABLE PART to reflect your installation paths correctly. Save the bashrc file and reload it:
source ~/CFDEM/CFDEMcoupling_BE/etc/bashrcEntering $CFDEM_PROJECT_DIR in a the terminal should now give "... is a directory"
Check if everything is set up correctly:
cfdemSysTestIn case LIGGGHTS has already been compiled via cmake, it is possible to just compile LIGGGHTS-related sub-libraries using:
cfdemCompLIGlibIf the compilation fails with a message like
No rule to make target `/usr/lib/libpython2.7.so'you probably need to create a symbolic link to the library in question.
Compile CFDEMcoupling (library, solvers and utilities) in one go
cfdemCompCFDEMor alternatively step by step
cfdemCompCFDEMsrc
cfdemCompCFDEMsol
cfdemCompCFDEMutiFind the log files of the compile process
cd ~/CFDEM/CFDEMcoupling_BE/etc/log
lsIf the file log_compile_results_success is present, compilation was successful.
The simulation cases can be found in tutorials/cfdemSolverPimple/UnboundedFluidizationCases/
- This software is distributed under the GNU General Public License.
- Some parts of CFDEM®coupling are based on OpenFOAM® and Copyright on these parts is held by the OpenFOAM® Foundation (www.openfoam.org) and potentially other parties.
- Some parts of CFDEM®coupling are contributed by other parties, which are holding the Copyright. This is listed in each file of the distribution.