Comparison of two aspects of a PDE model for biological network formation
Abstract
We compare the solutions of two systems of partial differential equations (PDE), seen as two different interpretations of the same model that describes formation of complex biological networks. Both approaches take into account the time evolution of the medium flowing through the network, and we compute the solution of an elliptic-parabolic PDE system for the conductivity vector , the conductivity tensor and the pressure . We use finite differences schemes in a uniform Cartesian grid in the spatially two-dimensional setting to solve the two systems, where the parabolic equation is solved by a semi-implicit scheme in time. Since the conductivity vector and tensor appear also in the Poisson equation for the pressure , the elliptic equation depends implicitly on time. For this reason we compute the solution of three linear systems in the case of the conductivity vector , and four linear systems in the case of the symmetric conductivity tensor , at each time step. To accelerate the simulations, we make use of the Alternating Direction Implicit (ADI) method.
The role of the parameters is important for obtaining detailed solutions. We provide numerous tests with various values of the parameters involved, to see the differences in the solutions of the two systems.
1 Introduction
We study two elliptic-parabolic systems of partial differential equations (PDE) describing the formation of biological network structures. Both systems are derived as gradient flows of an energy functional, consisting of a diffusive term, activation term and metabolic cost term. The energy functional can be seen as a continuum version of its discrete counterpart introduced in [1]. Here the authors consider a total energy consumption function for a general class of biological transport networks (seen also in [2]), including a material cost function of the network. In the papers [1, 3], the authors adapt the dynamics of local information for biological transport network and their relation with the optimization principle, which is known to be very common in nature.
Assuming the validity of Darcy’s law for slow flow in porous media (see, for instance, [4, 5]), the energy functional is constrained by a Poisson equation for the fluid pressure. We use two modes of description of the network conductivity: first, in terms of a conductance vector , and, second, in terms of a symmetric positive definite conductance tensor . Taking the -gradient flow with respect to (see, for instance, [6, 7, 8, 9, 10]) and, resp., with respect to (see [11]), leads to two structurally similar elliptic-parabolic PDE systems.
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 activation 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 and sinks of the material. This distribution is supplied as a datum and is supposed to be time independent.
The aim of this paper is to present several numerical simulations of both the vector-valued -model and the tensor-valued -model, with the goal of comparing their solutions in various parameter settings. The initial datum is chosen such that , i.e., initially, the principal direction (eigenvector corresponding to the largest eigenvalue) of is aligned with . Note that, in the spatially two-dimensional setting, the second eigenvalue of is zero, with eigenspace orthogonal to . We shall observe that the two PDE systems develop structurally and qualitatively similar solutions, however, they differ in quantitative details, for instance, the number and location of branches.
2 Mathematical model
We introduce the energy functional for the tensor-valued model,
(1) |
where is the conductivity tensor, the diffusivity parameter measures the effect of random fluctuations in the network, and the activation parameter controls the strength of the network formation feedback loop. The total permeability tensor is of the form , where the scalar function describes the isotropic background permeability of the medium. The scalar pressure of the fluid transported within the network is the unique solution (up to an additive constant) of the Poisson equation
(2) |
subject to homogeneous Neumann boundary condition on . The source/sink distribution in the mass conservation Eq. (2) is to be supplemented as an input datum and is assumed to be independent of time. The metabolic cost function describes the dependence of the metabolic expenditure of maintaining the network on its transportation capacity, see [1]. The expression denotes the Frobenius norm and .
Taking the -gradient flow of the energy (1) constrained by (2), we obtain the parabolic-elliptic system
(3) | ||||
(4) |
see [11] for details of the derivation. In our paper, we shall make the generic choice for the metabolic cost function (see, e.g., [9, 6, 7, 8]),
(5) |
where is the metabolic constant and the metabolic exponent. For instance, to model leaf venation in plants, one chooses , see [1]. Then Eq. (4) becomes
(6) |
To derive the vector-valued model, we make the ansatz . Inserting this into (1) with and noting that , we obtain
with and, with a slight abuse of notation, we now denote by the solution of the Poisson equation (2) with replaced by . Re-introducing the Dirichlet integral , we arrive at the energy functional
(7) |
Note that this functional is different from the one obtained by replacing in Eq. (1), the two functionals mainly differencing in the contribution of the diffusion term. As we shall see, we are mainly interested in studying the behavior of the system for very small diffusion coefficients, so that we expect such difference not being so crucial.
Taking the -gradient flow with respect to the vector variable and using the explicit form (5) for the metabolic function, we obtain the system
(8) | ||||
(9) |
From now on, we shall denote system (3)–(6) as the system, while we call (8)–(9) the system. Let us now shortly discuss the differences between the two systems.First, the activation term in (4) is quadratic and depends on only through the solution of the Poisson equation (3). In contrast, the activation term in (9) is cubic. Moreover, the metabolic term in (4) becomes singular at if (and only if) . This obviously causes difficulties for both the analytical treatment of the system (see [11] for details) and its numerical resolution. We shall discuss in Section 3.2.1 how the numerical difficulties can be overcome. In contrast, the metabolic term in (9) only becomes singular at if . Taking into account that for typical applications in biology only the parameter range is relevant (see [1]), the metabolic term in (9)) does not require any special treatment for the system.
We define the equations on a domain , and we define the boundary conditions on for the pressure and the conductivity. We choose homogeneous Dirichlet boundary conditions for and , and homogeneous Neumann conditions for .
(10) |
where is the outgoing normal vector to . In all our numerical test, the numerical support of or , after a long time, is well within , therefore the solution should not be particularly sensitive to the boundary conditions on the two variables. In any case, different boundary conditions for and are currently under investigation.
To close the system, we prescribe an initial condition for the conductivity vector and tensor
(11) |
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., .
3 Numerical schemes
In this section we define the numerical schemes used to discretize in space and time the Eqs. (8 - 9) and (3-4). We adopt semi-implicit second order schemes.
3.1 Space discretization
In space we consider the square domain , that we discretize by a uniform Cartesian mesh with spatial step . We call the discrete computational domain. The two variables conductivity and the pressure are and , defined at the center of the cell , therefore the set of grid points is , .
In order to obtain second order accuracy in space, we use central differences for the computation of the space derivatives [12]. Discretizing in space Eq. (9), we have:
(12) | |||||
(13) |
while the semi-discrete version of Eq. (4) is
(14) | |||||
(15) | |||||
(16) |
where is the discrete Laplacian operator and and are, respectively, the discrete and first derivative operators, both using central difference approximation. The norm we use is the Frobenius one. In this case we have three equations instead of four, because is symmetric.
In order to have a fully implicit scheme, we define a compact form of the semi-discrete Eqs. (12-13) and Eqs. (14-16), as follows:
(17) | |||||
(18) |
where , and , with the suitable choice of . For the metabolic terms, we have
(19) | |||||
(20) |
Here, we discretize the Poisson equation for the pressure. To obtain a conservative scheme, we consider the following discretization: first, we extend the formula in Eq. (3), that becomes
(21) |
where we use the symmetry .
Now, we discretize the components of the formula, one by one, since we use different discretizations. For simplicity we pose :
(22) |
where in the last line we consider the following approximations:
We omit the term with both -derivatives because it is analogue to the one with -derivatives. Now we discretize the term with mix derivatives.
(23) | ||||
(24) | ||||
(25) |
again, we omit the term with -derivatives because it is analogue to the one with -derivatives.
3.2 Time discretization: symmetric-ADI method
At this stage, we describe the time discretization that we apply to the model. Since systems (8-6) and (3-4) are stiff in all their components, the choice of the time discretization is crucial for the efficiency.
We also need a high performing scheme in time, since at each time step we compute the solution of seven linear systems (two for the conductivity vector , three for the conductivity tensor and two Poisson equations for the pressure ).
As we shall see, for some values of the parameters, the well-posedness of the problem becomes weaker, which reflects the bad conditioning of the numerical problem. For such a reason, we adopt a symmetric scheme, which better preserves possible symmetries of the solution. In particular, we adopt a symmetric-ADI scheme for both the conductivity variables, which guarantees efficiency, second order accuracy and spatial symmetry.
Anyway, the scheme is not strictly second order accurate in time for two reasons. First, the pressure is computed at time rather than at an intermediate time . Second, the metabolic term is treated partially explicitly and partially implicitly, thus destroying second order accuracy. Improvements of the order of accuracy in time are currently under investigation.
3.2.1 Time discretization for the conductivity vector
Given , we compute by solving the Poisson equation
(26) |
where is the discrete elliptic operator, in both directions ( and ), with variable coefficients and corresponding to zero Neumann conditions.
The symmetric-ADI method to solve the Eq. (17) works as follows. We start with the -direction implicit and -direction explicit, and then we consider the opposite order in the second step of the ADI scheme
and we solve for ,
and we solve for .
The second time we apply the ADI method, we first consider the -direction implicit and explicit, and then we exchange the order. Thus we have
here we solve for ,
and now we solve for , where and , with , are the discrete operators for the second derivatives in and directions, respectively, with . For the pressure term we have for the first component of the vector , and for the second component . While the force term is .
At the end, we calculate the average of the two solutions and to obtain the conductivity vector at time
(27) |
3.2.2 Time discretization for the conductivity tensor
As we said in the description of the two systems, for the conductivity tensor , the reaction term is very stiff because of the exponent that belongs to the interval . After a finite time, we are basically dividing by zero at each time step. For this reason we introduce a small regularizing parameter in the equation, as follows
(28) |
and we study the behaviour of the system as becomes smaller and smaller.
Given the pressure at time from Eq. (26), we apply the symmetric-ADI method to solve the Eq. (18). As explained before, we first choose the -direction implicit and then we exchange the two directions. The scheme reads
and we solve for ,
and we solve for .
Now, as before, we apply the ADI method for the second time for starting with the -direction implicit, and we have
here we solve for ,
and here we solve for .
Finally we calculate from the two solutions and
The quantities above have the following expressions: , and for the pressure, , with the suitable choice of for the four components of the conductivity tensor.
4 Numerical results
In this section we perform several simulations with the aim of studying the effect of the various parameters. In particular, we check the agreement of the two models for the system in Eqs. (8-9) and for the system in Eqs. (3-6).
4.1 Accuracy tests and qualitative agreements
In Table 1 we define the tests we want to show in this paper, varying the parameters of the systems. This choice of parameters, a typical time scale is of the order of unit, while after time 15, the solution reached the steady state.
First, we check the accuracy of the schemes adopted. In Table 2 and Table 3 we see the error for the conductivity variables, calculated with Richardson extrapolation (see, e.g., [13]). We show the error for the module of the vector and of the tensor, and the parameters chosen are defined in TestA, TestB and TestC.
Accuracy | TestA: | 0.5 | 1 | 0.01 | - | 0.75 | 0.1 | 1 |
Accuracy | TestB: | 1 | 1 | 0.01 | 0.1 | 1.75 | 0.1 | 1 |
Accuracy | TestC: | 0.5 | 5 | 0.01 | - | 0.75 | 0.01 | 1 |
TestG: | 0.75 | 5 | 0.05 | 0.75 | 0.005 | 15 | ||
TestD: | 0.75 | 5 | 0.01 | 0.75 | 0.005 | 15 | ||
TestE: | 0.75 | 5 | 0.001 | 0.75 | 0.005 | 15 | ||
TestH: | 0.75 | 5 | 0.01 | 1 | 0.005 | 15 | ||
TestD: | 0.75 | 5 | 0.01 | 0.75 | 0.005 | 15 | ||
TestF: | 0.75 | 5 | 0.01 | 0.5 | 0.005 | 15 | ||
TestI: | 0.75 | 5 | 0.01 | 0.75 | 0.005 | 15 | ||
TestD: | 0.75 | 5 | 0.01 | 0.75 | 0.005 | 15. | ||
TestL: | 0.75 | 5 | 0.01 | 0.75 | 0.005 | 15 |
Here we define the initial conditions and , and the source function
(29) | |||||
(30) |
where is the identity matrix and .
N | error | order |
---|---|---|
20 | - | - |
40 | 0.036030 | - |
80 | 0.0492860 | -0.4520 |
160 | 0.01454106 | 1.7610 |
320 | 0.00690830 | 1.0737 |
640 | 0.001529779 | 2.1750 |
N | error | order |
---|---|---|
20 | - | - |
40 | 0.036012 | - |
80 | 0.0493010 | -0.4531 |
160 | 0.01456192 | 1.7594 |
320 | 0.00691103 | 1.0752 |
640 | 0.001528055 | 2.1772 |
error2 | order | |
---|---|---|
25 | - | - |
50 | - | |
100 | 0.97 | |
200 | 1.56 | |
400 | 1.92 | |
800 | 2.50 |
In Fig. 1 we show three different quantities of the TestD: the module of the variables at final time (first column), the two components of the flux at final time (second column) and the energy as a function of time (third column). In the first row we have the results for the variable and in the second row the results for the variable . As expected, the energy decays in time for both variables, and it is very small at final time, which indicates that we are close to the steady state of the systems. The main difference between the two variables are the shape of the network, with a shape for the conductivity vector and a shape for the tensor.
In Fig. 2 we show the results obtained when varying the parameter in Eqs. (8-9) and in Eqs. (3-6). The tests we consider are: TestG (first column), TestD (second column) and TestE (third column), with , for the variable in the first row and for in the second row. The ramifications become more evident when decreasing the diffusivity, and they get thinner and thinner. For the first parameter chosen, , we are not able to see those ramifications for the vector because the time-scale associated with the diffusion is too fast to capture the details.






In Fig. 3 we observe the dependence on the relaxation exponent . In the first column we report the results of TestH, in the second, those corresponding to TestD and in the third one, those corresponding to TestF. Again, in the first row we show the results for the variable and in the second row those for the variable . If the results do not show the details of the network, and it seems that is the parameter that better represents the leaf network.






In Fig. 4 we show the behaviour of the solution , when . We see the results for , and again we notice that for the largest value of we are not able to see any ramification. While we see that for smaller than we are close to the asymptotic behaviour.









4.2 Quantitative agreement
In this section we show some quantitative comparison between the two models. For this reason we consider well prepared initial data and we look for compatible parameters.
The goal of this part is to choose a convenient set of parameters in order to compare the two systems, trying to make them as close as possible. Now we distinguish the parameters with , for the model, and , for the model.
For simplicity, the choice of parameter is performed by comparing the two models in one space dimension. In 1D the systems (3,6) and (8-9) read
(31) | ||||
(32) |
Now we suppose that has the following form
(33) |
where is a measure of the discrepancy between the two models, and we set the initial conditions so that . If we substitute Eq. (33) in Eq. (31), we have
(34) |
At this point we multiply Eq. (32) by a factor , and we obtain
(35) |
After some manipulation, Eqs. (34,35) become:
(36) | |||
(37) |
where is the residual. We made use of the following identity in the equation for
(38) |
Now we consider the difference between Eq. (36) and Eq. (37), and we obtain
(39) |
Since we want the residual to be small, in absolute value, a convenient choice for the sets of variables is the following
(40) |
and for the initial conditions we choose and such that, initially, we have
In this way the first derivative in space is also equal to 0 after one time step.
In order to show some results in 2D, we need to define the initial conditions for and such that, at initial time, we have again
with and , while the values of the parameters are defined in TestM. In 2D, the equivalent expression of (33) is
In this subsection we comment on the solutions of the following tests
set of parameters | TestM: | 1, 0.5 | , 1 | 0.1 | 1.75, 0.75 | 0.1 | 600 |
TestN: | 0.75 | 5 | 0 | 0.75 | 0.005 | 15 | 600 | ||
TestO: | 0.75 | 5 | 0.75 | 0.005 | 15 | 600 |
In Table 6 we show the time evolution of the norm of the difference between and , to see how they move away from each other when we increase the time. In this table we see that the two solutions are very different, even after few time steps, and for this reason, they are difficult to be compared. The definition of is the following
after time steps, with , such that ,
where and
.
time | 0.01 | 0.02 | 0.04 | 0.08 | 0.16 | 0.32 | 0.64 |
---|---|---|---|---|---|---|---|
0.0348 | 0.0538 | 0.0697 | 0.0982 | 0.1509 | 0.2611 | 0.5320 |
As it appears from the table, the two models move quickly far apart from each other, suggesting an intrinsically different behaviour.
Now we are interested in showing the solution of the model, in the case of zero-diffusivity. Since the randomness of the network is common in nature but is also very effective in stabilizing the equations, we want to see if there is some analogy in considering the cases and . In Fig. 5 we show the agreement of the two solutions, with (left panel) and (right panel). The other parameters are defined in TestN and TestO, while the initial condition is defined in Eq. (29) for Fig. 5.
In Fig. 6 we illustrate the long time solution for the -model obtained with the following space dependent initial condition:
(41) |




We also note that, if we set the diffusion coefficient equal to zero, the model for reduces to a reaction equation for the conductivity. This means that if the support of the unknown remains unchanged. In particular, it cannot extend, while in some regions the numerical support (i.e. the region in which becomes lower than a given small threshold) may shrink.
Alternative boundary conditions
Furthermore, in the case of zero-diffusivity for the model, we observe an anomalous behavior of the solution near the boundaries. In order to overcome such a problem we propose an ad hoc boundary condition as illustrated below.
Let us consider the equations for with and in the limit of steady state. We have
that we can write as follows
(42) |
Thus, we can deduce that . This means that there exists a constant , such that,
(43) |
If we substitute the Eq. (43) in Eq. (42), we obtain
(44) |
and if we solve it for , we have the boundary condition for
(45) |
Analogously, we can find also a boundary condition for the vector . Again, starting with zero-diffusivity and at steady state, we have
(46) |
that means that the conductivity is proportional to the tensor product of the pressure gradient, i.e. . Again, we look for a constant , such that,
(47) |
Now we substitute the Eq. (47) in Eq. (46), and we solve for . In this way, as before, we find the expression for the conductivity tensor at the boundary
(48) |
Conditions (45,48) might be a reasonable choice in the case of zero diffusivity. This treatment has the drawback of introducing additional non-linearity to the system. Alternative boundary conditions are currently under investigation.
Another aspect we want to focus on, is the steady state for the model. In two different cases: and (as the authors show in [7]). For this reason we define different initial conditions for the vector , such that
and in Fig. 7 we plot the following quantity
(49) |
where is the Frobenius norm, and . In this way we see the difference between the solutions (with initial condition and in the left panel and with and in the right panel), as function of time. In this way, we support with numerical evidences that, for the model and for , the steady state is unique and it does not depend on the initial conditions, as expected (see e.g. [7]).
In Fig. 8, that is the case for , we see that we reach two different steady states, when choosing two different initial conditions, suggesting that the steady state solution is not unique when .




5 Conclusions
In this paper we use an elliptic-parabolic model to study the formation of biological network, and, in particular, of leaf venation networks. Throughout the paper we compare the solutions of two different systems, that derive from the Cai-Hu model, one for the conductivity vector and one for the conductivity tensor, and we explore the dependence of the solution on the parameters of the two models.
As we said before, all the components of the two systems are very stiff. In particularly, the -system is more challenging because of the negative exponent in the reaction term. For this reason, we add a regularization parameter , and we compute numerical solutions for smaller and smaller values of . This parameter prevents the instability coming from the division by zero in the reaction term.
We make use of finite differences scheme to compute the two solutions, with central differences for the space discretization and a symmetric-ADI method in time. The convergence rate is calculated numerically and denotes the second order accuracy.
At the end we added some quantitative comparison between the two systems, choosing more suitable sets of parameters. We see that the two solutions differ significantly, even after few time steps. This aspect makes it problematic any kind of direct comparison between the two systems.
Then, we showed some results in the case of zero diffusivity for the conductivity tensor. The last tests we consider are in agreement with the results achieved in [7], where the authors prove that there is a unique steady state for the system when the metabolic exponent is greater than 1, and provide evidence that this is not true when .
Acknowledgments
G.R. thanks ITN-ETN Horizon 2020 Project ModCompShock, Modeling and Computation on Shocks and Interfaces, Project Reference 642768, and the Italian Ministry of Instruction, University and Research (MIUR) to support this research with funds coming from PRIN Project 2017 (No.2017KKJP4X entitled ”Innovative numerical methods for evolutionary partial differential equations and applications”.
References
- [1] Dan Hu and David Cai. Adaptation and optimization of biological transport networks. Physical review letters, 111(13):138701, 2013.
- [2] Eleni Katifori, Gergely J Szöllősi, and Marcelo O Magnasco. Damage and fluctuations induce loops in optimal transport networks. Physical review letters, 104(4):048704, 2010.
- [3] Dan Hu. Optimization, adaptation, and initialization of biological transport networks. Notes from lecture, 1:3–1, 2013.
- [4] Henry Darcy. Les fontaines publiques de la ville de Dijon: exposition et application… Victor Dalmont, 1856.
- [5] Shlomo P Neuman. Theoretical derivation of darcy’s law. Acta mechanica, 25(3):153–170, 1977.
- [6] Di Fang, Shi Jin, Peter Markowich, and Benoit Perthame. Implicit and Semi-implicit Numerical Schemes for the Gradient Flow of the Formation of Biological Transport Networks. The SMAI journal of computational mathematics, 5:229–249, 2019.
- [7] Jan Haskovec, Peter Markowich, and Benoit Perthame. Mathematical analysis of a pde system for biological network formation. Communications in Partial Differential Equations, 40(5):918–956, 2015.
- [8] Jan Haskovec, Peter Markowich, Benoît Perthame, and Matthias Schlottbom. Notes on a pde system for biological network formation. Nonlinear Analysis, 138:127–155, 2016. Nonlinear Partial Differential Equations, in honor of Juan Luis Vázquez for his 70th birthday.
- [9] Giacomo Albi, Marco Artina, Massimo Foransier, and Peter A. Markowich. Biological transportation networks: Modeling and simulation. Analysis and Applications, 14(01):185–206, 2016.
- [10] Jan Haskovec, Peter Markowich, and Simone Portaro. Emergence of biological transportation networks as a self-regulated process, 2022.
- [11] Jan Haskovec, Peter Markowich, and Giulia Pilli. Tensor pde model of biological network formation. arXiv preprint arXiv:2111.03889, 2021.
- [12] P. Wesseling. Principles of computational fluid dynamics. Springer, 2001.
- [13] Lewis Fry Richardson. Ix. the approximate arithmetical solution by finite differences of physical problems involving differential equations, with an application to the stresses in a masonry dam. Philosophical Transactions of the Royal Society of London. Series A, Containing Papers of a Mathematical or Physical Character, 210(459-470):307–357, 1911.