This repository contains the codes used to generate the example presented in Lavigne et al. 1 (published as an open-source tutorial article in JMBBM journal). Porous-media modelling of confined ...