Skåne University Hospital Lund, Lund, Sweden 2 Deparment of Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden

Similar documents
CS205b/CME306. Lecture 9

Lecture overview. Visualisatie BMT. Vector algorithms. Vector algorithms. Time animation. Time animation

An Eulerian Approach for Computing the Finite Time Lyapunov Exponent (FTLE)

BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION

Partial Differential Equations

Vector Visualization. CSC 7443: Scientific Information Visualization

A Toolbox of Level Set Methods

Final Report. Discontinuous Galerkin Compressible Euler Equation Solver. May 14, Andrey Andreyev. Adviser: Dr. James Baeder

Numerical Methods for (Time-Dependent) HJ PDEs

Blood Particle Trajectories in Phase-Contrast-MRI as Minimal Paths Computed with Anisotropic Fast Marching

A Grid Based Particle Method for Evolution of Open Curves and Surfaces

21. Efficient and fast numerical methods to compute fluid flows in the geophysical β plane

Level set methods Formulation of Interface Propagation Boundary Value PDE Initial Value PDE Motion in an externally generated velocity field

Part I: Theoretical Background and Integration-Based Methods

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

Post Processing, Visualization, and Sample Output

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

arxiv: v1 [math.na] 26 Jun 2014

Traffic flow optimization on roundabouts

The Immersed Interface Method

Solving a Two Dimensional Unsteady-State. Flow Problem by Meshless Method

Conservative high order semi-lagrangian finite difference WENO methods for advection in incompressible flow. Abstract

Parallel, adaptive framework for mapped, multi-block domains

The Level Set Method. Lecture Notes, MIT J / 2.097J / 6.339J Numerical Methods for Partial Differential Equations

Stream Function-Vorticity CFD Solver MAE 6263

Data Assimilation in Fluid Dynamics using Adjoint Optimization

10. Cartesian Trajectory Planning for Robot Manipulators

Realtime Water Simulation on GPU. Nuttapong Chentanez NVIDIA Research

Investigating The Stability of The Balance-force Continuum Surface Force Model of Surface Tension In Interfacial Flow

MATHEMATICAL ANALYSIS, MODELING AND OPTIMIZATION OF COMPLEX HEAT TRANSFER PROCESSES

Solving Partial Differential Equations on Overlapping Grids

Surfaces and Integral Curves

On the order of accuracy and numerical performance of two classes of finite volume WENO schemes

The Total Variation Approach to Approximate Hyperbolic Wave Equations

A Semi-Lagrangian Discontinuous Galerkin (SLDG) Conservative Transport Scheme on the Cubed-Sphere

Realistic Animation of Fluids

Index. C m (Ω), 141 L 2 (Ω) space, 143 p-th order, 17

Verification of Moving Mesh Discretizations

Simulation in Computer Graphics. Particles. Matthias Teschner. Computer Science Department University of Freiburg

Isogeometric Analysis of Fluid-Structure Interaction

Level Set Methods and Fast Marching Methods

Dijkstra s algorithm, Fast marching & Level sets. Einar Heiberg,

Using a Single Rotating Reference Frame

Medical Image Segmentation using Level Sets

1 Mathematical Concepts

This is the main idea of the evolution Galerkin (EG) methods, which evolve the initial data using the bicharacteristic cone and then project them onto

A new Eulerian computational method for the propagation of short acoustic and electromagnetic pulses

Weno Scheme for Transport Equation on Unstructured Grids with a DDFV Approach

Example 13 - Shock Tube

Mass-Spring Systems. Last Time?

An Introduction to Flow Visualization (1) Christoph Garth

SPH: Why and what for?

Dr. Ulas Bagci

Development of a Computational Framework for Block-Based AMR Simulations

Ian Mitchell. Department of Computer Science The University of British Columbia

Generation of Hulls Encompassing Neuronal Pathways Based on Tetrahedralization and 3D Alpha Shapes

Marcel Worring Intelligent Sensory Information Systems

NUMERICAL SIMULATION OF THE SHALLOW WATER EQUATIONS USING A TIME-CENTERED SPLIT-IMPLICIT METHOD

Chapter 6. Semi-Lagrangian Methods

Columbus State Community College Mathematics Department Public Syllabus. Course and Number: MATH 1172 Engineering Mathematics A

Particle Velocimetry Data from COMSOL Model of Micro-channels

SPH: Towards the simulation of wave-body interactions in extreme seas

8. Tensor Field Visualization

Explicit\Implicit time Integration in MPM\GIMP. Abilash Nair and Samit Roy University of Alabama, Tuscaloosa

AMR Multi-Moment FVM Scheme

GENUINELY MULTIDIMENSIONAL NON-DISSIPATIVE FINITE VOLUME SCHEMES FOR TRANSPORT

Chapter 6 Visualization Techniques for Vector Fields

Navier-Stokes & Flow Simulation

A TSTT integrated FronTier code and its applications in computational fluid physics

Chapter 6. Petrov-Galerkin Formulations for Advection Diffusion Equation

A-posteriori Diffusion Analysis of Numerical Schemes in Wavenumber Domain

Application of Finite Volume Method for Structural Analysis

Traveling Wave Analysis of Partial Differential Equations

Compressible Flow in a Nozzle

Motion Analysis. Motion analysis. Now we will talk about. Differential Motion Analysis. Motion analysis. Difference Pictures

Computational Astrophysics 5 Higher-order and AMR schemes

Level Set Method in a Finite Element Setting

3D vector fields. Contents. Introduction 3D vector field topology Representation of particle lines. 3D LIC Combining different techniques

Research Proposal: Computational Geometry with Applications on Medical Images

An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (2000/2001)

ALE Seamless Immersed Boundary Method with Overset Grid System for Multiple Moving Objects

Optimised corrections for finite-difference modelling in two dimensions

Simulating Sinkage & Trim for Planing Boat Hulls. A Fluent Dynamic Mesh 6DOF Tutorial

PARAMETRIC SHAPE AND TOPOLOGY OPTIMIZATION WITH RADIAL BASIS FUNCTIONS

Outline. Level Set Methods. For Inverse Obstacle Problems 4. Introduction. Introduction. Martin Burger

Mathematically, the path or the trajectory of a particle moving in space in described by a function of time.

Supplemental Information. On the Quantification of Cellular Velocity Fields. Dhruv K. Vig, Alex E. Hamby, and Charles W. Wolgemuth

Hexahedral Structured Grid Generation

Differential Geometry: Circle Patterns (Part 1) [Discrete Conformal Mappinngs via Circle Patterns. Kharevych, Springborn and Schröder]

IMPROVED WALL BOUNDARY CONDITIONS WITH IMPLICITLY DEFINED WALLS FOR PARTICLE BASED FLUID SIMULATION

Finite Volume Discretization on Irregular Voronoi Grids

Geometrical Modeling of the Heart

Functional MRI in Clinical Research and Practice Preprocessing

Analysis, extensions and applications of the Finite-Volume Particle Method (FVPM) PN-II-RU-TE Synthesis of the technical report -

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs)

Background for Surface Integration

Vector Visualization

A Diagonal Split-cell Model for the High-order Symplectic FDTD Scheme

Data Visualization. Fall 2017

Transcription:

Volume Tracking: A New Method for Visualization of Intracardiac Blood Flow from Three-Dimensional, Time-Resolved, Three-Component Magnetic Resonance Velocity Mapping Appendix: Theory and Numerical Implementation Johannes Töger 1,2, Marcus Carlsson 1, Gustaf Söderlind 2, Håkan Arheden 1 and Einar Heiberg 1 1 Department of Clinical Physiology, Lund University, Skåne University Hospital Lund, Lund, Sweden 2 Deparment of Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden April 1, 2011 1 Introduction This document describes the theory and technical details of Volume Tracking, a new method for visualization of flow measured using four-dimensional phase contrast magnetic resonance imaging (4D PC-MRI) [1]. Volume Tracking provides a new visual impression of the flow compared to particle tracing, the most commonly used method for visualization of 4D PC-MRI data. Volume Tracking uses a novel formulation of the flow tracking problem, where the motion of arbitrary volumes is encoded in a flow map. A partial differential equation (PDE) for the flow map is stated and solved using a finite volume scheme. This document describes the mathematical theory, PDE formulation and numerical solution, and is intended for readers interested in analyzing or reproducing the computational implementation of the method. 1

2 Theory and Notation Let Ω R 3 be the domain of interest, x = (x, y, z) Ω the spatial coordinates, t the physical time in some interval I and v(x, t) a velocity field defined on Ω I. To compute a particle s movement over time from a given velocity field, consider a particle moving through the velocity field, with a path described by the function x(t). Over a small time step t, the particle s movement is tangential to the local velocity, i.e. x(t + t) = x(t) + v(x(t), t) t. (1) Rearranging this relation and taking the limit as t 0, i.e. taking smaller and smaller timesteps, gives the ordinary differential equation (ODE) d x(t) = v(x(t), t) (2) dt for the particle s path through the flow. Equation 2 is the central assumption behind the particle trace technique [2], as well as for the method presented here. Define the flow map φ t t 0 (x) as the mapping of a particle s coordinates x at time t 0 to its coordinates at time t. A volume at a certain time t 0 whose evolution the user wants to study is called a starting volume and denoted V 0. The evolution of the volume is denoted V (t), where V (t 0 ) = V 0. V (t) can be seen as a set of points that is parameterized over time t. The evolution of the volume is defined as its image under the flow map: 3 Volume Tracking Theory V (t) = φ t t 0 (V 0 ). (3) The novel feature of Volume Tracking is to represent a volume using a volume function. A starting volume V 0 is defined implicitly using the volume function f : Ω R: V 0 = {x Ω f(x) C}, (4) i.e. at t = t 0 all particles fulfilling certain criteria on their coordinates are selected. Depending on f and C, different shapes can be used, as summarized in Table 1. At another time, this representation cannot be used directly, as the particles will not be in the same position. However, using the flow map, particles can be selected by conditions on their coordinates at t = t 0 : V (t) = { x Ω f ( φ t0 t (x) ) C }, (5) where φ is the flow map introduced above. Note that in this case, the flow map maps coordinates from the time t, where the volume is deformed, to time t 0, where the volume is in its initial state. 2

This observation is essential to the presented implementation of Volume Tracking. However, closed-form expressions for the flow map only exist for very simple flows. To compute the flow map for general velocity fields, Equation 2 could be used directly, but the computational cost would be prohibitive. Instead, consider that the particle coordinates at t = t 0 is a constant quantity along pathlines of the flow, as defined by Equation 2. In other words, the coordinates at t = t 0 are advected with the flow. Using the auxiliary function ψ(x, t) = φ t0 t (x), and decomposing ψ = (ψ x, ψ y, ψ z ) into its cartesian components, the advection equations t ψ x + v ψ x = 0 t ψ y + v ψ y = 0 (6) t ψ z + v ψ z = 0 hold in Ω. Here = ( x, y, z ) is the spatial gradient, t is the partial derivative in time and the dot represents the dot product. The initial conditions at t = t 0 are straightforward: ψ x (x, t 0 ) = x ψ y (x, t 0 ) = y (7) ψ z (x, t 0 ) = z. Additionally, boundary conditions to Equation 6 are needed to ensure a unique solution, as particles that come into the domain must be assigned some origin. The most reasonable choice is to say that a particle coming from outside the domain originates at the boundary, i.e. to let ψ x (x, t) = x ψ y (x, t) = y (8) ψ z (x, t) = z at the parts of the boundary Ω where inflow occurs. 4 Numerical implementation Equation 6 consists of three non-coupled advection partial differential equations (PDEs). To obtain a solution in finite time, a numerical scheme must be used. In this study, a second-order finite volume scheme by LeVeque [3, 4] is used, as provided in the freely available software package CLAWPACK 4.3 [5]. The included advection module is used with full transverse propagation of increment and correction waves (method(3) = 22) and the monotonized centered (MC) limiter (mthlim = 4). The algorithm is second-order in space and time in 3

f Shape C x a 2 sphere at a radius (x a) T E(x a) ellipsoid at a size scale n T x half-space position along n x a X (general norm) convex set size scale Table 1: Examples of the volume function f, the corresponding shape and interpretation of C. Volumes are represented as the set {x f(x) C}. Here a is an arbitrary point, and E a symmetric positive definite matrix. regions where the solution is smooth. Adaptive step-size control was turned on (method(1) = 1) with a target Courant-Friedrichs-Lewy (CFL) number of 0.95 (cflv(2) = 0.95). When applying the numerical method to PC-MRI data, the domain was divided into cells identical to the measured voxels. The measured velocities represent voxel averages, but the numerical method described above requires the velocity evaluated at voxel interfaces. Therefore, the voxel interface velocity was taken as the average of the two adjacent voxel velocities. The measured velocities were supplied as variable coefficients in the advection solver. Initial values are set to the appropriate coordinate component at the cell center before the computation starts. Boundary conditions are enforced by using two extra cells (ghost cells) around the boundary (mbc = 2). Their values are set to their center coordinate at each timestep. All preprocessing of data was performed using Segment [6], a freely available software for cardiovascular image analysis, based on MATLAB (The Mathworks, USA). Ensight (CEI, USA) was used to compute particle traces for comparison, generate isosurfaces from the flow maps and generate animations. 5 Testing To verify that the mathematical formulation, numerical method and implementation are correct and accurate, an artificial test case was constructed as follows. A three-dimensional swirling velocity field v = (u, v, w) in the domain Ω = [0, 1] 3 defined by u = 2 sin 2 (πx) sin(2πy) sin(2πz) cos(πt/t ), v = sin(2πx) sin 2 (πy) sin(2πz) cos(πt/t ), (9) w = sin(2πx) sin(2πy) sin 2 (πz) cos(πt/t ) is considered, with T = 1.5 [3]. The field is divergence-free [3], i.e. models an incompressible flow, as can be expected for the present application. Due to the factor cos(πt/t ) the flow reverses at t = T/2, so any volume tracked from t = 0 should deform and then return to its initial position at t = T = 1.5 in a 4

Figure 1: Test of the proposed implementation. The image shows a volume tracking visualization of a three-dimensional swirling flow, as defined in Equation 9, with T = 1.5. The expected result of the test is that the surface should deform and then return to its initial, flat shape at t = 1.5. Left: Initial surface, a plane at y = 0.35. Middle: The surface has been severely deformed. Right: The surface has returned to its starting position with a small error. correct implementation. This test was chosen to capture the strong spatial and temporal variations of intracardiac blood flow, as well as to have a known exact solution for validation. Figure 1 shows the performance of the proposed implementation using this test case. The resolution was 100 voxels (finite volume cells) in each direction. The velocity field in Equation 9 was evaluated at the midpoint of the voxel faces. It can be seen that the initial surface first deforms, and then returns to its starting position with a small error. The error in the flow map at t = 1.5, measured in L 2 (Ω)-norm, was 0.0012, or 0.12 voxels. To test Volume Tracking with blood flow velocity data, the Volume Tracking solution was compared to particle traces, i.e. solutions to Equation 2. The particle traces were computed using a fourth-order Runge-Kutta ordinary differential equation (ODE) solver with adaptive timestepping, as implemented in the visualization software package Ensight (CEI, USA). The exact method and results of this comparison can be seen in the Volume Tracking article [1]. Particle tracing and Volume Tracking visualizations agreed well, with few particles passing through the surface of the Volume Tracking volume. This suggests that accuracy of the present implementation of Volume Tracking is comparable to the Runge-Kutta ODE solver for the purposes of the present visualization application. 6 Limitations and Future Work The current implementation uses a constant spatial resolution, determined by the resolution of the acquired blood flow data. Additionally, the fixed spatial 5

resolution does not adapt to locally complex flow features such as vortices. Our experience is that the computed flow maps in real blood flow are smooth with localized sharp gradients. Accuracy in the solution may be determined by the resolution of these gradients. Therefore, a finite volume method with adaptive spatial resolution [7, 8] would be desirable. The test case was chosen to be similar to real blood flow in that it is accelerating, fully three-dimensional and has a twisting effect. It also has a known solution for quantitative evaluation and is a standard test for advection solvers [3]. The test uses a smooth velocity field without the noise and blood/muscle boundaries present in 4D PC-MRI acquisitions, and the test may not hold for the more general situation. However, the comparison between Volume Tracking and particle tracing visualizations using real blood flow data, presented in the Volume Tracking article [1], Figure 3, shows that the Volume Tracking solution agrees well with the particle traces. Increased resolution and accuracy may be useful when studying more complex flow patterns, such as vortices and mixing flows. References [1] Töger J, Carlsson M, Söderlind G, Arheden H, Heiberg E: Volume Tracking: A New Method for Quantification and Visualization of Intracardiac Blood Flow from Three-Dimensional, Time-Resolved, Three-Component Magnetic Resonance Velocity Mapping. BMC Medical Imaging 2011. [In Press]. [2] Wigström L, Ebbers T, Fyrenius A, Karlsson M, Engvall J, Wranne B, Bolger A: Particle Trace Visualization of Intracardiac Flow Using Time-Resolved 3D Phase Contrast MRI. Magnetic Resonance in Medicine 1999, 41(4):793 799. [3] LeVeque R: High-Resolution Conservative Algorithms for Advection in Incompressible Flow. SIAM Journal on Numerical Analysis 1996, 33(2):627 665. [4] Langseth J, LeVeque R: A Wave Propagation Method for Three- Dimensional Hyperbolic Conservation Laws. Journal of Computational Physics 2000, 165(1):126 166. [5] LeVeque R, Berger M: CLAWPACK Software 4.3 [http://www. clawpack.org/]. [Accessed 2009-10-23]. [6] Heiberg E, Sjögren J, Ugander M, Carlsson M, Engblom H, Arheden H: Design and validation of Segment- freely available software for cardiovascular image analysis. BMC Medical Imaging 2010, 10:1. [7] Berger M, Oliger J: Adaptive mesh refinement for hyperbolic partial differential equations. Journal of computational Physics 1984, 53(3):484 512. 6

[8] Bell J, Berger M, Saltzman J, Welcome M: Three-dimensional adaptive mesh refinement for hyperbolic conservation laws. SIAM Journal on Scientific Computing 1994, 15:127. 7