We present a 2D parallel implementation of the modified Cahn-Hilliard equation for the simulation of a biofilm in an aqueous enviroment. Biofilms are attached microbial communities made of many different components and can have both positive and negative effects. They can be used for bioremediation but also are the cause of the majority of chronic infections. It is for these reasons that we study them. Due to their composition being mostly water we choose to model them as an incompressible fluid. We used a visco-elastic phase separation model based on the modified Cahn-Hilliard equation and the Flory-Huggins energy density. We present results of a simulation showing detachment of a biofilm protrusion from a base layer of biofilm due to the flow over the biofilm. The parallelization was accomplished using PETSc (Portable, Extensible Toolkit for Scientific Computing), specifically the DMDA abstraction layer within PETSc. DMDA provides a useful interface for the solution of linear systems arising from structured grid discretizations. We evaluate the parallel performance of the implementation with a strong scaling test and calculate the speedup for various mesh sizes.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.