Академический Документы
Профессиональный Документы
Культура Документы
Preamble
The purpose of this assignment is to expose the students to some of the key concepts and practicalities
of Computational Fluid Dynamics (CFD).
For this task, a case study that is representative in terms of its computationally challenging nature, but
also suitable for a Module-level assignment, is selected: that of the haemodynamics (blood flow) in a
cerebral aneurysm, a sac-like deformation of a brain artery.
In reality, such aneurysms are of course three-dimensional and their geometric features are derived
from imaging modalities: for example, an MRI (Magnetic Resonance Imaging) dataset, as acquired
from a patient, would be used to reconstruct the vascular geometry of interest.
Three-dimensionality, complex geometric features, as well as other complications, like pulsatile
(beating heart) haemodynamics, have been removed from this exercise: our emphasis here is on the
CFD workflow.
The instructions that follow briefly describe the steps the students have to take to complete the process.
Moreover, where necessary, they provide background information and theory describing the concepts
behind the tools.
Although dealing with a simplified case, we have tried to make the experience as realistic as possible
the level of task definition provided would be representative for an industrial engineer using CFD for
design or R&D purposes, or a researcher using CFD for analysis and research. If there is a piece of
information in the specification that you think is missing, it is probably missing for a reason.
Acknowledgements
The ESI Group (Paris, France), developers of the CFD-ACE+ multiphysics software platform, are
kindly acknowledged for allowing the use of the software for this assignment.
Explore. Try different things. You cannot break the software, so going outside the instructions
provided and attempting things you find interesting will only enhance your experience.
The manuals of CFD-ACE (or any software of this type) are endless sources of information
(available on MOODLE). Use them wisely: it is probably not prudent to attempt to read them
cover to cover.
Doing the work and the computations in a consistent manner is important. Demonstrating that
you have done so is equally important. Be very meticulous with the report. You are to structure
your report as a technical/scientific paper which means that the space available is limited and
the format is strictly prescribed.
You are given (available on MOODLE) a small number of very well-defined tutorials outlining
the various aspects of the work you will need to do. Complete the tutorials (and explore) before
you engage with the main tasks.
DONTs
The ESI Group has kindly permitted us to use one of the most complete Multiphysics/multiscale
solvers (CFD-ACE+) for this assignment. Interaction with this very mature code, used routinely
in industry of all types all around the world, will offer you as realistic an experience as possible
regarding organizing and conducting CFD studies. Our agreement with ESI is that we (UCL)
shall handle user queries (especially novice users queries!) internally, and we shall not be
bombarding their help line with questions. Please do not call or email the ESI Helpdesk.
Yiannis and a team of experienced users within the research group will be answering all
questions that may emerge.
Introduction
The purpose of this exercise is to familiarise the students with state-of-the-art CFD software. We shall
explore the haemodynamics of cerebral aneurysms, under steady flow conditions and for a variety of
cases. More specifically, we shall study a 2D symmetric aneurysm, in a coiled and uncoiled setting and
with blood rheology that is both Newtonian and non-Newtonian. All these terms are explained in the
sequel.
It is important to highlight at the very beginning, here, the minimum list of cases we would like to see
in your report:
An uncoiled Newtonian case (the base case), with physiological flow (low inlet velocity)
A coiled Newtonian case, with physiological flow (low inlet velocity)
An uncoiled non-Newtonian case, with physiological flow (low inlet velocity)
A coiled non-Newtonian case, with physiological flow (low inlet velocity)
An uncoiled Newtonian case, with abnormally high inlet velocity
Additionally, for the base case, you are required to demonstrate grid independence.
The order that tasks are to be completed during this assignment is more or less predefined by the nature
of the work you are asked to complete, and falls under the following headers:
o
o
o
o
o
Geometry Definition
Grid Generation
Computation
Post-processing and Visualization
Report preparation
The sections that follow are similarly organized around these themes. In summary, for the first two
sections (Geometry Definition and Grid Generation), you are asked to define an aneurysm geometry
(an idealised basilar bifurcation) by combining straight lines (for the vessels) and by placing an ellipseshaped aneurysm in place, and then to construct a mesh.
The third part (Computation) explains how the solver should be setup and provides the pertinent
elements of the theory behind the numerical solver. Visualization, which is described in a very
rudimentary fashion, involves examining the flow fields obtained. This latter section is, truly, open to
interpretation: we would like you to show initiative and explore alternative ways to interrogate and
compare your results. Finally, your report must capture all of the above. Exercise judgment what to
include and what to reference only or outright exclude form your report. A common mistake such
reports suffer from is inclusion of software-specific trivialities (like menu snapshots): remember that an
important aspect that any report should convey is reproducibility, and this involves the capacity to
repeat a study using different tools. Place emphasis on governing equations and formal algorithms, not
on software-specific terminology.
130 o
1.5mm
10mm
`
1.0mm
This geometry must be perfectly symmetric top-to-bottom, but do not use symmetry boundary
conditions in the solver. The dimensions given are enough to construct this geometry.
Then introduce an ellipse, with Major Radius: 4.5 mm and Minor Radius: 3.5 mm and place it as in the
figure:
1.0mm
130o
1.5mm
10mm
1.0mm
Conduct the necessary splitting/joining/intersection operations to end up with the following geometry:
1.0mm
130 o
1.5mm
10mm
1.0mm
Finally, construct an unstructured triangular mesh with roughly 10,000 - 20,000 elements. You will be
required to construct more than one mesh, to demonstrate grid independence.
Computation
You shall use the programme CFD-ACE+ for this task.
Introduction to CFDACE+1
CFDACE+ is a Computational Fluid Dynamics (CFD) and Multiphysics solver. In the sequel, a short
description of the main functionality of the particular software is given.
Flow Module
Although CFD-ACE+ has many physical modules or models, we will only concentrate on the Flow
module. The Flow module is the heart of CFD-ACE+ and is used in most simulations. It enables the
user to model virtually any gas or liquid system. When coupled with other modules, like
chemistry/mixing, stress, twofluid, this can be used to solve biological problems e.g. drug delivery,
vascular device performance, biological transport. Both internal and external flows, at any speed, can
be simulated yielding numerical solutions of the pressure and velocity fields.
Flow Module Theory
The governing equations for the Flow Module are based on mathematical statements of the
conservation laws of physics for flow:
Fluid mass is conserved, meaning that the system does not lose or gain mass;
The rate of change of momentum equals the sum of the forces on the fluid (Newtons Second
Law of Motion).
Mass Conservation
Conservation of mass requires that the rate of change of mass, in a control volume system, is balanced
by the net mass flow into the same control volume (outflowinflow). Mathematically this is expressed
by:
( V ) 0
(1)
t
where /t is the rate of change of massdensity (mass per unit volume) and ( V) is the convective
term that constitutes the net mass flow across the control volumes boundaries.
Momentum Conservation
The xcomponent of the momentum equation, used in CFD-ACE+, is obtained by setting the rate of
change of xmomentum of the fluid particle equal to the total force in the xdirection on the fluid
particle equal to the total force in the xdirection on the element due to surface stresses plus the rate of
increase of xmomentum due to sources:
( p xx ) yx zx
(u)
( V u)
SM x
t
x
y
z
(2a)
xy ( p yy ) zy
(v)
( V v)
SM y
t
x
y
z
(2b)
yz ( p zz )
(w)
( V w) xz
SM z
t
x
y
z
(2c)
where is shear stress, p is pressure and SM is the momentum source term. Note, that when dealing
with 2D problems, the latter equation is not used. The above system of conservation laws is generically
called the Navier-Stokes Equations.
i
Integration of the governing equations of fluid flow over the (finite) control volume (cells) of
the computational domain;
Discretisation involves the substitution of a variety of finitedifferencetype approximations for
the terms in the integrated equations expressing flow processes such as convection, diffusion,
and source terms. This process transforms the integral equations into a set of algebraic
equations;
Solution of the algebraic equations is attained using an iterative approach.
Inlet velocity:
o Base case (physiological flow), Vinlet = 0.27 m/s
o Abnormally high flow case, Vinlet = 10 m/s
The following describes the step necessary to define the coiled section:
A recommendation regarding Solver Control Settings is offered here; feel free to explore other options.
The only strict requirement is to use the Central Differencing Scheme (and to achieve converged
solutions of course!)
Press the Solver Conditions [SC] tab to
activate the Solver Condition setting
page.
In the Iteration tab:
Set the Max. Iterations to 4000;
Set the Convergence Crit. to 1E18
Set the Min. Residual to 1E-18
10
11
12
Once all the settings are in place, you are ready to conduct your simulations. The following figure
shows how a residuals plot should look like for a fully converged solution.
13
(4)
Water and air are the most common examples of Newtonian fluids. However, not all fluids exhibit
Newtonian behaviour. For example, in some fluids, like blood, paint, or toothpaste, viscosity varies
with applied strain rate. These fluids are termed as NonNewtonian or rheological fluids.
Concomitantly, nonNewtonian fluids may not be characterised by a welldefined viscosity. As a
result the concept of viscosity fails to capture the mechanical behaviour of these fluids. Instead, such
substances are analysed using several other rheological properties associated with the relations between
the stress and strain tensors under different flow conditions, such as oscillatory shear, or extensional
flow quantified via different devices or rheometers. NonNewtonian rheological properties are better
studied using tensorvalued constitutive equations, commonly used in continuum mechanics. It is
interesting to note that blood exhibits shear thinning or pseudoplastic behaviour. One of the most
important properties of blood is its ability to precipitously reduce its viscosity (shear thinning), as a
function of vessel diameter and shear stress. This attribute enables blood to reach the smallest
capillaries, and is known as the FahraeusLindqvist effect. However, when the erythrocyte size
becomes comparable to the capillary diameter the latter behaviour is reversed.
Blood Power Law [3]
Due to the NonNewtonian nature of blood it will very illuminating to run the same simulation but this
time modelling the particulate nature of blood. As explained earlier the major difference between a
Newtonian and a nonNewtonian fluid is that in the latter the shear stress () is not directly
proportional to the fluids rate of deformation (u/y). Although CFD-ACE+ offers a variety of
mathematical relationships (and laws) that model blood behaviour we will only deal with the Power
Law (Blood). DO NOT CONFUSE THE NON_NEWTONIAN RHEOLOGY POWER LAW
WITH THE NUMERICAL SCHEME FOR CONVECTION WITH THE SAME NAME! The
model is given by:
n 1
where
b
( ) exp 1 exp
and
d
n( ) n n exp 1 exp
c
where:
= the local calculated shear stress
14
(5)
15
Click on the Run window and press Submit to Solver. Press Submit Job Under Current Name and the
simulation will begin.
Important Notes
Grid Independence: You must compute an appropriate number of meshes to demonstrate that your
results are real and not an artefact of discretisation. Exercise judgement (and literature review)
regarding how best to achieve this and how many meshes you need to include.
Abnormally high inlet velocity: You may experience problems trying to get converged solutions for
this case. A recommendation offered is to compute the Reynolds number (which you should do
anyway, since this is imperative to be outlined in your report) and take a hint regarding what you need
to do to obtain a solution for that flow condition.
16
PostProcessing
You shall use the programme CFD-VIEW for this stage.
One of the challenges in computational modelling is that each simulation generates a vast volume of
data that needs to be manipulated to extract useful information that can be applied to practical science
and engineering problems. For this purpose we are going to use CFDVIEW, which is a 3D graphical
postprocessor.
The number of plots and comparisons you can generate from your simulations results is practically
infinite. Some recommendations include: streamlines, velocity vectors, flooded or contoured
distributions of quantities like velocity magnitude, pressure, shear etc. Possibly more interesting, a
critical comparison between parameters across different cases and composite figures that show, for
example, how flow changes in the aneurysm when the sack is coiled, is to be pursued.
References
[1] CFDACE Modules Manual
[2] Versteeg HK, Malalasekera W. (1995) Introduction to CFD. The finite volume method
[3] Ballyk PD, Steinman DA and Ethier CR. (1994). Simulation of NonNewtonian Blood
Flow in an EndtoSide Anastomosis, Biorheology, 31: 565586.
17
814
AbstractThis paper proposes a novel computational methodology for modelling the haemodynamic effects of endovascular
coil embolization for cerebral aneurysms. We employ high-resolution 3-D angiographic data to reconstruct the intracranial
geometry and we model the coiled part of the aneurysm as a
porous medium, with porosity decreasing as coils are inserted.
The actual dimensions of the coils employed are used to determine
the characteristics of the porous medium. Simulation results for
saccular aneurysms from the anterior communicating and middle
cerebral arteries show that insertion of coils rapidly changes intraaneurysmal blood flow and causes reduction in mural pressure
and blood velocity up to stagnation, providing favorable conditions
for thrombus formation and obliteration of the aneurysm.
Index TermsCerebral aneurysms, computational haemodynamics, embolization, porous media, rotational angiography.
I. INTRODUCTION
EREBRAL aneurysms are pathological dilations of a
vessel wall which cause the formation of a thin-walled
sac, usually at a branching point of arteries at the base of the
brain. Such aneurysms are liable to rupture causing spontaneous intracranial bleeding. Because of the special location of
aneurysms, such bleeding causes subarachnoid haemorrhage
and may result in death or severe morbidity to the individual.
Approximately 30% of all aneurysm ruptures are immediately
lethal and an additional 30% lead to death within four weeks
if not treated effectively [1], [2]. Intracranial aneurysms are
relatively common and they are estimated to occur in 1%6% of
the general population [3], though the majority remain asymptomatic. To date, the prevailing treatment technique for ruptured
and many of the unruptured aneurysms is endovascular coil
embolization [4], [5]. This minimally invasive method involves
navigation of a microcatheter under X-ray guidance through
the vasculature into the target cerebral aneurysm and then
releasing detachable platinum coils within the aneurysm sac
815
816
(4)
where
is the pressure of a fluid of density and dynamic
.
viscosity , flowing with velocity vector of magnitude
is the shear stress tensor, is a body force vector acting as
momentum source, and denotes time. Note that for
and
the standard NavierStokes equations are recovered,
corresponding to pure fluid regions.
The remaining piece of information along the porous flow
. To calculate the
for
to be specified is the drag factor,
817
TABLE I
COILING PROCEDURE FOR THE OCCLUSION OF AN ANEURYSM
OF DIMENSIONS 9.4 7.8 11 MM
2 2
Fig. 3. Partition of the aneurysm volume into a porous medium (blue) and a
pure fluid part (red).
TABLE II
POROSITY CHARACTERISTICS OF AN ANEURYSM
OF DIMENSIONS 9.4 7.8 11 MM
2 2
818
Fig. 5. Quantitative comparison of 0.5 and 1.0 M meshes on velocity magnitude after the placement of the seventh coil. The graphs correspond to two
perpendicular lines along the aneurysm and the parent vasculature.
D. Resolution Dependence
Computations with two different grids for the system volume
have been performed to investigate the grid independence of the
results obtained. Grids consisting of 510 985 and 950 652 tetrahedral elements were used, subsequently denoted as 0.5 and 1.0
M, respectively. Fig. 4 shows velocity magnitude contours after
the placement of the seventh coil. The two meshes yield visually
indistinguishable results. In Fig. 5, we present a detailed quantitative comparison at the same conditions. The graphs correspond to two perpendicular lines along the aneurysm and the
parent vessels. The average difference is below 5% with the
maximum under 10%. This maximum is observed in the very
high velocity regions of the parent vasculature. In the coiled
part, where the focus of this paper is, the results are almost identical. Since the objective of this study is to demonstrate that such
an approach can lead to clinically meaningful and useful results,
computational speed and turnaround time are imperative. Therefore, the 0.5 M grid is deemed sufficient for the purposes of this
study, since it captures all the features of the stagnant flow in
the coiled region.
It should be noted that modelling coiled volumes using a
porosity approach, as described here, offers benefits in terms
of consistency and grid independence, when compared with
methodologies that describe the coils either via blocked cells or
through full resolution of the near-coil environment. Although
the latter is an accurate and consistent approach, that has been
used with success in the modelling of open stents, the resolution
requirements for capturing the significantly longer coil lengths
Fig. 6. Velocity magnitude contours (m/s) for (a) coil-free, and after the deployment of the (b) first, (c) seventh, and (d) 15th coil conditions.
819
Fig. 7. Surface pressure contours (Pa) for (a) coil-free, and after the deployment of the (b) first, (c) seventh, and (d) 15th coil conditions.
E. Computational Haemodynamics
For the case simulated here, certain assumptions were made,
namely noncompliant walls, Newtonian behavior for the blood,
with constant viscosity and steady flow, all corresponding to
simplifications of the realistic flow. Out of these assumptions,
the latter is the most serious and the one in need of further clarification. Although pulsatile flow would provide a more realistic
representation of the fluid dynamics along the cardiac cycle, in
this work we are interested in the relative changes of the local
haemodynamic parameters along the various steps of the coiling
process. In addition, porous media have the tendency to damp
unsteadiness [31]. In a pulsatile environment, therefore, we expect the interior of the coiled region to exhibit less pronounced
transient effects (preliminary data from new computations are
confirming this assertion). Hence, and along the same argumentation lines of clinical relevance and usefulness, the significantly
less computationally intensive steady-state calculations are sufficient to provide all the required information for this work.
Under these conditions, blood flow was modelled using the
CFD-ACE+ platform (ESI Group, Paris, France) by specifying
kg/m and constant
a Newtonian liquid of density
dynamic viscosity
kg/m s. Applying a constant
normal velocity of 0.1 m/s to the inlet, the simulation was
run using an inlet diameter of 6.98 mm, yielding a Reynolds
number of 213 at the inlet up to 363 close to the aneurysm. The
820
Fig. 8. Characteristic pathlines for (a) coil-free, and after the deployment of the (b) first, (c) seventh, and (c) the 15th coil conditions.
821
TABLE III
POROSITY CHARACTERISTICS FOR THE MIDDLE CEREBRAL
ARTERY ANEURYSMS
Fig. 9. Geometry and partition of aneurysms into a porous medium (blue) and
a pure fluid part (red) for (a) patient 2, (b) patient 3, and (c) patient 4.
822
Fig. 10. Velocity magnitude contours for (left) coil-free and (right) intermediate coiling conditions for [(a), (b)] patient 2, [(c), (d)] patient 3, and [(e), (f)]
patient 4.
angiography datasets to reconstruct anatomically derived vasculature geometries and, for select cases, a microcatheter is virtually inserted and placed at a characteristic coil release position. The coiled part of the aneurysm is modelled as a porous
medium of decreasing porosity based on the series of introduced
coils during the embolization. A computational haemodynamic
model simulates the flow, pressure and force fields of the system
at different stages of the coiling process. The results obtained
from modelling the haemodynamic effects of the embolization
823
824