1. Introduction
The mechanics of fluid transport through channel networks has long attracted interest in fluid dynamics, as the geometry of the network strongly influences the energetic cost of the flow. In the cardiovascular system, this problem has been extensively studied in relation to arterial branching, whose geometry is often interpreted through the energetic optimality principle introduced by Murray (Reference Murray1926). According to the corresponding law, the radii of the vessels at a bifurcation satisfy the dichotomy
$r_0^3=r_1^3+r_2^3$
, with
$r_0$
the radius of the parent artery, and
$r_1$
and
$r_2$
the radii of the daughter branches (figure 1
a). This relation has served as a cornerstone for a large body of work on the structure and efficiency of vascular trees (Kamiya et al. Reference Kamiya, Bukhari and Togawa1984; Karch et al. Reference Karch, Neumann, Neumann and Schreiner1999; Zhou et al. Reference Zhou, Kassab and Molloi1999; Huo et al. Reference Huo, Finet, Lefevre, Louvard, Moussa and Kassab2012). Recent works have generalised this framework to complex rheologies, yield-stress fluids, turbulent regimes and rough-walled channels, showing how optimal radii and branching configurations follow from the minimisation of the power required to maintain a prescribed flow under a volumetric cost constraint (Smink et al. Reference Smink, Venner, Visser and Hagmeijer2023, Reference Smink, Hagmeijer, Venner and Visser2025).
In contrast, the fluid mechanics of merging flows in channel networks has received significantly less attention. In such configurations, two incoming streams interact within a common conduit, and redistribute their momentum along the downstream channel. Depending on the relative magnitude and direction of the incoming momentum fluxes, the junction may give rise to strong shear layers, flow recirculation, and localised viscous dissipation (Lashgari et al. Reference Lashgari, Tammisola, Citro, Juniper and Brandt2014). These mechanisms depend on the Reynolds number and merging angle, whose interplay determines the resulting flow structure and associated energetic cost (Blonski et al. Reference Blonski, Zaremba, Jachimek, Jakiela, Wacławczyk and Korczyk2020; Nan et al. Reference Nan, Gu, Li, Zhang and Wang2022; Frense et al. Reference Frense, Yang, Rüdiger, Mühlhausen and Fröhlich2023).
Excluding the venous vasculature, where Reynolds numbers are generally low, confluences in the cardiovascular system are rare, with notable instances such as the vertebro-basilar junction (Ravensbergen et al. Reference Ravensbergen, Krijger, Hillen and Hoogstraten1995) (figure 1 b). However, surgical interventions can generate merging flows at moderate-to-high Reynolds numbers through cannulation or the implantation of vascular grafts along native vessels (Tokuda et al. Reference Tokuda, Song, Ueda, Usui, Akita, Yoneyama and Maruyama2008; Panchal et al. Reference Panchal, Scaria, Matham, Sudhir and Patnaik2024; Cara et al. Reference Cara, Susin and Peruzzo2026). A relevant example is the aorto-coronary bypass graft (CABG), in which the flow delivered by the graft interacts with the native coronary flow within a recipient artery. Specifically, the segment of the coronary artery distal to a stenosis that limits blood perfusion is directly connected to the aorta, thereby restoring blood flow to the myocardium via an alternative pathway. In this case, the coexistence of two competing inflows produces complex haemodynamic patterns, including secondary flows and multiple separation regions at the end-to-side junction (Ethier et al. Reference Ethier, Prakash, Steinman, Leask, Couch and Ojha2000). These features make the bypass anastomosis a particularly rich configuration for the study of competitive merging flows, while also being associated with detrimental effects on bypass durability (Motwani & Topol Reference Motwani and Topol1998; Goldman et al. Reference Goldman2004; Xenogiannis et al. Reference Xenogiannis2021).
Unlike in a standard junction problem, the need for graft implantation in the present setting arises from stenosis, which controls the flow-rate repartition and thus introduces an additional variable into the competing-flow dynamics. As a result, the interaction between graft and native coronary inflows may generate distinct haemodynamic features depending on occlusion severity (figure 1 c). Excluding very mild stenoses, which are of limited interest here, when the native vessel remains partially patent, graft and coronary inflows coexist and give rise to a competitive-flow condition, characterised by strong shear layers and reduced mixing at the junction. Conversely, when the stenosis becomes severe, the graft tends to dominate the flow supply, and the junction acts primarily as a region of momentum redirection. These two configurations involve substantially different mechanisms of viscous dissipation, indicating that different stenosis conditions may favour different graft geometries.
The present study examines how the energetically preferred configuration of an aorto-coronary bypass depends on stenosis severity and on the associated competition between native and graft inflows. For this purpose, topology optimisation is used to identify optimal layouts directly from the governing equations, without prescribing the bypass shape in advance. The resulting geometries are analysed to establish how the balance between distributed viscous dissipation and localised losses influences the selection of the distal anastomosis.
Schematisation of the branching and merging flows in the cardiovascular system. (a) Standard arterial bifurcation with equal repartition of the flow rate between the mother artery,
$Q_m$
, and the two daughter vessels,
$Q_{d1}$
and
$Q_{d2}$
. (b) Merging flows at the vertebro-basilar junction with the asymmetrical contribution of the flow rate through the basilar artery,
$Q_{ba}$
, between the left and right vertebral arteries,
$Q_{rv}$
and
$Q_{lv}$
(Ravensbergen et al. Reference Ravensbergen, Krijger, Hillen and Hoogstraten1995). (c) Merging flows between stenotic coronary
$Q_s$
and bypass graft
$Q_b$
. Different flow patterns are expected in a competitive inflow scenario (
$Q_b \approx Q_s$
, top image) and in the bypass-dominated scenario (
$Q_b \gg Q_s$
, bottom image), i.e. when the bypass routes almost entirely the coronary flow rate
$Q_c$
.

2. Materials and methods
2.1. Definition of the density-based approach to reconstruct optimal geometries
Topology optimisation (TO) is the branch of mechanics aiming to find the best distribution of material within a given domain
$\varOmega$
; it allows the optimal layout to arise from the governing equations and the prescribed constraints rather than from an a priori shape assumption. In fluid mechanics, this concept translates into the optimal distribution of the fluid domain
$\varOmega _F$
within a solid region
$\varOmega _S$
.
In the present work, we adopt a density-based formulation for distinguishing these two phases. According to the approaches of Borrvall & Petersson (Reference Borrvall and Petersson2003) and Olesen et al. (Reference Olesen, Okkels and Bruus2006), we generalised the Navier–Stokes equations, adding the Brinkman penalisation term
$\alpha$
to introduce regions of low permeability within the computational domain. As a result, the Brinkman penalisation acts as a resistance force that suppresses fluid motion, thereby providing a surrogate representation of solid material. The governing equations of the problem then read
where
$ \boldsymbol{u}= (u, v, w )$
denotes the fluid velocity vector,
$p$
is the pressure, and
$\rho$
and
$\mu$
are the fluid density and viscosity. The conditions associated with the boundary
$\partial \varOmega$
are
where
$\gamma$
is the design variable, defined over the spatial coordinate
$\boldsymbol{x}$
, and
$ \boldsymbol{u}_D$
and
$g_N$
are respectively the prescribed velocity and normal flux on the Dirichlet and Neumann boundaries
$\partial \varOmega _D$
and
$\partial \varOmega _N$
(with
$ \boldsymbol{n}$
the outward unit normal to the boundary).
The introduction of the penalisation
$\alpha$
identifies solid and fluid regions of the domain through a Heaviside-type definition:
\begin{align} \gamma (\boldsymbol{x}) = \begin{cases} 0,& \boldsymbol{x}\in \varOmega _F,\\[3pt] 1,& \boldsymbol{x}\in \varOmega _S, \end{cases}\quad \alpha (\gamma (\boldsymbol{x})) = \begin{cases} \alpha _{\textit{min}} = 0,& \boldsymbol{x}\in \varOmega _F,\\[4pt] \alpha _{\textit{max}} \gg 1,& \boldsymbol{x}\in \varOmega _S, \end{cases} \end{align}
in which
$\alpha _{\textit{min}}$
and
$\alpha _{\textit{max}}$
denote the lower and upper bounds of the flow resistance.
The TO problem minimises an objective functional
$J^*$
, which here aims at reducing the power loss due to the viscous dissipation
$J^*_{\boldsymbol{\nabla }{\boldsymbol {u}}}$
, throughout the domain. Mathematically, this results in the functional
\begin{align} J^*( \boldsymbol{u},\gamma ) = \int _\varOmega {\Big ( \underbrace {\alpha (\gamma )\,| \boldsymbol{u}|^2}_{J^*_{\alpha }} + \underbrace {\tfrac {1}{2}\mu\, |\boldsymbol{\nabla }{ \boldsymbol{u}} + \boldsymbol{\nabla }{ \boldsymbol{u}}^{\rm T}|^2}_{J^*_{\boldsymbol{\nabla }{ \boldsymbol{u}}}} \Big )\,\mathrm d\varOmega }. \end{align}
In this formulation, the term
$J^*_{\alpha }$
represents essentially the dissipation through the porous medium with permeability
$k=\mu /\alpha _{\textit{max}}$
that is associated with the solid phase.
The optimisation problem hence reads
\begin{align} \begin{cases} \min _\gamma & J^*( \boldsymbol{u}, \gamma ) \\[5pt] \text{subject to}: & {|\varOmega _F^{\textit{opt}}|\leq V_r\boldsymbol{\cdot }|\varOmega _{\textit{opt}}|}, \\[5pt] & \gamma (\boldsymbol{x})\in \{0,1\}, \ \forall \boldsymbol{x}\in \varOmega, \\ \end{cases} \end{align}
where
$ \boldsymbol{u}$
is found through (2.1),
$\varOmega _{\textit{opt}}$
is the portion of the simulation domain
$\varOmega$
subject to the optimisation procedure (i.e. where the design variable
$\gamma$
can change),
$\varOmega _F^{\textit{opt}}$
is the relative fluid portion, and
$V_r$
is the prescribed fluid volume fraction, i.e. the fraction of
$\varOmega _{\textit{opt}}$
assigned to
$\varOmega _F^{\textit{opt}}$
(with
$|{\cdot }|$
denoting domain volume).
Numerical treatment of the defined TO problem follows an iterative procedure: at each iteration, the momentum equations are solved, the sensitivities of the objective functional and of the volume constraint are evaluated through the continuous adjoint method (Hinze et al. Reference Hinze, Pinnau, Ulbrich and Ulbrich2008), and the design variable
$\gamma$
is updated using the method of moving asymptotes (Svanberg Reference Svanberg1987). The constraint and its sensitivity are supplied explicitly to the algorithm, which updates the design by solving a convex separable approximation of the constrained optimisation problem (Aage & Lazarov Reference Aage and Lazarov2013; Aage et al. Reference Aage, Andreassen, Lazarov and Sigmund2017). This provides direct control of the admissible fluid volume, and avoids an additional penalty parameter whose calibration would affect the resulting optimal design, since without such a constraint, the minimisation of
$J^*$
would trivially favour an all-fluid configuration. The prescribed
$V_r$
thus makes the problem non-trivial, and allows a consistent comparison between bypass configurations subject to the same available fluid volume. The adjoint method introduces additional partial differential equations to solve the adjoint field of velocity and pressure,
$ \boldsymbol{u}_a$
and
$p_a$
, which provide the gradient information required in the
$\gamma$
updating procedure. The definition of the adjoint system is not trivial, and changes according to the objective functional of the problem. In the present work, it reads
with the following Dirichlet and Neumann conditions on the boundary:
Finally, to allow gradient-based optimisation,
$\gamma (\boldsymbol{x})$
is relaxed to a continuous field between 0 and 1. Under this relaxation, the fluid optimisation domain is defined in an integral sense, with volume
$|\varOmega _F^{\textit{opt}}| = \int _{\varOmega _{\textit{opt}}}{(1-\gamma )\, \mathrm d\varOmega }$
. The Brinkman penalisation is then convexified as
where
$\psi=1.0$
controls the sharpness of the Heaviside approximation to favour the convergence towards a well-defined partition between fluid and solid regions. As shown by Guest & Prévost (Reference Guest and Prévost2006), the quality of this partition plays a fundamental role in the optimal domain design procedure. According to the analysis of Boscolo et al. (Reference Boscolo, Lanzoni and Peruzzo2025), the non-dimensional form of (2.1a
) is based on a separation of the characteristic scales between the fluid and porous phases. For
$\varOmega _F$
and
$\varOmega _S$
, the solution proposed by the authors introduced two velocity scales,
$U$
and
$V$
, and two characteristic length scales,
$D$
and
$d$
, with
$\delta =d/D \ll 1$
. Under this scale separation, the non-dimensional momentum equation splits into distinct forms in the fluid and porous subdomains, namely
where
$\tilde {({\cdot })}$
denotes non-dimensional variables, and
$Re=\rho U D / \mu$
and
$Da^*=\mu /(\alpha _{\textit{max}}D^2)$
are the Reynolds number and the modified Darcy number of the problem. The latter is the key parameter controlling also the scaling of the functional components, which gives
This relation highlights that the balance between viscous dissipation and penalisation terms is controlled by the combined effect of the velocity-scale ratio and the modified Darcy number.
Enforcing scale consistency of the functional components therefore leads to the condition
$V/U \lesssim \sqrt {Da^*}$
, which provides an upper bound for the velocity-scale ratio. This ratio directly reflects the quality of the fluid-porous partition of the domain (Alexandersen Reference Alexandersen2023), and hence the effectiveness of the Brinkman penalisation in approximating an impermeable solid domain within the optimisation procedure (Theulings et al. Reference Theulings, Langelaar, van Keulen and Maas2023).
2.2. Design of numerical experiments
Scheme of the simulation domain. The native coronary vessel of diameter
$D$
with a stenotic segment (diameter
$D_s$
) and the optimisation domain are in grey and blue, respectively. The admissible anastomosis region is highlighted, identifying the portion of the coronary artery where the merging between the optimised bypass and the native vessel can occur. Both the coronary artery inlet and the inlet of the optimisation domain are connected to the aorta (pink region), where a constant aortic pressure
$p_{ao}$
is prescribed. At the distal outlet, the parabolic velocity profile is set by fixing the maximum velocity
$u_{\textit{max}}$
.

The study is carried out on an idealised two-dimensional geometry representing the proximal segment of the right coronary artery, starting from the aortic root. To optimise the more severe operative condition of the graft, we reduce the haemodynamics to a steady-state problem characterised by the maximum flow rate instant, close to the systolic peak, which we want to restore by implementing the bypass. Although the two-dimensional framework cannot capture all the intricate haemodynamic features of a three-dimensional configuration, it isolates the dominant in-plane mechanisms governing energy redistribution and wall shear alignment, thereby enabling a controlled evaluation of topology-induced effects.
The simulation domain comprises an idealised stenotic artery vessel of diameter
$D = 4.0$
mm, next to which the optimisation domain is appended at the location identified as the potential anastomosis region (figure 2). Blood is treated as an incompressible Newtonian fluid having
$\rho = 1050$
kg m
$^{-3}$
and
$\mu = 4.0$
mPa s. Both the inlet of the coronary artery and the optimisation domain are connected to the aorta. Since the rigid-wall assumption makes the reference pressure immaterial to the flow field, a non-zero aortic pressure 100 mmHg is prescribed at these inlets to avoid negative pressures across the stenosis, consistent with the aortic value at peak coronary inflow (Seligman et al. Reference Seligman2022). At the coronary outlet, a parabolic flow profile is established, with the maximum velocity set at
$u_{\textit{max}} = 0.36$
m s
$^{-1}$
, resulting in Reynolds number
$Re\approx \,200$
, being
$U=2/3\,u_{\textit{max}}$
. Such a choice is consistent with boundary conditions commonly employed in analyses of branching flows, e.g. Smink et al. (Reference Smink, Venner, Visser and Hagmeijer2023, Reference Smink, Hagmeijer, Venner and Visser2025), and although idealised, may be interpreted as prescribing a target coronary perfusion level from a clinical perspective of restoring coronary flow. The present analysis relies on a steady-state condition and does not resolve the pulsatile character of coronary haemodynamics. However, for the considered geometry, the Womersley number
\begin{align} \textit{Wo} = \frac {D}{2}\sqrt {\frac {2\pi f\rho }{\mu }} \end{align}
remains moderate, with
$ \textit{Wo}\approx 2.5$
for a physiological heart rate
$f\approx1$
Hz, thereby cyclic inertial effects modulate the instantaneous field without overturning the cycle-averaged balance. Since the mean flow partitioning is primarily governed by stenosis severity, whereas pulsatility mainly modulates the instantaneous flow field, the resulting trends are expected to be robust to pulsatile forcing. The outlet has been placed
$7D$
downstream of the end of the optimisation domain to ensure that the imposed outflow does not influence the flow patterns within the potential anastomosis region. The inlet of the optimisation domain is positioned at a distance
$D/2$
from the coronary artery. Furthermore, the height of the optimisation domain is chosen to reproduce the typical proximal location of the aorto-coronary bypass origin on the ascending aorta, as commonly assumed in idealised computational models of coronary bypass grafts (Lei et al. Reference Lei, Archie and Kleinstreuer1997; Migliavacca & Dubini Reference Migliavacca and Dubini2005; Loth et al. Reference Loth, Fischer and Bassiouny2008). Compared to the standard TO applications, in which the inlet position is prescribed, the proximal location of the bypass is not defined a priori but emerges naturally within the aortic segment of the optimisation domain.
As stressed in § 2.1, the accuracy of the numerical solution is strictly connected to the quality of the fluid–solid partition. Ideally, a clear distinction between the two phases is achieved for a very small value of
$Da^*$
, i.e. a large value of
$\alpha _{\textit{max}}$
(Alexandersen Reference Alexandersen2023). Unfortunately, for
$Re\gg 1$
, excessively large penalisation parameters compromise numerical stability during the iterative resolution of the flow-design problem (Takezawa et al. Reference Takezawa, Zhang, Tanaka and Kitamura2020). The setting of
$\alpha _{\textit{max}}$
must trade off between these two effects. In the present problem, this compromise is found by posing
$\alpha _{\textit{max}}=10^{5}$
Pa s m
$^{-2}$
, thereby the scale velocity ratio turns out to be
$V/U \sim 10^{-3/2}$
. Accordingly, velocities within the porous medium remain approximately 30 times smaller than those in the fluid region. The numerical robustness is improved, and convergence towards a well-defined fluid–solid partition is preserved, while resulting residual leakage is limited, and controlled by adopting the following two-step procedure.
In the first step, the bypass structure is progressively identified through the iterative TO procedure, where the haemodynamics of the entire system is solved at each iteration
$n$
(see figure 3). During this process, the algorithm gradually partitions the domain into fluid and porous regions, thereby shaping the preferential flow pathway that ultimately defines the bypass geometry. Initially, the optimisation domain is assumed to be entirely fluid (
$\alpha = 0$
, figure 3
a). In subsequent iterations, the algorithm progressively assigns
$\alpha$
values close to
$\alpha _{\textit{max}}$
to selected portions of the optimisation domain (figure 3
g), thereby restricting the fluid region and promoting the formation of a preferential channel (figures 3
b–e), until haemodynamic equilibrium is achieved (figure 3
f). This condition occurs when the remaining fluid region occupies a maximum of 20 % of the original domain (
$V_r = 0.2$
), and the functional
$J^*$
defined in (2.4) is minimised. The governing equations are solved numerically using the finite element method, adopting P1-iso-P2 stabilised shape functions, and SUPG stabilisation for the convection term. The domain is discretised into approximately
$8.0 \times 10^4$
triangular elements. Convergence is achieved after 500 iterations, when the integrated relative variation of the nodal design variable falls below
$10^{-5}$
. The influence of the spatial discretisation on the optimisation result is assessed through a mesh sensitivity analysis reported in Appendix A, which shows that the selected domain discretisation ensures the achievement of the characteristic geometric quantities of the bypass asymptotically. Specifically, doubling the number of mesh elements results in a variation of less than 3 % in the analysed quantities. A validation of the TO solver on classical test cases is provided in Appendix B.
In the second step, the final geometries were exported to COMSOL Multiphysics
$^{\circledR }$
software to perform a dedicated haemodynamic assessment. We considered exclusively the fluid domain
$\varOmega _F$
, thus introducing the no-slip condition at the channel walls (solid walls). To obtain a high-quality computational domain suitable for this analysis, we first reconstructed the interface from the level-set field by extracting the
$\gamma = 0.1$
iso-contour, and performing a local remeshing with the open-source software mmg2d (Dobrzynski & Frey Reference Dobrzynski and Frey2008). The resulting mesh was then converted to the .mphtxt format. The boundary of the bypass was inspected for small irregularities introduced by the discretisation and remeshing steps. Where necessary, local smoothing was applied by fitting the affected boundary segments with cubic spline interpolants, ensuring a continuous and sufficiently smooth wall description for stable flow simulations without altering the overall optimised shape. In this configuration, we finally recomputed the functional of the entire fluid domain (i.e. coronary and bypass) as
$J=J_{\boldsymbol{\nabla }{\boldsymbol {u}}}$
, with
$J_{\boldsymbol{\nabla }{\boldsymbol {u}}}$
the corresponding viscous dissipation.
We performed a series of numerical experiments to evaluate the haemodynamics within different optimal merging flow configurations. For this purpose, we define the stenosis grade as
$s=1-D_s/D$
, with
$D_s$
the corresponding size of the channel striction (see figure 2). We thus applied the TO considering four stenotic scenarios (
$s = 0.50$
, 0.75, 0.85 and 0.90) and extracted the optimal bypass (OB) for each configuration (see table 1).
Geometry of the stenotic coronary artery used as the input for computing the OB through TO.

Table 1. Long description
A table with four rows and three columns comparing different optimal merging flow configurations. The columns are labeled Label, D (mm), d (mm), and s. The rows are as follows: Row 1: Label, OB-50; D (mm), 4.0; d (mm), 2.0; s, 0.50. Row 2: Label, OB-75; D (mm), 4.0; d (mm), 1.0; s, 0.75. Row 3: Label, OB-85; D (mm), 4.0; d (mm), 0.6; s, 0.85. Row 4: Label, OB-90; D (mm), 4.0; d (mm), 0.4; s, 0.90.
(a–f) Evolution of the TO process for the bypass configuration for a coronary stenosis
$s = 0.90$
. The greyscale field represents the design variable
$\gamma$
. Snapshots at different iterations illustrate the progressive emergence of the bypass structure inside the design domain until convergence to the final optimised layout. (g) Fluid volume fraction over the optimisation iterations, converging to the prescribed constraint value
$V_r=0.2$
. Markers indicate the iterations shown in (a–f).

3. Results and discussion
The optimisation results reveal a clear transition in the optimal graft configuration as stenosis severity increases, driven by the progressive reduction of competitive flow from the native coronary artery.
Optimal configurations of the aorto-coronary bypass. (a–d) Geometry and velocity field of the bypass for
$s = 0.5$
, 0.75, 0.85 and 0.90, respectively. (e) Fraction of the total flow rate passing through the OB,
$q_{\textit{OB}}/q$
, as a function of
$s$
, evaluated at the end of the iterative scheme (dashed red line) and for solid wall boundaries (solid blue line). The differences correspond to the portion of blood flowing through the porous medium, as modelled by the Brinkman formulation (2.1a
). The trend in the flow repartition,
$\phi$
, is shown as a function of
$s$
in the inset. (f) Values of the functional
$J$
computed for the solid-wall bypass configurations shown in (a–d).

Figure 4. Long description
Panel A: A diagram showing the geometry and velocity field of the bypass for s = 0.50. Panel B: A diagram showing the geometry and velocity field of the bypass for s = 0.75. Panel C: A diagram showing the geometry and velocity field of the bypass for s = 0.85. Panel D: A diagram showing the geometry and velocity field of the bypass for s = 0.90. Panel E: A line graph showing the fraction of the total flow rate passing through the OB as a function of s, evaluated at the end of the iterative scheme (dashed red line) and for solid wall boundaries (solid blue line). The inset shows the trend in the flow repartition as a function of s. Panel F: A bar graph showing the values of the functional computed for the solid-wall bypass configurations.
We identified specific bypass geometries for each of the four considered scenarios (figures 4
a–d). The relative contribution of the total outflow
$q$
differs in all cases between the two vessels, thereby influencing the resulting bypass design. This effect is particularly pronounced for
$s = 0.5$
, whereas progressively smaller differences in haemodynamic behaviour are observed for
$s = 0.75$
, 0.85 and 0.90. For mild stenosis (
$s=0.5$
), the specific flow rate through the bypass,
$q_{\textit{OB}}$
, remains below
$50\,\%$
of the total outflow. As the stenosis severity increases, however,
$q_{\textit{OB}}/q$
rises to 0.9 for
$s = 0.75$
, and approaches unity for
$s=0.85$
and 0.9 (figure 4
e). This trend is reflected in the flow split between the two channels, measured by
$\phi = q_s/q_{\textit{OB}}$
, where
$q_s$
is the specific flow rate through the stenosis, with
$\phi$
decreasing rapidly from 1.15 to 0.15 between
$s = 0.5$
and
$s = 0.75$
, and reaches values approximately 0.047 and 0.012 for
$s = 0.85$
and 0.9. Reducing the competition between the merging flows also results in a reduction of the functional
$J$
, whose minimisation displays values almost
$10\,\%$
smaller for large
$s$
compared to the case
$s=0.5$
(figure 4
f).
Parametrisation of the OB geometry with the stenosis severity
$s$
. (a) Variation of the ratio
$D_{\textit{OB}}/D$
(magenta),
$L/D$
(light green) and
$H/D$
(red). (b) Evolution of the anastomosis angle between the optimised bypass and the coronary artery,
$\theta$
, with
$s$
(sky blue). A schematic of the geometric quantities is shown in the inset.

The model geometry embodies the competition between the flow conveyed by the native coronary artery and that diverted through the bypass, resorting to the typical S-shaped gradual transition of the distal anastomosis (Lei et al. Reference Lei, Archie and Kleinstreuer1997). Nonetheless, the essential geometrical parameters of the OB shape can be partly dictated by the stenosis severity
$s$
. Geometrical differences emerge across the designs, spanning the characteristic OB diameter (
$D_{\textit{OB}}$
) and the selected position of the bypass inlet (
$H$
), as well as the distance from the stenotic region (
$L$
) and the attachment angle (
$\theta$
) of the bypass-to-coronary anastomosis, as summarised in figure 5. Here, the trend of the four parameters is consistent with the expected haemodynamic redistribution.
As stenosis severity increases, i.e.
$\phi$
decreases, the observed larger flow
$q_{\textit{OB}}$
is routed through the bypass, calling for a larger effective OB diameter, which passes from
$D_{\textit{OB}}\approx 0.75D$
for
$s = 0.5$
to approach the coronary diameter when
$s = 0.90$
(
$D_{\textit{OB}}/D = 0.985$
) (figure 5
a). At the same time, the insertion angle
$\theta$
varies with
$s$
(figure 5
b). For
$s = 0.5$
, the optimal anastomosis displays a smooth entrance along the receiving coronary artery, with estimated
$\theta=11^\circ$
. Unlike classical vascular branching problems, under this condition, two streams with comparable momentum interact with the downstream vessel. As a result, most of the energy losses are related to momentum misalignment and resulting mixing rather than distributed viscous dissipation along the channels. Consequently, the obtained configuration appears physically plausible, as it reduces the flow separation and thus minimises the energy loss.
Interestingly,
$\theta$
increases to
$22^\circ$
in cases of severe stenosis, and the attachment angle turns out to be negatively proportional to the flow rate repartition
$\phi$
. Although these values remain small, especially when compared with previous numerical studies on bypass anastomosis reporting limiting angles
$30^\circ{-}45^\circ$
(Chen et al. Reference Chen, Lu and Wang2006; Owida et al. Reference Owida, Do and Morsi2012), the observed trend in
$\theta$
suggests a potential trade-off between the increase of energy dissipation owing to a more orthogonal confluence and the reduced flow competition between the two vessels.
The streamlines of each configuration clearly illustrate this aspect. Figures 6(a–d) highlight the two different mechanisms of the energy minimisation of the coronary bypass anastomosis in the four scenarios. Cases OB-50 and OB-75 exhibit evident flow separation regions downstream of the stenosis, as well as the smooth insertion of the bypass blood flow into the anastomosis (toe–heel region). Conversely, in OB-85 and OB-90, no significant flow separation is observed downstream of the stenosis, while a large recirculation zone persists at the coronary floor of the toe–heel region.
Energy dissipation across the coronary bypass system. (a–d) Streamlines and pressure field for the four OB configurations (OB-50, OB-75, OB-85, OB-90). (e) Local energy dissipation across the stenosis,
$\Delta \varPi _S$
(light green), and across the toe–heel region,
$\Delta \varPi _{TH}$
(orange), as functions of the flow rate repartition
$\phi$
. The inset illustrates the CVs used to evaluate these dissipations. (f) Fraction of the total mixing losses relative to the total power budget of the system,
$\Delta \dot {\mathcal{L}}_{{ML}} / J$
, as a function of the stenosis severity
$s$
.

Figure 6. Long description
Panel A: Streamlines and pressure field for OB-50 configuration. Panel B: Streamlines and pressure field for OB-75 configuration. Panel C: Streamlines and pressure field for OB-85 configuration. Panel D: Streamlines and pressure field for OB-90 configuration. Panel E: Graph showing local energy dissipation across the stenosis and toe-heel region as functions of the flow rate repartition. The inset illustrates the control volumes used to evaluate these dissipations. Panel F: Graph showing the fraction of the total mixing losses relative to the total power budget of the system as a function of the stenosis severity.
According to the energy approach, the coronarybypass system can be interpreted in terms of localised and distributed dissipation mechanisms. The constriction–expansion losses across the stenosis (
$\Delta \varPi _S$
) and the mixing losses at toe–heel insertion (
$\Delta \varPi _{TH}$
) as a function of
$\phi$
are summarised in figure 6(e). Here, the pressure losses are estimated as
$\Delta \varPi =\Delta \dot {\mathcal{L}}/q_{out}$
, with
$q_{out}$
the outflow from each control volume (CV), and
$\Delta \dot {\mathcal{L}}$
the power dissipated within, which can be expressed as (Peruzzo Reference Peruzzo2023)
where
$\dot {\mathcal{L}}_i$
represents the blood power flowing through the vessel’s open boundary
$A_i$
on the CV. The latter is defined as
where the terms in parentheses give the specific mechanical energy per unit of volume.
The pressure loss across the stenosis progressively decreases from nearly
$\Delta \varPi _S = 35$
Pa to almost 0 Pa as the parameter
$\phi$
decreases. This indicates that the bypass-induced reduction in coronary flow rate outweighs the local flow acceleration generated by the stenosis. Additionally, the pressure loss at the coronary bypass junction increases with
$\phi$
reducing, but it is not monotonic, reaching a maximum when
$\phi = 0.047$
(
$s = 0.85$
). Overall, the dissipation associated with sharp geometry variations, i.e. the sum of
$\Delta \varPi _S$
and
$\Delta \varPi _{TH}$
, decreases following the reduction of
$\phi$
, i.e. when the grade of the stenosis increases.
According to the nature of the energy dissipations, the optimal configurations reveal two distinct regimes depending on stenosis severity. For mild-to-moderate stenosis (OB-50 and OB-75), the coexistence of comparable inflow contributions (
$\phi \sim \mathcal{O}(1){-}\mathcal{O}(10^{-1})$
) generates flow separations and enhanced shear layers, leading to non-negligible mixing losses both across the stenosis (
$\Delta \varPi _S$
) and in the toe–heel region (
$\Delta \varPi _{TH}$
). In this regime, the energetic cost associated with these two comparable inflow streams significantly impacts the dissipation budget. In contrast, for severe stenosis (OB-85 and OB-90), the bypass effectively becomes the primary flow conduit (
$\phi \sim \mathcal{O}(10^{-2})$
). The suppression of competitive inflow from the native coronary reduces velocity gradients across the stenotic segment, causing
$\Delta \varPi _S$
to decrease by one to two orders of magnitude. Dissipation is then primarily localised in the anastomotic region, where momentum redirection and wall interaction remain unavoidable.
This transition is quantitatively captured in figure 6(f), which reports the fraction of total power lost through local losses,
$\Delta \dot {\mathcal{L}}_{{ML}} / J$
. As stenosis severity increases, this ratio decreases monotonically, indicating a progressive shift towards energetically coherent coupling between bypass and coronary. In other words, the optimised configuration approaches a state in which the global dissipation functional is dominated by distributed viscous effects rather than localised losses.
From a mechanical standpoint, this behaviour suggests that merging inflows optimisation in response to increasing
$s$
reduces the dissipation by reorganising the spatial distribution of energy losses, and promoting configurations in which the energetic cost of momentum redistribution is reduced, and localised losses are mitigated. Despite the higher insertion angle
$\theta$
, the severe-stenosis configurations therefore exhibit a higher energetic efficiency, as a smaller fraction of the total power budget is consumed by localised mixing losses, principally owing to relieving the strong losses that would otherwise occur across the imposed section restriction.
This interpretation is supported by the distribution of the vorticity magnitude,
$|\omega |$
(figures 7
a–d). In two-dimensional incompressible flows, the viscous dissipation is closely related to
$\omega$
, by the enstrophy, according to the identity
where
$\boldsymbol {D}$
is the strain-rate tensor, and
with
$u$
and
$v$
the velocity component along the longitudinal and transverse directions,
$x$
and
$y$
. The divergence term of (3.3) accounts for the advective transport of velocity gradients. It reduces to a boundary contribution when integrated over the domain, and is null where no-slip conditions are enforced at the vessel walls and for sufficiently developed velocity at the inlet and outlet sections. Accordingly, the problem functional can also be approximated as
thus providing a direct link between vorticity magnitude and viscous energy losses.
Vorticity in optimal merging flows. (a–d) Fields of the vorticity magnitude for the optimised bypass configurations OB-50, OB-75, OB-85 and OB-90, respectively. (e) Cross-sectional enstrophy
$\varGamma$
along the coronary artery for the same configurations. The pink area corresponds to the stenotic region, while circles and squares show the different heel and toe positions of the anastomosis, respectively.

The resulting vorticity fields thus provide a clear measure of the dissipation mechanisms within the system. The stenosis in the OB-50 configuration generates regions of very high vorticity along the coronary artery upstream of the anastomosis, which instead shows slight vorticity. Excluding the stenotic portion of the vessel where
$|\omega |$
reaches more than
$450\ \text{s}^{-1}$
due to the strong velocity gradient imposed by the restriction, almost zero
$|\omega |$
characterises the same portion of the coronary artery in the other three scenarios, reflecting the presence of low blood flows expressed by
$\phi$
. However, among the three, the OB-75 case is the only configuration to exhibit significant values of
$|\omega |$
downstream of the stenotic segment, demonstrating the occurrence of flow separation in this scenario. Furthermore, the bypass inflow becomes the primary source of vorticity at the junction, generating a concentrated high-vorticity region across the anastomosis. While the overall pattern is similar across the severe-stenosis cases, both the magnitude and spatial extent of
$|\omega |$
increase with stenosis severity.
The streamwise distribution of dissipation along the coronary artery can be quantified by integrating the enstrophy on the section, i.e.
Increasing the stenosis grade
$s$
leads to a dramatic reduction of the dissipation across the stenosis and the downstream portion (figure 7
e). When a significant fraction of the flow is routed through the native coronary (
$\phi = 1.15$
), equivalent dissipations occur within the stenosis and further downstream. Conversely, for
$\phi = 0.047$
and 0.012 (OB-85 and OB-90), the losses are substantially due to friction and constrained within the stenotic throat.
The magnitude and spatial distribution of dissipation along the anastomosis remain comparable across all configurations, with
$\varGamma$
that progressively increases in the streamwise direction. However, in the OB-85 and OB-90 configurations, this increase levels off downstream of the heel, indicating a shift in the momentum redistribution downstream of the separation region, developed on the coronary floor.
Transverse momentum exchange across the coronary bypass system. (a–d) Non-dimensional transverse convective flux of axial momentum
$\tilde {u}\tilde {v}$
for the four OB configurations. The threshold
$5\times10^{-4}$
has been applied to improve the visualisation of transverse momentum exchange areas. (e) Transverse momentum flux per unit depth
$\varPhi _y$
for the four scenarios. The inset illustrates the origin of the axes at the bypass heel and the coronary centreline. The colours of the lines are the same as in figure 7. (f) Longitudinal extension of the mixing momentum region,
$\lambda$
, as a function of
$\phi$
. The colour bar indicates the cumulative transverse momentum along
$\lambda$
(negative values denote momentum transfer towards the coronary floor).

Figure 8. Long description
Panel A: A contour plot showing the non-dimensional transverse convective flux of axial momentum for the OB-50 configuration. The color scale ranges from 0 to 0.30, with darker colors indicating lower flux and lighter colors indicating higher flux. Panel B: A contour plot showing the non-dimensional transverse convective flux of axial momentum for the OB-75 configuration. The color scale ranges from 0 to 0.30, with darker colors indicating lower flux and lighter colors indicating higher flux. Panel C: A contour plot showing the non-dimensional transverse convective flux of axial momentum for the OB-85 configuration. The color scale ranges from 0 to 0.30, with darker colors indicating lower flux and lighter colors indicating higher flux. Panel D: A contour plot showing the non-dimensional transverse convective flux of axial momentum for the OB-90 configuration. The color scale ranges from 0 to 0.30, with darker colors indicating lower flux and lighter colors indicating higher flux. Panel E: A line graph showing the transverse momentum flux per unit depth for the four scenarios. The x-axis represents the non-dimensional transverse momentum flux, ranging from -30 to 5 times 10^-2. The y-axis represents the non-dimensional position x/D, ranging from 0 to 10. Different colored lines represent different configurations, with the inset illustrating the origin of the axes at the bypass heel and the coronary centerline. Panel F: A scatter plot showing the longitudinal extension of the mixing momentum region as a function of phi. The x-axis represents phi on a logarithmic scale ranging from 10^0 to 10^-2. The y-axis represents lambda ranging from 5 to 9. The color bar indicates the cumulative transverse momentum along, with negative values denoting momentum transfer towards the coronary floor.
In this frame, the term
$\tilde {u}\tilde {v}$
is the non-dimensional transverse convective flux of axial momentum, and provides a quantitative measure of the momentum exchange between the bypass inflow and the coronary flow, which is responsible for the progressive realignment of the former within the receiving vessel (figure 8). The inflow from the bypass is realigned through a large transverse momentum exchange within the toe–heel region, whose intensity increases with
$q_{\textit{OB}}/q$
, inversely related to
$\phi$
(figures 8
a–d). As a result, a larger portion of the receiving coronary experiences significant momentum exchange by increasing the stenosis
$s$
, as summarised in figure 8(e), where we report the transverse momentum flux per unit depth,
$\varPhi _y$
, defined in non-dimensional form as
Starting from the bypass heel (
$x = 0$
in figure 8
e), the extension of the region over which
$99\,\%$
of the cumulative transverse momentum occurred has been evaluated by introducing the non-dimensional distance
$\lambda$
such that
where
$\tilde {M}_y$
is the overall cumulative momentum transport transferred transversely along the receiving coronary, i.e.
Interestingly, a nearly logarithmic relation emerges between
$\lambda$
and
$\phi$
, with the former passing from
$\lambda = 6.2$
for the case OB-90 to
$\lambda = 8.2$
for the case OB-50 (figure 8
f). However, at the same time, the module of the cumulative momentum transport decreases almost linearly, passing from
$|M_{y,\lambda }| = 0.162$
N m m−1 to
$|M_{y,\lambda }| = 0.062$
N m m−1. Accordingly, in the presence of competitive inflows, as is the case with
$s = 0.5$
, the transverse momentum introduced by the bypass, albeit relatively small, is re-equilibrated over a longer distance, thereby altering the local haemodynamics in a larger portion of the vessel. In contrast, the bypass-dominated regime more efficiently restores the equilibrium velocity profile by increasing the transverse momentum exchange through larger values of
$\theta$
.
Velocity and shear stress profiles along the bypass anastomosis. (ai,bi,ci) Normalised axial velocity along the radial direction in the three sections reported in the sketch at the top for the four stenotic conditions. (ai
i,bii,cii) Corresponding normalised shear stress distribution along the section
$\tau _0=4\mu v_{\textit{max}}/D$
.

As a direct consequence, optimisation under severe stenosis leads to the recovery of a near-parabolic velocity profile and the corresponding shear stress distribution in the early portion of the distal coronary segment (figure 9). In the vicinity of the toe, the streamwise velocity
$u$
reflects the interaction between the native coronary flow and the bypass inflow (figure 9
a
i). In the OB-50 configuration, where the two streams carry comparable momentum, the flow exhibits a bimodal velocity distribution, indicative of a competitive-flow regime characterised by irregular shear-layer distributions between the incoming streams (figure 9
aii), here quantified by the effective shear stress
In contrast, the OB-85 and OB-90 cases display a single dominant velocity peak, consistent with a transition towards a bypass-dominated regime. In these cases, the flow is primarily governed by momentum redirection, although a flow separation region remains near the coronary floor. This promotes deviations of the shear-stress profile from the classical linear distribution, indicating localised distortions of the velocity gradients induced by jet interaction, which enhances viscous momentum exchange.
Further downstream, the flow progressively reorganises into a canonical Poiseuille-like profile. This recovery occurs earlier in the OB-90 case, figure 9(bi), whereas for the other configurations – excluding OB-50 – it is only achieved in figure 9(ci). The delayed re-establishment of a parabolic profile in OB-50 reflects the sustained influence of the shear layer associated with competing inflows, which instead reorganise
$\tau$
according to a linear distribution along the section in the other cases (figures 9
bii,cii).
The results show that the parameter
$\phi$
governs the merging-flow regime between the native coronary artery and the bypass, and in turn is primarily controlled by the severity of the native-vessel stenosis. A direct relationship between
$s$
and
$\phi$
can be established under the assumption of equal pressures at the two inlets. If this assumption is relaxed, however, then pressure differences between the coronary ostium and the proximal bypass inlet may also contribute to the flow partitioning.
To assess the influence of the inlet-pressure assumption, additional optimisations were performed by prescribing the bypass-inlet pressure as
$p_{ao}-\Delta p$
, with
$\Delta p =10$
, 20 and 30 Pa, corresponding to dimensionless pressure differences
$\Delta \tilde {p}\approx 0.17$
, 0.33 and 0.50, respectively. The analysis was carried out for the four stenotic configurations considered here, and for two additional cases of severe stenosis, namely,
$s = 0.95$
and 0.98 (see figure 10). The imposed pressure difference has only a minor effect on the optimal configuration for mild-to-moderate stenosis (
$s\le 0.75$
), for which the solutions approximately collapse onto a unique relation between the flow-partition parameter
$\phi$
and the graft insertion angle
$\theta$
. As stenosis severity increases and the system becomes increasingly bypass-dominated, the optimal angle becomes more sensitive to
$\Delta \tilde {p}$
. When
$\phi$
ranges between
$10^{-3}$
and
$10^{-1}$
, a reduction in bypass-inlet pressure shifts part of the flow towards the coronary, increasing the dissipation associated with the stenosis. The optimisation compensates for this redistribution by reducing the graft insertion angle, thereby favouring flow through the bypass, and limiting the overall losses. For
$\phi\lt10^{-3}$
, however, the native coronary contribution becomes negligible, and the system effectively behaves as a single conduit (
$s\geq 0.98$
). In this limit, the optimal angle becomes largely insensitive to the imposed inlet-pressure, and approaches
$\theta _{\textit{max}}\approx23^\circ$
. These results indicate that the main trends identified under the equal-pressure assumption remain robust, while moderate inlet-pressure differences mainly affect the optimal graft geometry in the transition towards the bypass-dominated regime.
Sensitivity of the OB insertion angle
$\theta$
to the pressure difference between the native coronary and graft inlets. The graft-inlet pressure is prescribed as
$p_{ao}-\Delta p$
, with
$\Delta p=0$
, 10, 20 and 30 Pa, respectively, and reported in dimensionless values in the legend (
$\Delta \tilde {p} =\Delta p/\rho U^2$
). Symbols denote the optimal configurations obtained for different stenosis severities
$s$
, reported as a function of the flow-partition parameter
$\phi$
. Large orange circles denote the four cases analysed in the present study. The thick black curve corresponds to the reference condition
$\Delta \tilde {p} = 0$
. Thin black and red lines connect solutions obtained, respectively, at the same
$\Delta \tilde {p}$
and
$s$
, and are shown as guides to the eye. The horizontal blue line indicates the limiting insertion angle,
$\theta _{\textit{max}}\approx23^\circ$
, approached as the native coronary contribution becomes negligible. The inset illustrates the imposed inlet-pressure conditions and the definition of
$\theta$
.

This study aims to identify fundamental haemodynamic mechanisms of merging flow in an aorto-coronary-bypass-like configuration, rather than to provide patient-specific predictions. The extent to which these results can be directly translated to clinical applications depends on additional complexities inherent to real scenarios, particularly those related to vessel anatomy and surgical accessibility and constraints. In actual CABG procedures, geometrical parameters such as graft length, inlet position and graft diameter are constrained by patient-specific anatomy, conduit availability, target-vessel characteristics and surgical accessibility (Gaudino et al. Reference Gaudino2023).
For instance, the optimal proximal attachment location obtained here should be interpreted in the context of the idealised nature of the present formulation. In clinical aorto-coronary bypass grafting, the proximal anastomosis is placed on the ascending aorta, with its exact location constrained by patient-specific anatomy, the condition of the aortic wall, and the required graft trajectory. The attachment predicted by the present optimisation lies closer to the coronary ostium than would generally be adopted clinically (Baudo et al. Reference Baudo, Torregrossa and Puskas2024), although more distal locations were admissible within the optimisation domain. As a consequence, the distance
$H$
provided here reflects the minimisation of haemodynamic losses under the present constraints rather than a direct surgical recommendation. This difference highlights the distinction between a purely haemodynamics optimum and a clinically feasible configuration, for which anatomical and surgical-planning constraints must also be considered. A clinically oriented formulation could therefore combine haemodynamics efficiency with geometrical constraints accounting for admissible proximal attachment regions, graft length and curvature.
These aspects cannot be explicitly addressed within the present framework, in which the maximum graft volume is prescribed. Nevertheless, some general implications can be drawn from the optimisation results.
First, although the definition of the volume
$V_r$
partially controls the final shape of the bypass, particularly the diameter
$D_{\textit{OB}}$
, the path of the OB is substantially unaffected by this parameter. In the present analysis, the value
$V_r = 0.2$
yields comparable diameters between the bypass and severely stenotic coronaries. Clinical studies do not identify a unique optimal graft-to-host diameter ratio, but the calibre of the recipient coronary vessel is known to influence graft patency (Motwani & Topol Reference Motwani and Topol1998). Liu et al. (Reference Liu, Yang, Nan, Qi, Pang and Shi2020) investigated the effects of different diameter ratios, prescribing values spanning from 0.78 to 1.11 to ensure a smooth haemodynamic condition across the anastomosis. This suggests that graft sizing might represent an additional geometrical mechanism for balancing graft conductance and native-vessel flow, favouring flow repartition towards the graft in the bypass-dominated scenarios (
$\phi \ll 1$
). Although no specific clinical recommendations currently exist regarding such stenosis-dependent adaptation of graft diameter, the resulting graft calibres remain physically plausible when compared with those of autologous conduits commonly used in coronary bypass surgery, such as the internal mammary artery and the saphenous vein (Szpytma et al. Reference Szpytma, Baker, Gimpel, Newland, Lance, Rice, Crouch and Bennetts2024), for which graft-to-coronary diameter ratios of order unity can be attained.
The optimisation procedure identified a Taylor-patch-like configuration as particularly effective in reducing energy losses at the distal anastomosis, consistent with the outcomes proposed by Quarteroni & Rozza (Reference Quarteroni and Rozza2003) in a seminal work on the shape optimisation of the coronary bypass anastomosis. More broadly, the results indicate that smooth transitions between the graft and coronary arteries, along with relatively small merging angles, can minimise local flow disturbances and energy dissipation. Previous experimental and numerical studies have also shown that anastomotic haemodynamics significantly depends on graft geometry and the angle of anastomosis (Chen et al. Reference Chen, Lu and Wang2006; Owida et al. Reference Owida, Do and Morsi2012). However, it remains to be seen whether the relatively small angles suggested by this optimisation can be practically implemented and provide a clinical advantage. The durability of the implant, indeed, is also strictly related to the exposure of the vascular wall to velocity gradients (Pandey & Yadav Reference Pandey and Yadav2022; Peruzzo et al. Reference Peruzzo, Del Ferraro and Lanzoni2024). Pulsatile flow may generate regions characterised by low time-averaged wall shear stress and elevated oscillatory shear index, particularly in the vicinity of the graft–coronary anastomosis, with potential implications for vascular adaptation and long-term graft performance (Frauenfelder et al. Reference Frauenfelder, Boutsianis, Schertler, Husmann, Leschka, Poulikakos, Marincek and Alkadhi2007; Khan et al. Reference Khan, Tran, Zhu, Boyd, Packard, Karlsberg, Kahn and Marsden2021; Mazzi et al. Reference Mazzi, De Nisco, Hoogendoorn, Calò, Chiastra, Gallo, Steinman, Wentzel and Morbiducci2021). Assessing these effects requires fully pulsatile simulations and is therefore beyond the scope of the present study.
Whether the present instantaneous analysis on the hydraulic efficiency of the bypass configuration implicitly promotes not exclusively locally but also temporally coherent near-wall shear stress distributions at the anastomosis thus remains an open question that warrants further investigations. Establishing this connection through further targeted analysis could facilitate the adoption of TO as a technique for restoring healthy haemodynamics and encouraging its use in the design of cardiovascular implants.
4. Conclusion
The presence of stenosis in the coronary bypass system leads to peculiar optimal configurations of the merging inflows within. In particular, the optimal coronary bypass geometries emerge from the balance between viscous dissipation and inertial losses generated by competitive coronary and graft flows.
As the severity of stenosis increases, to route the increased blood flow efficiently, the bypass diameter increases, as well as the anastomosis entry angle. However, according to the flow repartition between the two branches,
$\phi$
, the resulting haemodynamics is substantially different. For low–moderate stenosis conditions, i.e.
$\phi \sim \mathcal{O}{(1)}$
, the persistence of competing flow between the native coronary and the bypass leads to a configuration in which the dissipation due to the stenosis substantially impacts the total energy flow budget, which is partially mitigated by a smooth bypass inflow entrance in the anastomosis by reducing the junction angle
$\theta$
. In contrast, severe stenosis conditions, i.e.
$\phi \sim \mathcal{O}(10^{-2})$
, lead to a bypass-dominated configuration, where the low flow competition and reduced local-loss fractions indicate a shift towards energetically efficient flow coupling, even in the presence of a relatively large entry angle at the anastomosis.
In the first cases, the system operates in a competitive-flow regime where small anastomotic angles enhance the shear-layer formation and favour an extended region with low transverse momentum mixing in the receiving coronary portion. Conversely, when the bypass dominates the momentum balance, the anastomosis junction behaves as a momentum-redirection region in which the larger attachment angles help to redistribute the incoming momentum quickly. In this condition, the system not only reduces the total dissipation, but reorganises its spatial distribution by reshaping the fluid domain in merging configurations in which energy losses are less concentrated in localised mixing regions, and more evenly distributed throughout the flow domain.
In essence, this work demonstrates that in competitive merging inflows, optimal configurations are determined not by the minimisation of dissipation alone, but by the selection of where energy losses are preferentially concentrated within the system.
Overall, the proposed approach elucidates how the complex interplay among different mechanical principles governs flow branching under pressure conditions, leading to non-standard optimal configurations. In this context, topology optimisation provides a powerful general framework for identifying energetically structured configurations in complex viscous flow scenarios.
Acknowledgements
The authors thank A. Gorgi for his contribution to the development of the code used in this work.
Funding
This research received no specific grant from any funding agency, commercial or not-for-profit sectors.
Declaration of interests
The authors report no conflict of interest.
Use of generative AI tools
Generative AI tools (ChatGPT, Claude) were used only to assist in the drafting and language editing of the text; no AI tool was involved in the numerical simulations, data analysis or figure generation, and the authors take full responsibility for the content of the paper.
Data availability statement
The code used to obtain the numerical results is available at https://github.com/GianmarcoBoscolo/FTOPT.
Appendix A. Mesh sensitivity of the TO solution
To assess the robustness of the proposed density-based TO framework, a mesh sensitivity analysis of the optimisation solution is performed. Four simulations are carried out for one of the analysed scenarios (OB-90), progressively refining the spatial discretisation.
The meshes are characterised by the average element sizes
$h_4, h_3, h_2, h_1$
, ordered from the coarsest to the finest resolution. The refinement is performed with a constant ratio
so that each level approximately doubles the number of elements in the computational domain. The computational mesh considered in the study corresponds to
$h_2$
.
It should be noted that refining the mesh also increases the number of design variables involved in the optimisation process. As a consequence, the dimensionality of the optimisation problem grows accordingly, which may lead to slight variations in the optimal configuration due to the increased complexity of the search space (Bendsoe & Sigmund Reference Bendsoe and Sigmund2013).
Mesh convergence is evaluated by monitoring the four geometric quantities introduced in the main text (
$L/D$
,
$H/D$
,
$D_{\textit{OB}}/D$
and
$\theta$
, defined in § 3), together with the objective functional (
$J^*$
, defined in (2.4)). The corresponding values obtained for the different mesh resolutions are summarised in table 2. The small discrepancies with respect to the values given in the main text arise from the difficulty of identifying the exact fluid–solid interface in the density-based TO solution.
Values of the geometric parameters considered in the mesh sensitivity analysis.

Table 2. Long description
The table presents mesh convergence data for four geometric quantities and an objective functional. It has five columns and four rows. The columns are labeled Mesh, Elements, L/D, H/D, DOB/D, θ (deg.), and J* (mW m⁻¹). The rows are labeled h4, h3, h2, and h1. Each row provides specific values for the different mesh resolutions. For example, the first row (h4) shows 20,000 elements with values 5.58, 2.39, 0.922, 23.1, and 71.40. The second row (h3) shows 40,000 elements with values 5.05, 2.24, 0.968, 22.6, and 65.78. The third row (h2) shows 80,000 elements with values 4.78, 2.10, 0.983, 22.2, and 63.26. The fourth row (h1) shows 160,000 elements with values 4.65, 2.04, 0.99, 21.9, and 61.39.
To provide a quantitative estimate of the discretisation uncertainty, the grid convergence index (GCI) is evaluated following the procedure proposed by Roache (Reference Roache1998) and the guidelines reported in Celik et al. (Reference Celik, Ghia, Roache, Freitas, Coleman and Raad2008). The analysis is performed using the three finest meshes (
$h_3$
,
$h_2$
,
$h_1$
) and based on the values reported in table 2.
For each quantity, the apparent order of convergence
$\beta$
is estimated, and the relative error between successive meshes is computed. The GCI between two mesh levels is then evaluated as
where
$\varepsilon _{i,j}$
denotes the relative difference between the solutions obtained on meshes
$i$
and
$j$
, and
$F_s=1.25$
is the safety factor.
To verify that the solution lies in the asymptotic range of grid convergence, the ratio
is evaluated. According to the recommendations in Celik et al. (Reference Celik, Ghia, Roache, Freitas, Coleman and Raad2008), this ratio should be close to unity when the solution belongs to the asymptotic convergence regime. In the present case, the computed values are found to be
$ R_{GCI}\approx 1$
(see table 3), confirming that the solution obtained with the computational mesh used in this work,
$h_2$
, lies within the asymptotic convergence range.
Grid convergence analysis for the monitored quantities.

Table 3. Long description
A table with six rows and six columns comparing various indicators across different ratios. The columns are labeled Indicator, L/D, H/D, DOB/D, θ, and J*. The indicators listed are β, ε32, ε21, GCI21, and R_GCI. Each row provides specific values for each indicator across the different ratios. For example, the first row shows β with values 2.275, 2.463, 2.000, 0.830, and 0.852 respectively. The table provides a detailed comparison of these indicators across the specified ratios.
Appendix B. Validation of the TO solver
The TO numerical framework adopted in the present work is implemented in an in-house solver developed by the authors, freely available at https://github.com/GianmarcoBoscolo/FTOPT.
To assess the reliability of the implementation, the solver has been applied to a set of classical test cases widely discussed in the fluid TO literature (Borrvall & Petersson Reference Borrvall and Petersson2003; Guest & Prévost Reference Guest and Prévost2006; Olesen et al. Reference Olesen, Okkels and Bruus2006). Four configurations are reported in figure 11. In all of them, a parabolic velocity profile is prescribed at the inlets, and an open-boundary condition is applied at the outlets, corresponding to
$Re = 1$
.
In the diffuser problem (figure 11
a), the inlet spans the entire left-hand boundary, while only a small portion of the opposite side is assigned as outlet. With a prescribed fluid volume fraction
$V_r = 0.5$
, the procedure recovers the smooth converging profile connecting the two sections, without discontinuous area variations. In the pipe-bend problem (figure 11
b), the inlet has width one-sixth of the side length, and is located in the upper part of the left-hand boundary, while the outlet of equal width lies on the bottom boundary. With
$V_r = 0.2$
, the two sections are connected by a single duct of nearly uniform width, whose curvature distributes the flow turning over the largest available length.
Figures 11(c,d) refer to a rectangular domain of aspect ratio 2 : 1. In the straight-channel problem (figure 11
c), the inlet occupies one third of the left-hand boundary, and the outlet is placed at the same height on the opposite side. The resulting layout is not the duct of constant width joining the two openings. Since the prescribed volume fraction
$V_r = 0.5$
exceeds the volume required by such a duct, the additional fluid volume is employed to widen the channel gradually up to mid-length, and to taper it symmetrically towards the outlet, thereby reducing the velocity magnitude and the associated velocity gradients over the central portion of the domain. In the double-channel problem (figure 11
d), two inlets on the left-hand boundary are connected to two outlets on the opposite side with
$V_r = 0.334$
. The optimised configuration does not consist of two separate ducts. The two incoming streams merge into a single wider channel that occupies most of the domain length, and split again through a bifurcation in the proximity of the outlets, so that the dissipation associated with the confluence and the bifurcation is compensated by the reduced distributed dissipation of the merged conduit.
Optimised layouts obtained for four classical test cases of fluid TO: (a) diffuser and (b) pipe bend on a square design domain, with
$V_r = 0.5$
and
$V_r = 0.2$
, respectively; (c) straight channel and (d) double channel on a rectangular domain of aspect ratio 2 : 1, with
$V_r = 0.5$
and
$V_r = 0.33$
, respectively. In all cases, the Reynolds number is
$Re = 1$
, a parabolic velocity profile is prescribed at the inlets, and an open-boundary condition is imposed at the outlets.






Qm
Qd1
Qd2
Qba
Qrv
Qlv
Qs
Qb
Qb≈Qs
Qb≫Qs
Qc
D
Ds
pao
umax
s=0.90
γ
Vr=0.2
s=0.5
qOB/q
s
ϕ
s
J
s
DOB/D
L/D
H/D
θ
s
ΔΠS
ΔΠTH
ϕ
ΔL˙ML/J
s
Γ
u~v~
5×10−4
Φy
λ
ϕ
λ
τ0=4μvmax/D
θ
pao−Δp
Δp=0
Δp~=Δp/ρU2
s
ϕ
Δp~=0
Δp~
s
θmax≈23∘
θ

Vr=0.5
Vr=0.2
Vr=0.5
Vr=0.33
Re=1