LimitedDG

— Code for the numerical solution of immiscible two-phase flows in porous media, which is obtained by augmenting interior penalty DG formulation with post-processing flux and slope limiters. Resulting solutions are accurate, robust, mesh-independent, mass-conservative, and maximum-principle satisfying. The repo entails several examples of pressure-driven flow and quarter-five spot that account for gravity, capillary effects, and heterogeneity.

Download from GitHub https://github.com/msarrafj/LimiterDG

References:

[1]  M. S. Joshaghani, B. Riviere, and M. Sekachev, Maximum-principle-satisfying discontinuous Galerkin methods for incompressible two-phase immiscible flow
submitted to Computer Methods in Applied Mechanics and Engineering Journal, 2021 [arXiv link] [Abstract] [BibTeX]

VertexBased-FE

— Code for a low-order numerical scheme that solves two-phase flows problems in heterogeneous porous media, The method is obtained by a first order finite element method equipped with mass-lumping and flux upwinding. The repo entails several examples of quarter-five spot problems and SPE10 problems in 2D and 3D settings.

Download from GitHub https://github.com/msarrafj/Vertex_based_method

References:

[1]  M. S. Joshaghani, V. Girault, and B. Riviere, A vertex scheme for two-phase flow in heterogeneous media
submitted to Journal of Computational Physics, 2021 [arXiv link] [Abstract] [BibTeX]

HPC-composableSolver

— Code for implementing recently developed block preconditioning strategies to solve the discrete systems that arise from double porosity/permeability model in 2D and 3D porous media. Implementation for three different finite element discretizations (classical mixed formulation with H(div) elements, stabilized continuous Galerkin mixed formulation, and stabilized discontinuous Galerkin mixed formulation) are provided to compare scalability of solver strategies for each case. Solvers are implemented seamlessly using the existing PETSc’s composable solver options.

Download from GitHub https://github.com/msarrafj/HPC_composableSolver

References:

[1]  M. S. Joshaghani, J. Chang, K. B. Nakshatrala, and M. G. Knepley, On composable block solvers and performance spectrum analysis for double porosity/permeability model
Journal of Computational Physic, 386: 428-466, 2019 [arXiv link] [Abstract] [BibTeX]
[2]  M. S. Joshaghani, Multi-scale and interface mechanics for porous media: mathematical models and computational frameworks
PhD Thesis, University of Houston, 2019 [Abstract] [BibTeX]

DPP-DG

— Code for a stabilized mixed DG formulation of double porosity/permeability (DPP) model, which describes the flow of a single-phase incompressible fluid in a rigid porous medium with two distinct pore-networks with possible mass transfer across them. The method provides accurate results even for disparate material properties, captures physical instabilities while eliminating numerical artifacts, and supports non-conforming discretizations. The repo entails codes for solving the coupled flow-transport problem (such as miscible displacement) in the heterogeneous porous medium.

Download from GitHub https://github.com/msarrafj/Double_Porosity_Permeability

References:

[1]  M. S. Joshaghani, S. H. Joodat, and K. B. Nakshatrala, A stabilized mixed discontinuous Galerkin formulation for double porosity/permeability model
Computer Methods in Applied Mechanics and Engineering Journal, 352: 508-560, 2019 [arXiv link] [Abstract] [BibTeX]
[2]  M. S. Joshaghani, Multi-scale and interface mechanics for porous media: mathematical models and computational frameworks
PhD Thesis, University of Houston, 2019 [Abstract] [BibTeX]

StableDegradation

— Code for diffusion-induced degradation/healing of solid materials that undergo (elastoplastic) deformation. Solver hinges on an optimization-based non-negative (NN) formulation that respects physical constraints. This code entails two different coupling strategies and two different degradation models.

Download from GitHub https://github.com/msarrafj/Coupled-plasticity-diffusion

References:

[1]  M. S. Joshaghani, and K. B. Nakshatrala, A modeling framework for coupling plasticity with species diffusion
submitted to International Journal for Numerical Methods in Engineering, 2020 [arXiv link] [Abstract] [BibTeX]