OpenHFDIB-DEM: Adding solid bodies

For the 21st OpenFOAM Workshop, held in Guimarães in 2026, we prepared a short course introducing our open-source CFD-DEM framework, OpenHFDIB-DEM. This video is the second in the series and focuses on one of the fundamental steps in any particle-resolved simulation: adding solid bodies to the computational domain. Starting from a basic case setup, we demonstrate the different approaches available in OpenHFDIB-DEM for defining immersed solids. The tutorial covers both analytically defined geometries and complex triangulated surfaces, providing the foundation for simulations involving fixed or moving bodies. Topics covered in this video: • Adding a single solid body to the computational domain • Definition of ideal spherical particles • Importing STL-defined geometries • Working with both convex and non-convex bodies • Adaptive mesh refinement in the vicinity of solid boundaries • Mesh-resolution considerations for immersed boundary simulations • Generating multiple solid bodies • Random distribution of particles throughout the computational domain • Practical recommendations for robust case setup By the end of the tutorial, viewers will understand how to create computational domains containing anything from a single sphere to large collections of arbitrarily shaped bodies, forming the basis for subsequent CFD-DEM simulations. OpenHFDIB-DEM repository: https://github.com/techMathGroup/open... Course playlist:    • OpenHFDIB-DEM   Course repository: https://github.com/techMathGroup/open... Laboratory webpage: https://techmathgroup.isoz.eu/ Workshop: 21st OpenFOAM Workshop, Guimarães, Portugal (2026) The course materials are based on the continuously developed open-source framework used in academic research and engineering applications involving fluid-particle interactions, particulate flows, and immersed boundary methods. If you find the course useful, consider starring the GitHub repository and subscribing for future tutorials and updates.