CFD-DEM Tutorial – Vacuum Excavator
We created a tutorial for a coupled CFD-DEM simulation using LIGGGHTS and OpenFoam. Please check out the video file on youtube. I hope you find it helpful.
This is a full tutorial, starting with the CAD model, the meshing with snappyHexMesh, the boundary conditions and the DEM simulation to the final coupled CFD and DEM simulation using CFDEM. You can also follow the tutorial on this block. The major steps are explained and shown via screenshots.
A coupled simulation contains 3 major steps
- The geometry generation. Here blender will be used for this but also every CAD system can be used to model your maschine or process geometry.
- A CFD simulation must be set up. A mesh is needed to run the simulation. Here openFoam will be used. The mesh is generated using snappyHexMesh. Because openFoam can be challenging from its interface, we were using helyx as a front end.
- The DEM simulation must be set up in liggghts. The coupling must be activated. After this liggghts and openFoam are exchanging forces and velocites.
- The results are post-processed in paraview
The download link to the CFD-DEM tutorial can be found under the video.at the end of the page.
The opensource software “blender” can be used instead of a CAD program to design the geometries you need for your simulation. I’m using the version 2.8xx here. Blender is a very functional and powerful tool, which needs a bit of time to get used to. However, after a while it gets very efficient to use blender to model geometries or do basic changes like adding a plates or resizing parts of the structure.
If you are working with complex industry models, it’s probably the best to use a CAD model first. This model then must be exported as an STL file. STL files are triangulated surface meshes. These meshed are used in the CFD and the DEM simulation for any maschine structure, the in- and outlets and the other boundary conditions.
STL files can also be opened in blender and remodeled if necessary.
The created STL files, each for every functional face, are loaded into helyx. Helyx is an open source frontend for openFoam. Hence it works only with openFoam 4.1 I’m using OF 4.1 here, too.
Helyx is used here for the the creation of the mesh and the setup of the boundary condition. A test simulation well also useful out of helyx.
The part are loaded and should now be visible on the right side of the window.