/Yade-OpenFOAM-coupling

An OpenFOAM solver for realizing CFD-DEM simulations with the Open Source Discrete Element Solver Yade-DEM.

Primary LanguageCGNU General Public License v3.0GPL-3.0

Yade-OpenFOAM-coupling

An OpenFOAM solver for realizing CFD-DEM simulations with the Open Source Discrete Element Solver Yade-DEM.

UPDATE (27 Nov 2019)

  • Full parallel coupling between Yade and OpenFOAM (as Yade is now fully parallel based on MPI)

Alt text

Prerequisites : Latest Yade git version with the FoamCoupling engine (https://gitlab.com/yade-dev/trunk). OpenFOAM-6.

Build

  • Compile the lib FoamYade and solver icoFoamYade :
    • ./Allwmake

Running

  • Copy example to $FOAM_RUN
  • Create a symbolic link
    • ln -s /path/to/your/yade/install/bin/yade-exec libyade.py
  • Run
    • cp -r example_icoFoamYade /to/your/run/dir
    • mpiexec -n 1 python scriptYade.py : -n 2 icoFoamYade -parallel