MigFlow

# Migflow

MigFlow is a free and open source software dedicated to the simulations, in complex geometry, of immersed granular flows (mixture fluid-grains) presenting a large discrepancy in the solid volume fraction going from pure fluid to porous media. The fluid is solved using the finite element method at a greater scale than the grain scale while the grains are solved using the discrete element method to obtain accurate representation of the local effects due to the grains configuration.

#### [Fluid Solver](https://fluidparticles.git-page.immc.ucl.ac.be/migflow/testcases.html#fluid)

The fluid solver relies on P2-P1 or stabilised P1-P1 velocity-pressure finite element formulations for the Volume Averaged Navier-Stokes equations. Complex free-surface flows are handled using the Particle Finite Element Method (PFEM). Two-fluid configurations are represented through a discontinuous level set approach.

#### [Non-Smooth Contact Dynamics solver](https://fluidparticles.git-page.immc.ucl.ac.be/migflow/testcases.html#grains)

The grain solver is based on the impulse formulation of rigid body dynamics within the Non-Smooth Contact Dynamics framework. Supported contactors include discs, spheres, rounded polygons, and clusters of discs or spheres.

#### [Fluid-Grain Coupling](https://fluidparticles.git-page.immc.ucl.ac.be/migflow/testcases.html#fluid-grains)

The fluid-grain coupling supports grain representations based either on grain centroids or on the exact overlapping area between mesh triangles and grain volumes. A unified framework allows seamless transitions from unresolved to fully resolved descriptions. Heat transfer coupling between the fluid and the grains is also available.