Graphnics: Combining FEniCS and NetworkX to simulate flow in complex networks
Ingeborg G. Gjerde

TL;DR
Graphnics is a library that integrates FEniCS and NetworkX to enable finite element simulations of flow in complex networks, demonstrated on biological vascular systems.
Contribution
The paper introduces the Graphnics library, combining FEniCS and NetworkX for network flow simulations with a new FenicsGraph class and practical biological network examples.
Findings
Vasomotion modeled as a sinusoidal wave can drive fluid flow in arterial networks.
The library simplifies the setup of network flow simulations using finite element methods.
Simulations align with experimental observations of biological flow dynamics.
Abstract
Network models facilitate inexpensive simulations, but require careful handling of bifurcation conditions. We here present the graphnics library, which combines FEniCS with NetworkX to facilitate network simulations using the finite element method. Graphnics features (i) a FenicsGraph class built on top of the NetworkX DiGraph class, that constructs a global mesh for a network and provides FEniCS mesh functions describing how they relate to the graph structure. (ii) Example models showing how the FenicsGraph class can be used to assemble and solve different network flow models. (iii) Demos showing e.g. how to run simulations on complex biological networks. Interestingly, the results show that vasomotion modelled as a travelling sinusoidal wave is capable of driving net perivascular fluid flow through an arterial tree, as has been proposed based on experimental data.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScientific Computing and Data Management · Slime Mold and Myxomycetes Research
