The Pulse Wave Solver is also capable of handling more complex networks, such as a complete human arterial tree proposed by Westerhof et al. . In this example, we will use the refined data from  and set up the network shown in the figure in the right. We will explain how bifurcations are set correctly and how each arterial segment gets its correct physiological data.
First, we will set up the mesh where each arterial segment is represented by one element and
two vertices respectively. Then, we will subdivide the mesh into different subdomains by using
<COMPOSITE> section. Here, each arterial segment is described by the contained elements
and its first and last vertex.
The mesh connectivity is specified during the creation of elements by indicating the starting vertex and ending vertex of each individual artery segment. Shared vertices are used to describe bifurcations, junctions and mergers between different artery segments in the network.
The composites are then used to specify the two adjoining segments of an artery, where the first segment merely allows for description of the connectivity.
Then the choice of polynomial order, solver information, area of the arteries and other parameters are specified.
The vertices where the network terminates are specified as boundary regions based on their subsequent composite ids.
In the boundary conditions section the inflow and outflow conditions are set up. Here we use an inflow boundary condition for the area at the beginning of the ascending aorta taken from  and plotted on the right. Potential choices for inflow boundary conditions include Q-Inflow and Time-Dependent inflow. The outflow conditions for the terminal regions of the network could be specified by different models including eTerminal, R, CR, RCR and Time-Dependant outflow.
Again, for the initial conditions we start our simulation from static equilibrium conditions A = A0 and for u being initially at rest. The following lines show how we specify A0 and β for different arterial segments.
Our simulation is started as described before and the results show the time history for the conservative variables A and u, as well as for the characteristic variables W1 and W2 at the beginning of the ascending aorta (Artery 1). We can see that physically correct the shape of the inflow boundary condition appears in the forward traveling characteristic W1. As we do not have a terminal resistance at the outflow, one would normally expect W2 to be constant. However this is not the case, as bifurcations cause reflections if the radii of parent and daughter vessels are not well matching, leading to changes in W2. The shapes of A and u result from this facts and show the values for the physiological variables during one cardiac cycle. We may annotate that this values slightly differ from in vivo measurements due to the missing terminal resistance, which will be added in future.
These short examples should give an insight to the functionality of our PulseWaveSolver and show that results such as luminal area and pressure within the artery can be simulated. These results can contribute to understanding the physiology of the human vascular system and they can be used for patient-specific planning of medical interventions.
In the following we will explain the usage of the ?? to model the flow and pressure variation through a stented artery - a cardiovascular procedure in which a small mesh tube is inserted into an artery to restore blood flow through a constricted region. Due to the implantation of the stent this region will have different material properties compared to the the surrounding unstented tissue; hence will influence the propagation of waves through this system. The stent scenario to be modelled is a straight arterial segment with a stent situated between x = a1 and x = a2 as shown below.
Geometry: In the following we describe the geometry setup for modelling 1D flow in a stent. This is done by defining vertices, elements and composites. The vertices of the domain are shown below, consisting of 30 elements (Ω) and 31 vertices (V[n]).
To represent the above in the xml file, we define 31 vertices as follows:
and the connectivity of these vertices to make up the 30 elements:
These elements are combined to three different composites (shown below): composite 0 represents all the elements; composite 1 the inflow boundary and composite 2 the outflow boundary.
The above composites are specified as follows:
Finally the domain is specified by the first composite by
Expansion: For the expansions we use 4th-order polynomials which define our two variables A and u on the domain.
Solver Information: The Discontinuous Galerkin Method is used as projection scheme and the time-integration is performed by a simple Forward Euler scheme. A full list of possible time integration scheme is given in the parameter section of the ??
Parameters: Parameters used for the simulation are taken from 
Boundary conditions: At the inflow we apply a pressure boundary condition as shown in the figure below. This condition models the pressure variation during one heartbeat. A simple absorbing outflow boundary condition is applied the right end of the tube.
These are defined in the xml file as follows,
The simulation starts from the static equilibrium of the vessel with normalised area and velocity.
Functions: The stent is introduced by applying a variable material properties function (β - see equation 12.2) along the vessel in the x direction, shown graphically below
and defined in the xml file by
The simulation is started by running
It will take about 60 seconds on a 2.4GHz Intel Core 2 Duo processor and therefore is computationally realisable at every clinical site.
As a result we get a 3-dimensional interpretation of the aortic cross-sectional area varying in axial direction both for the stented and non-stented vessel. In case of the stent, the rigid metal mesh will restrict the deformation of the area in that specific part of the artery compared to the normal vessel (Fig. 12.7).
Also, if we look at the pressure at three points within the artery (P, M, D) we will recognize that there are major differences between the stented and normal vessel. While in the normal vessel (left) the pressure wave applied at the inflow is propagated without any losses, this does not hold for the stented artery (right). Here, the stiffening at the stent causes reflections and thus there are losses for total pressure at the medial (M) and distal (D) point.