ComFluSoM is a simulation kit for Complex Fluid, Solid and Soil Mechanics problems. Typically, Fluid-Structure Interactions, Fluid-Particle interactions.
- Lattice Boltzmann Method (LBM) for flow.
- Material Point Method (MPM) for solid and soil deformations.
- Discrete Element Method (DEM) for rigid particle motions.
- Random Walking Method (RWM) for solute (heat) transports.
- ComFluSoM is under a major modification, thus only part of DEM code (with limited capability) is aviable. the MPM part will be released soon. openMP is used to parallelize on CPU, a GPU version is also in long-term plan.
- DEM
- contact model:
sphere-sphere |
sphere-cuboid |
sphere-polyhedra |
convex polyhedra-polyhedra |
convex metaball-metaball |
elastic |
mohr-coulomb |
drucker-prager |
newtomian |
no-slip |
free-slip |
friction |
complex terrain |
no-slip |
free-slip |
velocity |
pressure |
- Tested on Ubuntu 22.04, latter version of Ubuntu should also work.
- Download the source code.
- Install dependencies (eigen3, hdf5 and cgal).
sudo apt install libeigen3-dev
sudo apt install libhdf5-dev
sudo apt-get install libcgal-dev
- Make sure you have cmake version later than 3.3.
- compile
- go to Test folder and into build under demo cases
- use ./ to run, for instance:
- Copyright (C) 2024 Pei Zhang
- Email: peizhang.hhu@gmail.com
- ComFluSoM is an open-source software under AGPL license, for commertial use, please contact me for a dual license.