Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

Computational fluid dynamics (CFD) can help to visualize and understand the flow behaviour in the human arterial system. Nowadays, patient specific CFD models are created from MRI or computer tomography (CT) in order to get realistic geometries and to evaluate pressure gradients in regions of coarctations [6, 9]. In future, CFD methods will help to reduce the need for diagnostic catheterization. In this context, new studies treat both pre- and post-treatment in CFD studies to improve their accuracy based on real patient data [5, 10]. Generally, 4D-MRI data are used to obtain the flow rates in the ascending and descending aorta. All other outlets in between are treated according to methods which rely on cross-sectional area relationships [5, 8]. The simulations have in common, that outflow conditions with fixed flow rates are identical for both pre- and post-treatment setups even though the flow resistance in the arteries under consideration might be significantly altered by e.g. angioplasty.

This paper deals with the correct utilization of outflow conditions, when flow rates can be extracted from measurements via MRI. In this case, fluxes would be patient based and outflow conditions are calibrated to each single patient in order to use Dirichlet conditions for pressure at all outlets in conjunction with velocity dependent loss coefficients of porous media. By this approach the flow resistance of the arterial system lying downstream of each outlet is modelled independently from the flow conditions in the simulation domain.

2 Methodology

The following section gives an overview about the applied CFD codes, the complete optimization chain as well as the meshing, the domain mapping and the treatment of stationary and transient boundary conditions. The established work flow shows to be valid for different cases of hemodynamics in patients. Additionally, the use of porous domains clearly stabilizes the solution procedure and suppresses pressure reflections in the beginning of transient runs leading to higher possible Courant numbers for implicit solvers.

2.1 Geometries

In this study, we use three different types of arterial systems originating just behind the aortic valve with different numbers of bifurcations, see Fig. 1. Case a was extracted from CT while b and c are both extracted using PC-MRI data. Case b and c are inherited from Mirzaee et al. [10]. Case a consists of one inlet and thirteen outlets while case b and c have four outlets in total.

Fig. 1
figure 1

Three hemodynamic cases. a—Healthy patient, b—patient with aneurysm and c—patient with coarctation. All geometries in same scale except total view of a

The edge resolution of the stereolithographic representation of case a and c is in the range of 0. 0001 [m] for the most curved parts. Case b uses a higher resolution down to 10−6 [m]. All inlet and outlets are cut almost perpendicular with respect to the aortic wall in order to avoid numerical errors.

2.2 Meshing

We use a cartesian based meshing process cartesianMesh from cfMesh [2] for all three setups. One key advantage of this mesher is the fully automated workflow via scripting. Table 1 highlights the meshing parameters for each geometry setup. At each outlet, we introduce an additional volume mesh where the boundary mesh is extruded perpendicular to face normal’s with ten layers each and an average thickness of about \(0.0025\ \left [\mathrm{m}\right ]\) per layer, see Fig. 2. The extrusion is done with the utility extrudeMesh which is included in the framework OpenFOAM ®;. In addition, each extruded mesh is marked with a cellZone being able to introduce specific source terms for porous media treatment during the simulation run.

Fig. 2
figure 2

Extruded meshes at outlets for case a needed in conjunction with porous media. Grey color show mesh creation with cfMesh, red color indicates the extruded mesh afterwards

Table 1 Meshing parameters for cfMesh

2.3 CFD Setup

Two CFD setups are performed including a steady state simulation setup for the optimization process followed by a transient case study. We assume, that the blood flow can be treated as in-compressible fluid behaviour. Therefore, we solve the steady and the unsteady Navier-Stokes equations in the following form

$$\displaystyle\begin{array}{rcl} \frac{\partial \mathbf{U}} {\partial t} + \left (\mathbf{U} \cdot \nabla \right )\mathbf{U} -\nu \nabla ^{2}\mathbf{U} = -\frac{1} {\rho } \nabla p + S& &{}\end{array}$$
(1)
$$\displaystyle\begin{array}{rcl} \nabla \cdot \mathbf{U} = 0& &{}\end{array}$$
(2)

with ∇ the Nabla operator, velocity U, viscosity ν, time t, pressure p, density ρ and a source term S, using the solvers simpleFoam and pimpleFoam from OpenFOAM ®; Version 2.4.x respectively.

The porous media is introduced as a source term S, where we use an explicit porosity source explicitPorositySource with Darcy-Forchheimer model and the following relation

$$\displaystyle\begin{array}{rcl} S = -\rho C_{0}\vert \mathbf{U}\vert ^{(C_{1}-1)}\mathbf{U}& & \\ C_{0} \equiv \text{Model linear coefficient}& & \\ C_{1} \equiv \text{Model Exponent coefficient}& &{}\end{array}$$
(3)

with a fixed value of C 1 = 2 and a variable value of C 0 which has to be determined by optimization.

The boundary conditions are listed in Table 2 where ν t denotes the turbulent viscosity of the fluid. We apply the kOmegaSST-model for all runs with a fixed kinematic viscosity of 0. 004 ⋅ 10−03 m2∕s and impose a fixed value for k and ω at the aortic inlet with the following relations

$$\displaystyle\begin{array}{rcl} k = 1.5 \cdot \left (\left \vert \mathbf{U}\right \vert \cdot I\right )^{2}& &{}\end{array}$$
(4)
$$\displaystyle\begin{array}{rcl} I = 1\ \left [\%\right ]& &{}\end{array}$$
(5)
$$\displaystyle\begin{array}{rcl} \omega = 0.09 \cdot \frac{\sqrt{k}} {r_{hydraulic}}& &{}\end{array}$$
(6)
$$\displaystyle\begin{array}{rcl} r_{hydraulic} = \sqrt{\frac{A_{Inlet } } {\pi }} & &{}\end{array}$$
(7)

and a regular block profile for the velocity. For the transient cases, we apply a variable boundary condition that can switch between Dirichlet and Neumann dependent on the sign of the flux Φ f at every boundary face. For Φ f < 0 the following values are set for k and ω at each face

$$\displaystyle\begin{array}{rcl} k = 1.5 \cdot \left (\left \vert \mathbf{U_{f}}\right \vert \cdot I\right )^{2}& &{}\end{array}$$
(8)
$$\displaystyle\begin{array}{rcl} \omega =\max \left (0.09 \cdot \frac{\sqrt{k_{f}}} {r_{hydraulic}}\right )& &{}\end{array}$$
(9)

where the subscript f denotes the position of the considered face’s centre. For Φ f ≥ 0 we impose a zero gradient condition for k and ω at each face.

Table 2 Boundary conditions for steady state and transient runs for all three cases

The flow rate over time, given in Fig. 3, results in \(5.1\ \left [ \frac{\mathrm{l}} {\mathrm{min}}\right ]\) for case a (inlet condition is similar to [11]), \(5.35\ \left [ \frac{\mathrm{l}} {\mathrm{min}}\right ]\) for case b and case c leads to \(4.51\ \left [ \frac{\mathrm{l}} {\mathrm{min}}\right ]\). For case b and c the measured velocity profiles, extracted from the according PC-MRI data were used at the inlet. The velocity vectors were interpolated in space and time onto the CFD mesh resulting in a more realistic inlet condition compared to case a, see Fig. 4. Due to the turbulent velocity profile the flux dependent boundary condition at each cell face via groovyBC was needed.

Fig. 3
figure 3

Given flow rate over time at inlet for case a, b and c

Fig. 4
figure 4

Velocity vectors at aortic inlet for case b in front view (upper row) and isometric view (lower row), color indicating magnitude of velocity. Aneurysm section colored red in geometry (left picture)

No patient specific flow rates over time were available for case a at each outlet which is crucial for a correct calibration of entire hydrodynamic system. This also stands true for case b and c, since the evaluation of the 4D PC-MRI measurement data at each outlet violates the continuity equation with peak errors above \(100\ \left [\%\right ]\). For this reason, we assume specific flow rates, derived from literature, which are summarized in Table 3. The target flow rates of all outlets for case a are given in Table 4 as well as for case b and c (Table 5) in terms of percentage of flow rate at inlet. We assume, that the given fractions stay constant during one heart beat.

Table 3 Division of volumetric flux at different bifurcations for case a, based on [13] (MiZ) and [7] (BWP)
Table 4 Division of volumetric flux at different bifurcations for case a, based on [13] (MiZ) and [7] (BWP)
Table 5 Division of volumetric flux at different bifurcations for case b and c, based on [13] (MiZ) and [7] (BWP)

2.4 Optimization Workflow

We apply an optimization workflow according to [12] for the steady state simulation runs in order to obtain the correct loss coefficient C 0 at each outlet. The optimization algorithm is identical to [4] which uses an evolutionary approach.

Case a uses in total 52 individuals per generation, case b and c 16 individuals. All loss coefficients were allowed to vary between 0. 01–9 ⋅ 106. The optimization run strives for the minimum of the sum of each error between target flow rates and simulated flow rates

$$\displaystyle\begin{array}{rcl} \epsilon =\sum _{ i=1}^{n_{outlets} }\frac{\delta _{i} -\delta _{target,i}} {\delta _{target,i}} & &{}\end{array}$$
(10)

3 Results

The following chapter shows the optimization results and the computational effort to calibrate systems with 13 or four unknowns respectively. Specific flow rates over time for different outlet sections and velocity distributions at different positions compared to the measured velocity field are presented for case b.

3.1 Optimization Results

In total, 10, 000 designs had to be evaluated for case a, see Fig. 5, which takes \(72\,\left [\mathrm{h}\right ]\) using 1248 cores simultaneously on the HLRS Hazel Hen [3] system. Case b and case c, Fig. 6, with four outlets each need at least 300 and 1400 design evaluations respectively using 384 cores with a total time of at least 4 and \(16\,\left [\mathrm{h}\right ]\).

Fig. 5
figure 5

Objective value ε over number of simulation runs (individuals) for case a

Fig. 6
figure 6

Objective value ε over number of simulation runs (individuals) for (a) case b and (b) case c

3.2 Global Target Values

The difference of volumetric fluxes over time for the calibrated and uncalibrated transient run for one heart beat is shown in Fig. 7. A calibration phase is necessary to obtain sensible fluxes over time. In addition, the presented porous media technique along with the shown calibration enables the simulation of one heart beat from rest. Without calibration and transient pressure boundary conditions at the outlets, one needs to simulate at least four heart beats to obtain a periodic transient state. This holds also true for case a and case b with a smaller number of outlets.

Fig. 7
figure 7

Volumetric fluxes over time at all four outlets for case c for first heart beat. (a) Outlet 01. (b) Outlet 02. (c) Outlet 03. (d) Outlet 04

3.3 Local Variations

The local variations in magnitude of velocity are shown in Figs. 8, 9, and 10. The simulation run with calibrated outlets and correct mapped velocity field at the aortic inlet gives a relative good quantitative result. The uncalibrated run fails to capture correctly the swirling flow field in the aneurysm section due to an unphysiological high volumetric flux in the region of the Arteria Subclavia. The calibrated run with the wrong inlet condition produces valid results behind the arch but the region next to the inlet is not captured correctly. In addition, the velocity distribution along four lines in the aneurysm section is shown in Figs. 11 and 12 again for the identical time steps. This quantitative comparison clearly shows a mismatch between the measurements and the simulation because the PC-MRI data (MRT) does have some inaccuracy according to each velocity component in dependency of the position. In addition, the simulation neglects fluid-structure interactions as well as detailed roughness estimations of aortic walls.

Fig. 8
figure 8

Magnitude of velocity on slice through middle of aneurysm section of case b. From left to right: PC-MRI measurement, the calibrated run with correct inlet condition (from measurement), the uncalibrated run with correct inlet condition and calibrated run with a block profile at inlet at \(t = 0.12\,\left [\mathrm{s}\right ]\). Lines (L1–L4) indicate probing position for quantitative comparison, see Appendix with Figs. 11 and 12

Fig. 9
figure 9

Magnitude of velocity on slice through middle of aneurysm section of case b. From left to right: PC-MRI measurement, the calibrated run with correct inlet condition (from measurement), the uncalibrated run with correct inlet condition and calibrated run with a block profile at inlet at \(t = 0.16\,\left [\mathrm{s}\right ]\)

Fig. 10
figure 10

Magnitude of velocity on slice through middle of aneurysm section of case b. From left to right: PC-MRI measurement, the calibrated run with correct inlet condition (from measurement), the uncalibrated run with correct inlet condition and calibrated run with a block profile at inlet at \(t = 0.20\,\left [\mathrm{s}\right ]\)

Fig. 11
figure 11

Quantitative comparison of magnitude of velocity along sampling lines (line definition see Fig. 8) (a) for line 1 (L1) and (b) for line 2 (L2)

Fig. 12
figure 12

Quantitative comparison of magnitude of velocity along sampling lines (line definition see Fig. 8) (a) for line 3 (L3) and (b) for line 4 (L4)

3.4 Performance Issues

In order to get reasonable insights into the flow patterns of such types of hemodynamics as represented by case b and c, one has to utilize at least \(1560\ \left [Coreh\right ]\). The pre-treatment of patient specific data such as the extraction of geometry as STL representation is not included. All twelve cases from [10] with pre and post treatment of patients would need at least \(\approx 19,065\ \left [Coreh\right ]\) with the introduced scheme including optimization and transient run.

To estimate case counts that could be expected if the methodologies described above should be applied to indications found in typical cohort sizes, which are regarded as reasonable in classical clinical studies, we consider the cases described above. In average cohort sizes, we consider ≈ 5500 individuals (extracted from [1, 14]) with an average prevalence of \(7.3\left [\%\right ]\) of the regarded indication. This as a basis for further resource estimations of virtual clinical trials (see also [15]) leads to ≈ 400 individuals to which the simulation process has to be applied. If one takes into account one optimization to the preoperative state in conjunction with one preoperative and at least three postoperative transient evaluations in total, at least \(656,000\ \left [Coreh\right ]\) are needed. This number of core-hours is the equivalent of \(1\ \left [\mathrm{day}\right ]\) facilitation of 1140 nodes on the HLRS Hazel Hen system [3].

4 Conclusion

Three patient specific geometries are simulated in a fully automated simulation process chain. The boundary conditions are treated with porous media with velocity dependent loss coefficients that are calibrated to physiological flow rates. By means of a parallel optimization process, aortic systems with up to 13 outlets can be calibrated in an adequate time. The transient simulation results clearly show the need of fully transient boundary conditions at the inlet, which have to be mapped from measurements in space and time. This enables a qualitative correct flow field in the complete domain in contrast to other assumptions such as block or parabolic profiles. At the moment, the lack of correct extraction of volumetric fluxes over time at each outlet for the target criteria is overcome by use of physical sensible estimations. Fixed pressure values at outlets in conjunction with the porous media model, even in varying conditions over time, can reproduce the correct flux balance.

In the sense of virtual clinical trials, an adequate number of individuals need to be investigated leading to a not insignificant usage of HPC systems. The presented estimation does not include fluid-structure interactions and non-Newtonian fluids.