Graphnics: Combining FEniCS and NetworkX to simulate flow in complex networks

12/06/2022
by   Ingeborg G. Gjerde, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/21/2017

Simulation of thin film flows with a moving mesh mixed finite element method

We present an efficient mixed finite element method to solve the fourth-...
research
12/04/2018

Boundary-Conforming Finite Element Methods for Twin-Screw Extruders: Unsteady - Temperature-Dependent - Non-Newtonian Simulations

We present a boundary-conforming space-time finite element method to com...
research
12/14/2019

Parameter-Conditioned Sequential Generative Modeling of Fluid Flows

The computational cost associated with simulating fluid flows can make i...
research
09/12/2023

Fluid Dynamic Simulations of Mach and Regular Reflections in Oblique Shock-Wave Configurations using Adaptive Mesh Refinement

In the context of the interaction between a moving plane shock wave and ...
research
11/01/2022

MAgNET: A Graph U-Net Architecture for Mesh-Based Simulations

In many cutting-edge applications, high-fidelity computational models pr...
research
03/25/2020

Permanent charge effects on ionic flow: a numerical study of flux ratios and their bifurcation

Ionic flow carries electrical signals for cells to communicate with each...

Please sign up or login with your details

Forgot password? Click here to reset