CyrilleBonamy / Yade-OpenFOAM-coupling

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:GNU General Public License v3.0


Languages

Language:C 64.4%Language:C++ 35.6%