svMultiPhysics: a finite element-based solver for cardiovascular simulations
Heart disease remains the leading cause of death in the United States, motivating extensive efforts to improve its diagnosis, treatment, and prevention. Over the past decade, computational modeling has emerged as a powerful tool to advance cardiovascular research by enabling detailed, patient-specific studies of cardiac physiology and pathology. svMultiPhysics is an open-source, parallel finite element solver written in C++ specifically designed for multiphysics cardiovascular problems. It provides a unified framework for simulating the partial differential equations that govern solid mechanics, fluid dynamics, diffusion, and cardiac electrophysiology. These equations can be solved independently or in a coupled fashion, allowing researchers to investigate interactions between physical processes in a modular yet integrated way. We verify the implementation against published benchmarks for incompressible flow, fluid-structure interaction, cardiac electrophysiology, and cardiac mechanics, including comparisons with published results of its Fortran predecessor. A whole-heart fluid-structure interaction (FSI) example demonstrates prescribed active myocardial contraction coupled to blood flow, immersed valve surfaces, and a closed-loop circulation. Performance studies compare linear solvers and preconditioners for rigid-wall computational fluid dynamics (CFD) and FSI simulations of an abdominal aortic aneurysm (AAA) and biventricular electrophysiology simulations. Preliminary CPU-GPU comparisons show reduced runtimes for selected GPU-enabled configurations, subject to the limitations of short timing windows and different hardware architectures. As the primary three-dimensional solver in the SimVascular project, svMultiPhysics supports image-based cardiovascular modeling and is openly developed on GitHub.