Abstract
Self-regulated transportation networks belong to the class of continuous network models and are widely used not only in biological applications such as vascular systems, neural networks or tissue regeneration, but also in urban infrastructure and in communication technologies. Their well-established tree structure prevents the formation of loops, which limits their ability to capture an important feature observed in real systems: when a disruption or damage occurs, the network should be able to reorganize to restore transport pathways. In this work, we propose alternative modeling strategies to incorporate this capability. These approaches allow for the network to adapt to perturbations by modifying its structure and, in some cases, by creating alternative routes that compensate for damaged regions. Numerical results illustrate how the modified models can reproduce self-repair mechanisms that are not captured by standard formulations.
1. Introduction
Transportation network structures that convey energy, people, goods, or other matter from one point to another appear in a variety of different fields, including the vascular vein networks forming the ramified patterns in plant leaves [1,2], river networks [3,4], the circulatory system [5,6,7], cells, a network of chemicals linked by chemical reactions, and the internet, a network of routers and computers connected by wired or wireless links [8], and city streets [9,10,11]. Recent empirical studies [9,12,13] have shown that, at least at a coarse grained level, unexpected quantitative similarities exist.
Street networks allow for people and goods to move through cities, but they can be strongly affected by natural and extreme events. Flooding caused by heavy rainfall or sea-level rise can make streets inaccessible, while earthquakes may block roads with debris, complicating evacuations and emergency responses. These disruptions highlight the importance of designing street networks that are both robust, meaning able to withstand disruptions, and resilient, meaning able to recover and adapt quickly in time. The factors that determine how street networks respond to damage are still not fully understood. Recent large-scale studies, such as [14], have measured the vulnerability of urban street networks worldwide and shown that disruptions affect central nodes. More generally, networks with higher connectivity, greater redundancy, fewer checkpoints, and lower circuity tend to be less vulnerable to a wide range of disruptions. For example, in [15], the authors describe the formation of rings, webs and circuits as pre-defined structural elements of the network, while in [16], the authors recognize the presence of complex structures such as central loops together with peripheral branches, such as subway and railway networks, and investigate the conditions for the emergence of these nontrivial topological structures in the context of human transportation in cities.
In the context of seismic events, damage to buildings and short-term emergency measures can directly affect road functionality by reducing capacity or blocking streets [17]. The post-event response can be broadly divided into two phases. Immediately after, the primary concern is the ability of emergency services to reach critical locations. In the longer-term phase, road capacity may still be reduced due to temporary countermeasures, displaced populations and unusable buildings. These modifications of the urban network leads to changes in road serviceability, and highlights the need for modeling approaches that account for these disruptions that affect the mobility patterns. This topic is also highly relevant in the broader context of climate change, where transport infrastructure is increasingly exposed to extreme events. In recent years, climate change has become a multidisciplinary research topic addressing the challenges faced by transport infrastructure in planning, construction, and operation. The study of transport system adaptation to evolving environmental conditions is commonly framed through the interconnected concepts of resilience, vulnerability, and criticality [18]. We emphasize that these examples are intended to provide a general motivation for the study of network disruptions, rather than to suggest that the present model is specifically designed to describe such complex real-world scenarios.
Over the past decades, the study of networks has shifted from idealized regular and random graphs to the recognition that many real-world systems exhibit structured and non-random connectivity patterns [8]. Advances in data acquisition and computational power have revealed that networks arising in contexts such as biology, technology, and computer science possess complex topologies that cannot be adequately captured by purely random models. While graph-theoretical approaches have been instrumental in identifying these topological properties, they often provide a discrete and static description that is insufficient to capture spatial organization, continuous transport processes, and the connection between structures and functionalities. In this context, continuous modeling frameworks offer a natural and powerful alternative, allowing network formation and adaptation to be described through variational principles and dynamical laws. Such approaches highlight that the networks are driven by robust self-organizing mechanisms, and they provide quantitative tools to relate network topology to functional properties such as robustness and resilience. In this framework, the aim of this work is to investigate mechanisms leading to loop formation in continuous models, which are typically associated with tree-like structures. For this reason, the focus is on qualitative features rather than on quantitative agreement with specific real-world systems.
In this context, we start from an elliptic-parabolic system of partial differential equations (PDE) describing the formation of biological network structures. The system is derived as gradient flows of an energy functional, consisting of a diffusive term, an activation term and a metabolic cost term. The energy functional can be seen as a continuum version of its discrete counterpart introduced in [19]. Here, the authors consider a total energy consumption function for a general class of biological transport networks (seen also in [20]), including a material cost function of the network. In the papers [19,21], the authors study the adaptation of biological transport networks by linking the dynamics of local information to an underlying optimization principle, a mechanism that is known to be widespread in nature. Within this framework, such networks are analyzed through an optimization perspective in which the energy consumption is minimized under the constraint of a constant total material cost [20].
Assuming the validity of Darcy’s law for slow flow in porous media (see, for instance, [22,23]), the energy functional is constrained by a Poisson equation for the fluid pressure [1,2,24]. In the parabolic equation, a reaction term appears, representing the metabolic cost of the network, while the diffusion term describes the randomness in the material structure. The third term, called pumping term, describes the tendency of the network to align with the principal direction of the material flow. The elliptic Poisson equation describes local mass conservation and is equipped with a right-hand side describing the distribution of sources of the material. This distribution is supplied as a datum and is supposed to be time independent.
Transport networks obtained from optimization strategies that minimize a gradient-flow energy are known to be trees, i.e., loopless [25,26]. In contrast, leaf networks exhibit a large number of closed loops, which allow fluid transport even after local damage. If the leaf networks were tree structures, a damage to a single vein would interrupt transport to all downstream regions, leading to the death of entire leaf sectors. Instead, the presence of loops enables the flow to be rerouted around injuries, including damage to the main vein [20].
In this work, we investigate how damage can be introduced into optimization-derived networks and how such networks can be repaired. Since standard optimization models do not generate loops, we consider damage introduced artificially through two mechanisms: (i) by introducing holes in the physical domain, and (ii) by augmenting the optimization model with an additional potential term.
For the discretization of the space derivatives of the system, we refer to a ghost-nodal finite element method (ghost-FEM), a very recent numerical scheme first introduced in [27] in the context of Poisson’s equations, and further applied to biological network formation [28], and Multiscale Poisson-Nernst-Planck systems [29,30]. A rectangular region R is discretized by a uniform square mesh, and the physical domain intersects the mesh, giving rise to the to the computational domain . The finite element space is then defined on . Despite the abundance of unfitted finite element schemes available in the literature, such as CutFEM in [31] and AgFEM in [32], the ghost-FEM is of interest for the following reason: when dealing with arbitrary domains, it is common to face small-cut cells problem. While other schemes rely on stabilization techniques, the ghost-FEM employs a very simple algorithm based on snapping-back-to-grid technique to overcome the ill-conditioning issue, and it is straightforward to implement it numerically.
The paper is organized as follows: In Section 2, we describe the mathematical model. In Section 3, we propose two strategies to insert prescribed damages to the network, motivating our choices. Section 4 presents the numerical experiments based on the proposed approaches. At the end, we draw some Conclusions. Since these methods have already been introduced in previous papers, we defer their presentation to the end of the manuscript in order to emphasize the damage modeling aspect.
2. Mathematical Model
We introduce the energy functional for the model,
where is the conductivity tensor, the divergence operator, the diffusivity parameter that measures the effect of random fluctuations in the network, and the activation parameter controls the strength of the network formation feedback loop. The scalar describes the isotropic background permeability of the medium, and is assumed to be constant. The scalar pressure of the fluid transported within the network is a function of space and time as well, through the dependence of the variable , i.e., . It is the unique solution (up to an additive constant) of the Poisson equation
subject to homogeneous Neumann boundary condition on . The source/sink distribution , in the mass conservation Equation (2), is considered as an input datum. The metabolic cost function describes the dependence of the metabolic expenditure to maintain the network on its transport capacity; see [19]. The expression denotes the Frobenius norm of .
Taking the -gradient flow of the energy in (1), constrained by (2), we obtain the parabolic-elliptic system
see [2] for details of the derivation. The pumping/activation term in (4) is quadratic and depends on only through the solution p of the Poisson Equation (3). In particular, and ⊗ is the tensor product to create a matrix from two vectors. Moreover, the metabolic term becomes singular at if . This obviously causes difficulties for both the analytical treatment of the system and its numerical resolution.
When considering biological networks, a common choice for the metabolic cost function (see, e.g., [1,24,33]) is the following:
where is the metabolic constant and the metabolic exponent; see [19]. In this work, we adopt this choice; however, the proposed numerical scheme is flexible and can accommodate different metabolic cost functions. This will allow us, in future work, to consider alternative expressions that may be more appropriate for applications to urban networks.
In this work, we follow the simplified approach in [26], where the scalar case is used to highlight the intricate network structure of the results, or in [34], where the authors show that the scalar model has a gradient flow structure whose steady-state coincides with the solution of the p-Laplacian equation. Thus, with the assumption , system (3)–(4) becomes
where In our tests, the expression of the source term is the following:
We define the equations on a bounded domain , and we define the boundary conditions on for the pressure and the conductivity. We choose homogeneous Neumann conditions for the two variables and p, such that
where is the outgoing normal vector to . A direct consequence of the boundary condition defined for the pressure, that is also a necessary condition for the solvability of the Poisson equation, is that the source function has to be vanishing mean, i.e., .
To close the system, we prescribe an initial condition for
3. Modeling the Damage
In this section, we present two strategies to model known damages in a network. In the first approach, we introduce prescribed defects at specific, known locations within the computational domain, representing the response of an already formed network to a sudden localized disruption. In the second approach, the network develops in the presence of a pre-existing defect in the domain, thus forming while already accounting for the disruption.
3.1. Modified Level-Set (MLS) Approach
We assume the square region R is such that . We discretize it by a uniform Cartesian mesh of size , where is the number of cells in each space direction. Following the approach shown in [35,36], the open domain is implicitly defined by a level set function that is negative inside , positive in and zero on the boundary :
The outer unit normal vector in (8) can be computed as . We observe that, for a given circle with center and radius R, there exist infinitely level-set functions. For instance, the functions and describe the same circle. Among all possible representations of a given bubble, the most convenient level-set function from a numerical stability standpoint is the signed distance function defined as the distance between and the circumference (positive inside the circle and negative outside).
As already mentioned in the Introduction, the absence of loops in these networks is a direct consequence of the optimization framework described above, which selects tree-like structures by minimizing energy consumption subject to a fixed total material cost. For this reason, we resort to an alternative approach. In this subsection, we modify the computational domain by introducing holes to model damages in the network. To introduce other circular holes, we define other smaller circles in the same way, and then considering the maximum of the two resulting level-set functions. In Algorithm 1, we describe the procedure we follow. The idea is to solve the linear system (6)–(7) until the energy decays. In practice, we fix a tolerance and compute the solution, , until the variation of the energy, , between two consecutive time steps is smaller than this tolerance. At that point, we modify the level set function, introducing a certain number of holes or damages, and restart the computation of the solution of the linear system (6)–(7) until final time. In other words, each hole is defined as a subregion (e.g., a disk) that is removed from the computational domain. In this way, the damaged area acts as an obstacle to the network. Imposing homogeneous Neumann boundary conditions to the boundary of the new holes, do not modify the variational formulation. From a computational viewpoint, this imposition do not alter the numerical scheme, as the classification of grid points automatically sets the new boundary conditions at the corresponding ghost cells.
Remark 1.
We observe that modifying the level-set function changes the computational domain and the corresponding boundary Γ, that now accounts for the presence of holes. We impose homogeneous Neumann boundary conditions also on the boundaries of the newly introduced holes, i.e.,
where . With this choice, the variational formulation remains unchanged, and the numerical scheme can be applied without modification. Consequently, this approach allows us to incorporate the presence of holes into the simulations with only minimal adjustments to the code, and specifically to the level-set definition.
Following this strategy, we model prescribed damages occurring at specific, known locations of the computational domain. This setting can represent, for instance, the response of an already formed network to a sudden localized disruption, allowing us to investigate how the structure reorganizes in the presence of an externally imposed defect.
When holes are introduced at specific times and locations, part of the solution may be lost. To assess this effect, we compute the integral of the solution before and after the introduction of the holes. In Figure 1, we report the relative difference , defined in Equation (11), between the integral of the solution with and without holes at the same final time.
Figure 1.
Panel (a) shows relative difference between the integrals of the solutions, defined in Equation (11), computed with and without holes. Specifically, the horizontal axis reports the cumulative area (from 1 to 4), while the vertical axis shows this relative difference for configurations with 1, 2, 3, and 4 holes. The order of the introduction of holes is illustrated in Figure 2 panels (e), (f). Zoom-in in panel (b).
Figure 2.
Representation of the steps described in Algorithm 1. We solve system (6)–(7) until the energy decays; see panels (a,b). Panels (c,d) show the resulting network at time . Holes are then introduced, as described in Algorithm 1; see panels (e,f). The system (6)–(7) is subsequently solved on the resulting perforated domain until time , and the corresponding network is shown in panels (g,h). Parameters: , , , , , and .
The results show that this difference increases as the total surface of the holes increases. Moreover, not all holes affect the solution in the same way. Disruptions introduced at locations where the value of the solution is larger, e.g., point D, produce a larger difference than disruptions at locations where the solution is smaller, e.g., point C.
3.2. Potential Term
In [37], the authors say that the adaptation dynamics minimize the global energy consumption, leading to optimal networks that may develop hierarchical loop structures in the presence of strong fluctuations in the flow distribution. Motivated by this observation, an alternative way to model the creation of loops is to augment the optimization framework with an additional term, as follows:
where and the function has the following expression
Several numerical experiments show that the bifurcation of the network appears only with (see Figure 3). In other words, the loop forms when the potential W is centered at a point located in the main diagonal. This feature is consistent with the rest of the numerical results obtained with the MLS approach, where we are sure that the network creates loops around the holes (or circles) centered at the main diagonal.
Figure 3.
Contour line plot of the external potential introduce in Equation (13).
4. Numerical Experiments
In this section, we present the numerical tests obtained with the numerical scheme described in Appendix A and Appendix B. To represent different possible city layouts, we consider domains with various geometries, namely circular, square, and rectangular shapes.
System (6)–(7) depends on several parameters, leading to different network configurations. In our numerical simulations, we illustrate the effect of these parameters. Some of these aspects have already been investigated in previous works (see, e.g., [25,26]). Figure 4 shows that smaller values of the diffusion coefficient D lead to thinner ramifications. We also investigate the role of the stabilization parameter , introduced in Appendix B. As shown in [25], the parameter that most strongly influences the network formation is the background permeability r, which also affects the asymmetry of the network. The parameter is introduced to prevent division by zero in the metabolic term. However, it negatively affects the conditioning of the linear system that we solve at each time step. For this reason, it must be chosen carefully: in our simulations, we set , trying to avoid excessively small values that would deteriorate the conditioning of the system. Figure 4 panels (b), (c) show the results for In Figure 5, we observe that the metabolic exponent influences the distribution of branches. For , the branches are more uniformly distributed across the domain.
Figure 4.
Plot of the solution in a squared domain, for different choices of the diffusion coefficient D, and of the stabilization parameter ((a): , (b): , (c): ). Other parameters: , , , , and final time .
Figure 5.
Comparison of the resulting network in a squared domain, for two different values of (panels (a,c,e)) and (panels (b,d,f)). In panels (a,b), we show the plot of the solution at time , while, in panels (c,d) we show the logarithm of the solution, i.e., . Following the steps described in Algorithm 1, panels (e,f) display the results at time after introducing holes in the computational domain. Parameters: , , , and .
For the circular domain, we take with the source located at . For the square domain, we again consider , with . For the rectangular case with (the sum of) two sources, we set , with , , , and . Finally, for the square domain with (the sum of) four sources, we define with , In the following simulations, the initial condition in Equation (9) is set to be constant, i.e., .
In Figure 2, we present results for a circular domain and illustrate the different steps of the Algorithm 1 used to generate holes in the domain. The idea is to introduce holes only after the solution has reached its steady state. To this end, we first wait until the energy reaches its minimum (panels (a,b)). We inspect the solution (panels (c,d)) and select ad hoc points (A–D in panel (e), E–H in panel (f)) where holes are then introduced. The simulation is subsequently continued, and the resulting configurations are shown in panels (g,h). The results indicate that the solution adapts by flowing around the holes while preserving its original structure. The network is affected locally by the introduced damages, but remains essentially unchanged elsewhere. This suggests that, when the perturbations are ‘sufficiently’ small, the network exhibits a self-repair mechanism, reorganizing itself to bypass the damaged regions while minimally impacting the overall structure.
In Figure 5, we present the results for a squared domain. As already observed in [26], plotting the logarithm of the solution (i.e., ) allows us to reveal finer ramification patterns that are not visible when displaying the solution itself (i.e., ). Moreover, we consider larger holes in order to further assess the adaptability of the model and of the numerical scheme. In agreement with previous observations, the network adjusts by deviating as little as possible from its original configuration, even in the presence of more significant damage. This suggests that it is preferable, and less costly, to follow existing paths instead of creating new ones. However, the increased size of the holes induces more evident changes: in some regions, certain branches disappear (e.g., , or , from panel (c) to panel (e); also, , from panel (d) to (g)), while new ones emerge to provide alternative pathways same region, panels (e,g). This reorganization reflects the same self-adaptive mechanism observed before, now acting to compensate for the stronger perturbations. Moreover, as expected, the newly formed branches do not reconnect with the existing ones, in agreement with the tree structure of the network. Another characteristic of the network is the presence of a preferred direction, namely the main diagonal when the source is placed in . When holes are introduced along this direction, the network consistently adapts by flowing around them, even when we introduce significant damage. This feature is further highlighted in Figure 6, where we show the results of the second strategy introduced in Section 3.2. Among all the different numerical tests we performed, the only configuration in which a loop forms in the network occurs when the external potential is placed in the main diagonal (see Figure 6). Figure 7 shows the same simulation for different values of . We see that for the potential term is not strong enough to modify the network; on the contrary, with , the bifurcation is much larger than .
Figure 7.
Comparison of the resulting network in a squared domain, with different values of : in panel (a), in panel (b) and in panel (c). Parameters: , and final time .
To investigate the impact of increasingly complex damage configurations, we consider a set of numerical experiments with a growing number of damaged regions. In Figure 8, we report a comparison between cases with three, six, and eight damages. Moreover, in Table 1, we compute the integral of the solution, showing that it increases as the number of damages grows. This behavior reflects the formation of additional branches and alternative pathways in the network. The extension to spatially varying damage intensity, representing a continuum of degradation levels, would require a more general formulation (e.g., through spatially distributed coefficients or potential terms) and is left for future investigation.
Figure 8.
Comparison of the resulting network in a squared domain, with increasing number of damages/interruptions: three in panel (a), six in panel (b) and eight in panel (c). Parameters: and final time .
Table 1.
Integral of the conductivity over the domain for different numbers of holes ().
In Figure 9, we present the results in a rectangular domain. This configuration differs from the previous ones, as we introduce two sources. The results show that the domain appears to be split into two regions, each characterized by a distinct network, which are symmetric with respect to the axis . It is important to emphasize that this partition of the domain is not imposed a priori, but it emerges naturally as a consequence of the presence of the two sources. Moreover, introducing holes, we are able to break the symmetry of the two networks, since they adapt according to the position and dimension of the damages. Similarly, in Figure 10, the domain appears to be divided into four regions, corresponding to the introduction of four sources. We show the location of the four sources in Figure 10 panel (b), and the corresponding network in panel (a). It is evident that the preferred direction is along the diagonal , where the two leading networks develop. The other two networks (up-left and down-right) appear to be symmetric with respect to the same diagonal. This behaviour can be explained by the distribution of the sources: the two located on the right generate a network on their right side, since no other sources appear there. On the other hand, the two left sources spread on the remaining domain, resulting in a domain that is automatically divided into four parts.
Figure 9.
Plot of the resulting network in a rectangular domain, with two sources. In panel (a), we show the plot the logarithm of the solution at time . Following the steps described in Algorithm 1, panel (b) shows the results at final time after introducing holes in the computational domain. Parameters: , , and .
In Figure 10, no holes are introduced. Nevertheless, this test shows an alternative strategy to handle possible disruptions that could affect the main paths coming from a single source (see Figure 5). In this test, we introduce multiple sources that cover different regions of the same domain, ensuring a more distributed transport mechanism.
5. Conclusions
In this work, we address the limitation of self-regulated transportation networks, which are typically tree-like structures and therefore cannot develop loops or alternative routes. Our goal is to introduce a general continuous framework capable to reorganize in the presence of damage in order to maintain functionality. For this reason, the focus is on qualitative features rather than on agreements with specific real-world systems. To overcome this limitation, we have proposed two different strategies to model damages in the domain. In the first approach, multiple holes are introduced after the solution has reached a steady state, allowing us to study the response of the system to sudden perturbations of the established network structure.
In the second approach, the location of the damaged region is prescribed before the beginning of the simulation. The numerical results show that the network is able to adapt effectively when damages occur at known and prescribed locations (A–D, E–H; see Figure 2 panels (e), (f)). In particular, it reorganizes its structure and identifies alternative paths that preserve the transport of material. This suggests that, in applications such as energy or resource distribution, the system is robust against interruptions by being able to activate secondary routes. Moreover, we observe that the introduction of multiple sources in the domain leads to a natural partition of the domain into regions where transport occurs in parallel. This provides an efficient mechanism for distributing quantities across different parts of the domain. As future work, we aim to extend the model by coupling the system with an additional equation for the potential . This would enable a fully self-consistent description of both transport and damage formation. In addition, the observed tendency for loop formation along the diagonal direction is not yet fully understood and will require further investigation.
Moreover, future research will focus on extending the proposed framework to more realistic and application-driven scenarios. In particular, a promising direction is the integration of the model with real infrastructure systems, such as power grids, water distribution networks, and urban transportation systems, where resilience to localized failures is critical. This is particularly relevant for simulation environments in smart city contexts, such as the one presented in [38]. However, the proposed models have potential applications across multiple domains where resilient and adaptive transport systems are needed that will be investigated in future contributions: (a) in biological contexts, such models can be used to better understand processes such as leaf patterns, vascular system, neural plasticity, and tissue regeneration; (b) in engineering, they may contribute the design of robust urban transportation networks and communication infrastructures capable of maintaining functionality under failures or targeted attacks.
Author Contributions
Conceptualization, C.A. and D.F.S.; methodology, C.A. and D.F.S.; software, C.A.; validation, C.A.; formal analysis, C.A.; investigation, C.A. and D.F.S.; writing—original draft preparation, C.A.; writing—review and editing, C.A. and D.F.S. All authors have read and agreed to the published version of the manuscript.
Funding
This work has been equally supported by: the Spoke 10 Future AI Research (FAIR) of the Italian Research Center funded by the Ministry of University and Research as part of the National Recovery and Resilience Plan (PNRR); the Italian Ministerial grant PRIN 2022 PNRR “FIN4GEO: Forward and Inverse Numerical Modeling of hydrothermal systems in volcanic regions with application to geothermal energy exploitation”, No. P2022BNB97—Finanziato dall’Unione Europea—Next Generation EU–CUP: E53D23017960001; the Italian Ministerial grant PRIN 2022 “Efficient numerical schemes and optimal control methods for time-dependent partial differential equations”, No. 2022N9BM3N—Finanziato dall’Unione europea—Next Generation EU–CUP: E53D23005830006.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Acknowledgments
The authors acknowledge the CINECA award under the ISCRA initiative for the availability of high-performance computing resources. C. A. is member of the Gruppo Nazionale Calcolo Scientifico-Istituto Nazionale di Alta Matematica (GNCS-INdAM).
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Space Discretization
In this section, we first introduce the variational formulation of the system (6)–(7) and then describe the space discretization we employ to solve it. It is a recently developed numerical scheme, introduced in [27,39], and further applied in [40,41] in other contexts. The main advantages of this numerical scheme are two: the first is the snapping technique that is introduced to handle instabilities arising from cut elements whose size is proportional to a power of the cell length. Second, integrals over the two-dimensional domain are computed exactly, avoiding the use of quadrature formulas in two dimensions. By applying Gauss theorem, these integrals are reduced to computations along the cell edges.
Since the variable p is the solution of a diffusion equation with zero flux boundary conditions, we impose a null-mean condition that guaranties the uniqueness of the solution. Therefore, we introduce the space Q defined as
We also introduce the space for . Multiplying (6) and (7) by test functions , , and integrating over , we obtain
Integrating by parts and taking into account the boundary conditions, we have
Finally, we denote the scalar product in with to simplify the notation. Consequently, our problem, when expressed in its variational formulation, is as follows.
Proposition A1.
Given and , find and such that, for almost every , it holds
In Section 3.2, where the additional term W is introduced, the variational formulation is slightly modified. For simplicity, we denote this by writing .
As mentioned in Section 3.1, we discretize the domain by a uniform Cartesian mesh of size the number of cells in each space direction. The set of grid points will be denoted by , with , the active nodes (i.e., internal or ghost ) by , the set of inactive points by , with and and the set of cells by , with . A cell is classified as active cell if , or inactive cell otherwise. The union of all active cells is denoted by . Finally, we denote by the outer region in R.
Here, we define the set of ghost points , which are grid points that belong to , with at least an internal point as neighbor, formally defined as
The discrete spaces and are given by continuous, piecewise polynomial functions defined on . The functions q and v, which are defined in the function spaces Q and V respectively, are approximated by the functions and that belong to finite-dimensional subspaces and , defined as follows:
where denotes the space of bilinear Lagrangian shape functions on the element K. To solve the variational formulation in Problem (A1), we employ a finite-dimensional discretization. Specifically, the functions q and v, which are originally defined in the function space Q and V, respectively, are approximated by functions and respectively. Both and are finite-dimensional subspaces. To perform computations, the domain is approximated by a polygonal domain . This approximation also extends to the boundary , which is represented by . Consequently, the original integrals defined over and its boundary are now evaluated over and , respectively.
Proposition A2.
Given and , find and such that, for almost every , it holds
under the following boundary and initial conditions
To compute the integrals shown in Problem A2, we use exact quadrature rules. To explain our strategy, let us start considering a generic element of the linear systems on the left hand side of Equation (A2), that takes in consideration the product between the test functions restricted within the cell , i.e.,
where, for each K, is the restriction of in cell K, which is a bilinear function and takes value 1 in grid node i and 0 in the other vertices of the cell K. Notice that for a given cell K there are only four indices i for which the intersection of the support of with K is not empty. As a result, for each K with non-empty intersection with , the quantity is a symmetric matrix with positive elements. We observe that the product of two elements in is an element of , i.e., the set of bi-quadratic polynomials in K.
Let us consider a general integrable function defined in , with . We now define a vector which has the property . Thus, we have
where we applied Gauss theorem, and is the outer normal vector to K. If K is a generic polygon with m edges (for example in Figure A1 panel (b)) we can express (A11) as
To evaluate the integral over the generic edge , we choose the three-point Gauss-Legendre quadrature rule, which is exact for polynomials in . Thus, we write
where and are the weights and the nodes, respectively, of the considered quadrature rule; see Figure A1 panel (b). Choosing , and making use of (A12), we write
where , and the formula is exact because .
Figure A1.
(a) Computation details: is the domain, R the external rectangle and the boundary. is the outer normal vector to . (b) Distribution of the gaussian quadrature points on the edges of the active cells.
While computing the integrals above, stability issues may arise when considering cut cells in proximity of the boundary . The difficulty comes from the fact that the size of the cuts cannot be controlled and may become arbitrarily small, which can lead to a loss of coercivity of the bilinear form. To prevent this instability, we evaluate the level set function at the vertices of each cut cell. If its value is smaller than a threshold proportional to a power of the cell size, the corresponding cell is disregarded by modifying the level set function at that point, setting it to a small positive value (see Algorithm A1 and Figure A2). In our computations, .
| Algorithm A1 Snapping back to grid |
| for do |
| if then |
| end if |
| end for |
Figure A2.
Grid before and after snapping technique. (a) Representation of the cell related to the internal point P (blue points), whose distance from is less than ; (b) zoom-in of the shape of the domain, after the grid point P has changed its classification, from internal to ghost point (red circles).
Appendix B. Time Discretization
We now discuss discretization in time. We consider a final time and define the time step the nodes in time and the approximation of the solution at the time step , . Since we are interested in the steady state of the solution, we employ a first order time discretization. For the same reason, we choose in Algorithm A1. Here, we describe the steps of the Implicit Euler scheme, and we have
In order to solve Problem A2, we adopt a semi-implicit numerical scheme. At the time step we compute the equation for the pressure, such that
Then we compute the time dependent equation
where we add a regularization parameter , to prevent the instability coming from the division by zero in the metabolic term, when (see [25,42,43] for more details). Table A1 shows the computational time in seconds of the computation of the solution of the linear systems in Equations (A15) and (A16), for different number of cells N. In our simulations, . The motivation is that we experienced that r is the small parameter that most influences the network formation (see, e.g., [26]). To avoid numerical artifacts related to , we choose . In Figure 4 panels (b), (c), we compare the results obtained with , showing that this parameter does not significantly affect the network formation. However, selecting smaller values of leads to a deterioration of the conditioning of the linear system solved at each time iteration.
References
- Haskovec, J.; Markowich, P.; Perthame, B. Mathematical Analysis of a PDE System for Biological Network Formation. Commun. Partial. Differ. Equ. 2015, 40, 918–956. [Google Scholar] [CrossRef] [Scilit]
- Haskovec, J.; Markowich, P.; Pilli, G. Tensor PDE model of biological network formation. Commun. Math. Sci. 2022, 20, 1173–1191. [Google Scholar] [CrossRef] [Scilit]
- Iturbe, R.; Rinaldo, A. Fractal River Basins. Chance and Self-Organization; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar]
- Bellamoli, F.; Müller, L.O.; Toro, E.F. A numerical method for junctions in networks of shallow-water channels. Appl. Math. Comput. 2018, 337, 190–213. [Google Scholar] [CrossRef] [Scilit]
- Quarteroni, A.; Veneziani, A.; Vergara, C. Geometric multiscale modeling of the cardiovascular system, between theory and practice. Comput. Methods Appl. Mech. Eng. 2016, 302, 193–252. [Google Scholar] [CrossRef] [Scilit]
- Quarteroni, A.; Manzoni, A.; Vergara, C. The cardiovascular system: Mathematical modelling, numerical algorithms and clinical applications. Acta Numer. 2017, 26, 365–590. [Google Scholar] [CrossRef] [Scilit]
- Formaggia, L.; Quarteroni, A.; Veneziani, A. Multiscale models of the vascular system. In Cardiovascular Mathematics: Modeling and Simulation of the Circulatory System; Springer: Berlin/Heidelberg, Germany, 2009; pp. 395–446. [Google Scholar]
- Barabási, A.L.; Albert, R. Emergence of Scaling in Random Networks. Science 1999, 286, 509–512. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cardillo, A.; Scellato, S.; Latora, V.; Porta, S. Structural properties of planar graphs of urban street patterns. Phys. Rev. Stat. Nonlinear Soft Matter Phys. 2006, 73, 066107. [Google Scholar] [CrossRef] [Scilit]
- Buhl, C.; Gautrais, J.; Reeves, N.; Solé, R.V.; Valverde, S.; Kuntz, P.; Theraulaz, G. Topological patterns in street networks of self-organized urban settlements. Eur. Phys. J.-B-Condens. Matter Complex Syst. 2006, 49, 513–522. [Google Scholar] [CrossRef] [Scilit]
- Adamatzky, A. Bioevaluation of World Transport Networks; World Scientific: Singapore, 2012. [Google Scholar]
- Batty, M. Complexity in city systems: Understanding, evolution, and design. In A Planner’s Encounter with Complexity; Routledge: Abingdon, UK, 2016; pp. 99–122. [Google Scholar]
- Crucitti, P.; Latora, V.; Porta, S. Centrality measures in spatial networks of urban streets. Phys. Rev. E—Stat. Nonlinear Soft Matter Phys. 2006, 73, 036125. [Google Scholar] [CrossRef] [Scilit]
- Boeing, G.; Ha, J. Resilient by design: Simulating street network disruptions across every urban area in the world. Transp. Res. Part A Policy Pract. 2024, 182, 104016. [Google Scholar] [CrossRef] [Scilit]
- Xie, F.; Levinson, D. Topological evolution of surface transportation networks. Comput. Environ. Urban Syst. 2009, 33, 211–223. [Google Scholar] [CrossRef] [Scilit]
- Bontorin, S.; Cencetti, G.; Gallotti, R.; Lepri, B.; De Domenico, M. Emergence of complex network topologies from flow-weighted optimization of network efficiency. Phys. Rev. X 2024, 14, 021050. [Google Scholar] [CrossRef] [Scilit]
- Goretti, A.; Sarli, V. Road network and damaged buildings in urban areas: Short and long-term interaction. Bull. Earthq. Eng. 2006, 4, 159–175. [Google Scholar] [CrossRef] [Scilit]
- Ortega, E.; Martín, B.; Aparicio, Á. Identification of critical sections of the Spanish transport system due to climate scenarios. J. Transp. Geogr. 2020, 84, 102691. [Google Scholar] [CrossRef] [Scilit]
- Hu, D.; Cai, D. Adaptation and optimization of biological transport networks. Phys. Rev. Lett. 2013, 111, 138701. [Google Scholar] [CrossRef] [Scilit]
- Katifori, E.; Szöllősi, G.J.; Magnasco, M.O. Damage and fluctuations induce loops in optimal transport networks. Phys. Rev. Lett. 2010, 104, 048704. [Google Scholar] [CrossRef] [Scilit]
- Hu, D.; Cai, D. An optimization principle for initiation and adaptation of biological transport networks. Commun. Math. Sci. 2019, 17, 1427–1436. [Google Scholar] [CrossRef] [Scilit]
- Darcy, H. Les Fontaines Publiques de la Ville de Dijon: Exposition et Application des Principes à Suivre et des Formules à Employer dans les Questions de Distribution d’eau: Ouvrage Terminé par un Appendice Relatif aux Fournitures d’eau de Plusieurs Villes, au Filtrage des Eaux et à la Fabrication des Tuyaux de Fonte, de Plomb, de tôle et de Bitume; Victor Dalmont: Paris, France, 1856. [Google Scholar]
- Neuman, S.P. Theoretical derivation of Darcy’s law. Acta Mech. 1977, 25, 153–170. [Google Scholar] [CrossRef] [Scilit]
- Fang, D.; Jin, S.; Markowich, P.; Perthame, B. Implicit and Semi-implicit Numerical Schemes for the Gradient Flow of the Formation of Biological Transport Networks. SMAI J. Comput. Math. 2019, 5, 229–249. [Google Scholar] [CrossRef] [Scilit]
- Astuto, C.; Boffi, D.; Haskovec, J.; Markowich, P.; Russo, G. Asymmetry and condition number of an elliptic-parabolic system for biological network formation. Commun. Appl. Math. Comput. 2023, 7, 78–94. [Google Scholar] [CrossRef] [Scilit]
- Astuto, C.; Markowich, P.; Portaro, S.; Russo, G. Self-regulated biological transportation structures with general entropy dissipation: 2D case and leaf-shaped domain. ESAIM Math. Model. Numer. Anal. 2026, 60, 605–631. [Google Scholar] [CrossRef] [Scilit]
- Astuto, C.; Boffi, D.; Russo, G.; Zerbinati, U. A nodal ghost method based on variational formulation and regular square grid for elliptic problems on arbitrary domains in two space dimensions. Comput. Methods Appl. Mech. Eng. 2025, 443, 118041. [Google Scholar] [CrossRef] [Scilit]
- Astuto, C.; Haskovec, J.; Markowich, P.; Portaro, S. Self-regulated biological transportation structures with general entropy dissipations, part I: The 1D case. J. Dyn. Games 2024, 11, 76–99. [Google Scholar] [CrossRef] [Scilit]
- Astuto, C.; Russo, G. Asymptotic Preserving and Accurate scheme for Multiscale Poisson-Nernst-Planck (MPNP) system. arXiv 2025, arXiv:2507.01402. [Google Scholar]
- Astuto, C. Standard versus Asymptotic Preserving Time Discretizations for the Poisson-Nernst-Planck System in the Quasi-Neutral Limit. arXiv 2025, arXiv:2511.07964. [Google Scholar]
- Burman, E.; Claus, S.; Hansbo, P.; Larson, M.G.; Massing, A. CutFEM: Discretizing geometry and partial differential equations. Int. J. Numer. Methods Eng. 2015, 104, 472–501. [Google Scholar] [CrossRef] [Scilit]
- Badia, S.; Dilip, H.; Verdugo, F. Space-time unfitted finite element methods for time-dependent problems on moving domains. Comput. Math. Appl. 2023, 135, 60–76. [Google Scholar] [CrossRef] [Scilit]
- Haskovec, J.; Markowich, P.; Perthame, B.; Schlottbom, M. Notes on a PDE system for biological network formation. Nonlinear Anal. 2016, 138, 127–155. [Google Scholar] [CrossRef] [Scilit]
- Haskovec, J.; Markowich, P.; Zampini, S. Gradient flows for the p-Laplacian arising from biological network models: A novel dynamical relaxation approach. Math. Mech. Solids 2026, 31, 708–731. [Google Scholar] [CrossRef] [Scilit]
- Russo, G.; Smereka, P. A Remark on Computing Distance Functions. J. Comput. Phys. 2000, 163, 51–67. [Google Scholar] [CrossRef] [Scilit]
- Sussman, M.; Smereka, P.; Osher, S. A Level Set Approach for Computing Solutions to Incompressible Two-Phase Flow. J. Comput. Phys. 1994, 114, 146–159. [Google Scholar] [CrossRef] [Scilit]
- Hu, D. Optimization, adaptation, and initialization of biological transport networks. Notes Lect. 2013, 1, 3-1. [Google Scholar]
- Alì, C.; Cantone, D.; Leanza, G.; Mangano, M.G.; Mattia, A.; Nicolosi Asmundo, M.; Santamaria, D.F. Ontologies for Simulating Smart Cities: The KnOCS Project. CEUR Workshop Proceedings Volume 4176. In Proceedings of the The Joint Ontology Workshop (JOWO) 2025 Episode XI: The Sicilian Summer under the Etna, Co-Located with the 15th International Conference on Formal Ontology in Information Systems (FOIS 2025), Catania, Italy, 8–9 September 2025. [Google Scholar]
- Astuto, C.; Coco, A.; Zerbinati, U. A Comparison of the Coco-Russo Scheme and ghost-FEM for Elliptic Equations in Arbitrary Domains. In Advances in Nonlinear Hyperbolic Partial Differential Equations; Springer: Singapore, 2026; pp. 1–21. [Google Scholar] [CrossRef] [Scilit]
- Dilip, H.; Coco, A. Multigrid methods for the ghost finite element approximation of elliptic problems. J. Comput. Phys. 2026, 562, 115034. [Google Scholar] [CrossRef] [Scilit]
- Dilip, H.; Astuto, C.; Coco, A.; Russo, G. High order ghost-FEM for incompressible Navier-Stokes equations on moving domains. arXiv 2026, arXiv:2603.19928. [Google Scholar]
- Astuto, C.; Boffi, D.; Haskovec, J.; Markowich, P.; Russo, G. Comparison of Two Aspects of a PDE Model for Biological Network Formation. Math. Comput. Appl. 2022, 27, 87. [Google Scholar] [CrossRef] [Scilit]
- Astuto, C.; Boffi, D.; Credali, F. Finite Element Discretization of a Biological Network Formation System: A Preliminary Study. In Hyperbolic Problems: Theory, Numerics, Applications. Volume II; SEMA SIMAI Springer Series; Springer: Cham, Switzerland, 2024; Volume 35, pp. 247–257. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.











