Summary
In this paper, the macroscopic equations of mass and momentum are developed and discretized based on the smoothed particle hydrodynamics (SPH) formulation for the interaction at an interface of flow with porous media. The theoretical background of flow through porous media is investigated to highlight the key constraints that should be satisfied, particularly at the interface between the porous media flow and the overlying free flow. The study aims to investigate the derivation of the porous flow equations, computation of the porosity, and treatment of the interfacial boundary layer. It addresses weak assumptions that are commonly adopted for interfacial flow simulation in particle‐based methods. As support to the theoretical analysis, a two‐dimensional weakly compressible SPH model is developed based on the proposed interfacial treatment. The equations in this model are written in terms of the intrinsic averages and in the Lagrangian form. The effect of particle volume change due to the spatial change of porosity is taken into account, and the extra stress terms in the momentum equation are approximated by using Ergun's equation and the subparticle scale model to represent the drag and turbulence effects, respectively. Four benchmark test cases covering a range of flow scenarios are simulated to examine the influence of the porous boundary on the internal, interface, and external flows. The capacity of the modified SPH model to predict velocity distributions and water surface behavior is fully examined with a focus on the flow conditions at the interfacial boundary between the overlying free flow and the underlying porous media.