50
PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research School of Earth Sciences Australian National University

PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Embed Size (px)

Citation preview

Page 1: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

PEAT8002 - SEISMOLOGYLecture 8: Ray tracing in practice

Nick Rawlinson

Research School of Earth SciencesAustralian National University

Page 2: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceIntroduction

Although 1-D whole Earth models are an acceptableapproximation in some applications, lateral heterogeneityis significant in many regions of the Earth (e.g. subductionzones) and therefore needs to be accounted for.Ray tracing in laterally heterogeneous media is non-trivial,and many different schemes have been devised in the lastfew decades.The following techniques will be discussed in this lecture:

Shooting and bending methods of ray tracingFinite difference solution of the eikonal equationShortest Path Ray tracing (SPR)

Page 3: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceShooting method

Shooting methods of ray tracing are conceptually simple;they formulate the kinematic ray equation as an initial valueproblem, which allows rays to be traced given an initialtrajectory of the path.The two point problem of finding a source-receiver paththen becomes an inverse problem in which the unknown isthe initial direction vector of the ray, and the function to beminimised is a measure of the distance between the rayend point and receiver.The main challenge that faces this class of method is thenon-linearity of the inverse problem, which tends toincrease dramatically with the complexity of the medium.

Page 4: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

The appropriate form of the equation required to solve theinitial value problem depends largely on the choice ofparameterisation used to represent velocity variations.In a medium described by constant velocity (slowness)blocks, the ray path is simply described by a piecewise setof straight line segments; all that is required to solve theinitial value problem is repeated application of Snell’s lawat cell boundariesAnalytic ray tracing can also be applied to otherparameterisations; for example, triangular or tetrahedralmeshes in which the velocity gradient is constant.

Page 5: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

The expression for ray trajectory in a medium with aconstant velocity gradient can be expressed in variousways, including parametrically as

x =v(z0)

k

[a0(c − c0)

1− c20

,b0(c − c0)

1− c20

, 1−

√1− c2

1− c20

]+ x0,

where x0 is the origin of the ray segment, [a, b, c] is a unitvector tangent to the ray path, [a0, b0, c0] is a unit vectortangent to the ray path at x0, k is the velocity gradient, andv(z0) is the velocity at z0.The associated traveltime is then given by

T =1

2kln

[(1 + c1− c

) (1− c0

1 + c0

)]+ T0,

where T0 is the traveltime from the source to x0.

Page 6: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

For application to tetrahedra (or triangles in 2-D), it issimply a matter of rotating the coordinate system so thatthe velocity gradient is in the direction of the z-axis.A number of other velocity functions yield analytic raytracing solutions, such as the constant gradient of ln v , andthe constant gradient of the nth power of slowness 1/vn.Although analytic ray tracing is possible for a few specialcases, in general one needs to solve the kinematic raytracing equation using numerical methods.This usually requires the ray equation to be reduced to aconvenient first order initial value system of equations,which can be done in a variety of ways.

Page 7: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

In this case, we will derive initial value ray equations byconsidering the following unit vector in the direction of theray

drds

= [sin θ cos φ, sin θ sin φ, cos θ],

where θ is the inclination of the ray with the vertical(z-axis), and φ is the azimuth of the ray (angle between rayand +ve x-axis in xy plane).Substitution of this expression into d

ds

[U dr

ds

]= ∇U and

application of the product rule yields:

∂U∂x

= U cos θ cos φdθ

ds− U sin θ sin φ

ds+ sin θ cos φ

dUds

∂U∂y

= U cos θ sin φdθ

ds+ U sin θ cos φ

ds+ sin θ sin φ

dUds

∂U∂z

= −U sin θdθ

ds+ cos θ

dUds

Page 8: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

These three equations can be rearranged to remove thedU/ds term and produce expressions for dθ/ds anddφ/ds, which produces

dxds

= sin θ cos φ

dyds

= sin θ sin φ

dzds

= cos θ

ds=

cos θ

U

[cos φ

∂U∂x

+ sin φ∂U∂y

]− sin θ

U∂U∂z

ds=

1U sin θ

[cos φ

∂U∂y

− sin φ∂U∂x

]

Page 9: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

Thus, given some initial position and trajectory, a ray pathcan be obtained by solving this coupled system ofequations e.g. using a fourth order Runge-Kutta scheme.The above initial value formulation of the kinematic raytracing equations uses path length s as the independentvariable. However, it is often more convenient to usetraveltime t , since this parameter is usually required inaddition to path geometry.This can be achieved by using the following simple set ofrelationships

ds= U

dt,

ds= U

dt,

dxds

= Udxdt

,∂U∂x

= − 1v2

∂v∂x

,

Page 10: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

Thus, the following system of equations results:

dxdt

= v sin θ cos φ

dydt

= v sin θ sin φ

dzdt

= v cos θ

dt= − cos θ

[cos φ

∂v∂x

+ sin φdvdy

]− sin θ

∂v∂z

dt=

1sin θ

[sin φ

∂v∂x

− cos φ∂v∂y

]

Page 11: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

The example below was computed by solving the aboveequation with a 4th order Runge Kutta method.

−40

−30

−20

−10

0

−40

−30

−20

−10

0

0 10 20 30 40 50 60 70 80 90 100

0 10 20 30 40 50 60 70 80 90 1003 4 5 6 7

v (km/s)

x (km)

z (k

m)

Page 12: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe initial value problem

In the presence of interfaces, Snell’s law can be applied.

Page 13: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe boundary value problem

Shooting methods of ray tracing usually solve theboundary value problem by probing the medium with initialvalue ray paths and then exploiting information from thecomputed paths to better target the receiver

−40

−30

−20

−10

0

−40

−30

−20

−10

0

0 10 20 30 40 50 60 70 80 90 100

0 10 20 30 40 50 60 70 80 90 1002 3 4 5 6 7 8

v(km/s)

Dep

th (

km)

Distance (km)

Initial

Final

6

1

2

34

5

Page 14: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe boundary value problem

If a ray emanates from a source point in a 3-D medium withtake off angles θo and φo, and the aim is for the rayendpoint (xe, ye) on the receiver plane (z = constant) tocoincide with the receiver location (Xr , Yr ), then theboundary value problem amounts to finding the (θo, φo)that solve the two non-linear simultaneous equations

xe(θo, φo) = Xrye(θo, φo) = Yr

Given that (xe, ye) cannot be expressed explicitly as afunction of (θo, φo) for most velocity fields, it is usually thecase that the boundary value problem is posed as anoptimisation problem, with the misfit function to beminimised expressed as some measure of the distancebetween the ray end point and its intended target.

Page 15: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe boundary value problem

Since the optimisation problem is non-linear, a range ofiterative non-linear and fully non-linear schemes can beapplied.A common iterative non-linear scheme is Newton’smethod, which amounts to iterative application of thefollowing system of equations:

∂xe

∂θo

∂xe

∂φo

∂ye

∂θo

∂ye

∂φo

θn+1

o − θno

φn+1o − φn

o

=

Xr − xe(θno , φn

o)

Yr − ye(θno , φn

o)

.

Thus, given some starting initial trajectory θ0o, φ0

o, solutionof this equation provides an updated initial trajectory θ1

o, φ1o,

and the process is repeated until an appropriate tolerancecriterion is met.

Page 16: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe boundary value problem

The success of this scheme depends largely on twofactors: (1) accurate calculation of the partial derivativematrix, and (2) obtaining an initial guess ray that willconverge to the correct minimum under the assumption oflocal linearity.Both of these requirements can be difficult to satisfy,particularly in complex media.One way of obtaining an accurate initial guess ray is toshoot a broad fan of rays in the general direction of thereceiver array, and then (if necessary) shooting outincreasingly targeted clusters of rays towards zonescontaining receivers until a suitably accurate initial ray isobtained.The partial derivative matrix can be directly computed byapplying paraxial ray theory.

Page 17: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe boundary value problem

The example below shows two-point ray paths computedthrough a 3-D layered model using an iterative non-linearshooting scheme.

(a)

(b)

Page 18: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Shooting methodThe boundary value problem

The example below demonstrates the non-linearrelationship between initial ray trajectory and distance fromray end point to receiver. Fully non-linear optimisationschemes can be successfully applied in complex media,but tend to be time consuming.

−40

−30

−20

−10

0

−40

−30

−20

−10

0

0 10 20 30 40 50 60 70 80 90 100

0 10 20 30 40 50 60 70 80 90 1002 3 4 5 6 7 8

−40

−30

−20

−10

0

−40

−30

−20

−10

0

0 10 20 30 40 50 60 70 80 90 100

0 10 20 30 40 50 60 70 80 90 1002 3 4 5 6 7 8

0

10

20

30

40

50

60

Dis

tanc

e fr

om r

ecei

ver

[km

]

−40 −30 −20 −10 0 10 20 30 40

Initial ray inclination [o]

0

10

20

30

40

50

60

Dis

tanc

e fr

om r

ecei

ver

[km

]

−40 −30 −20 −10 0 10 20 30 40

Initial ray inclination [o]

v(km/s)

Dep

th (

km)

Distance (km)

v(km/s)

Dep

th (

km)

Distance (km)

(a) (b)

Page 19: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceBending methods

The principle of the bending method of ray tracing is toiteratively adjust the geometry of an initial arbitrary paththat joins source and receiver until it becomes a true raypath (i.e. it satisfies Fermat’s principle of stationary time).

−40

−30

−20

−10

0

−40

−30

−20

−10

0

0 10 20 30 40 50 60 70 80 90 100

0 10 20 30 40 50 60 70 80 90 1002 3 4 5 6 7 8

v(km/s)

Dep

th (

km)

Distance (km)

Final

123

4

5

Initial

Page 20: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceBending methods

A common approach to implementing the bending methodis to derive a boundary value formulation of the kinematicray tracing equations which can then be solved iteratively.The traveltime T of a ray path between source S andreceiver R can in general be expressed by the integral

T =

∫ R

SUds,

where U is slowness and s is pathlength.The ray path can be described parametrically by amonotonic function λ, the normalised path length (λ = s/L,where L is the total path length of the ray), in which caser = r(λ).

Page 21: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceBending methods

A perturbation in path length can therefore be written as

dsdλ

=√

r · r =√

x2 + y2 + z2 = F ,

where () denotes differentiation with respect to λ, and theuse of normalised path length means that F = L anddF/dλ = 0.The traveltime can therefore be written:

T =

∫ R

SUFdλ.

The ray tracing equations can be obtained by extremizingthis integral using the calculus of variations.

Page 22: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceBending methods

For any integrand G(λ, r(λ), r(λ)) the Euler-Lagrangeequations are

∂G∂r

− ddλ

[∂G∂r

]= 0.

In our case, the integrand is G = UF = U√

r · r, andsubstitution into the above equation yields

U r + (r · ∇U)r− (r · r)∇U = 0.

It is easy to show that only two of these equations areindependent, and that one may be ignored without loss ofgenerality. This leaves two equations with three unknownsr = (x , y , z); a final constraint comes from dF/dλ = 0 (so(r · r) = 0).

Page 23: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceBending methods

Thus, a system of three independent non-linear secondorder differential equations can be explicitly written

Ux + Uy y x + Uz zx − Ux(y2 + z2) = 0

Uy + Ux x y + Uz zy − Uy (x2 + z2) = 0

x x + y y + zz = 0

where ∇U = (Ux , Uy , Uz).The boundary conditions for this problem are r(0) = rS andr(1) = rR, and an iterative non-linear solution approach ispossible given some initial estimate of the path r(λ)0, sothat in general r(λ)n+1 = r(λ)n + δr(λ)n.

Page 24: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceBending methods

Substitution of this expression into the previous equationand linearising the resulting equations for δr(λ)n allowssolutions to be obtained using, for example, second orderfinite difference techniques.The iterative process can be continued until some suitableconvergence criterion, based on the path perturbationintegrated along the ray, is satisfied.Bending methods can also be applied in the presence ofinterfaces, by considering a separate system of differentialequations in each smooth region, and coupling them usingthe known discontinuity condition at each interface that istraversed by the ray path.The order in which the interfaces are intersected by the raypath needs to be known in advance, which may be adrawback in complex structures.

Page 25: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practicePseudo-bending methods

Pseudo-bending methods are similar in principle to thebending scheme described previously, but avoid directsolution of the ray equations.One of the most common pseudo-bending schemes isbased upon the ray path being represented by a set oflinearly interpolated points.Given some initial arbitrary path, the aim is to sequentiallyadjust the location of each point so that the path bettersatisfies the ray equations.This can be accomplished quite efficiently by locating thedirection of the ray path normal and then directly exploitingFermat’s principle of stationary time.

Page 26: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practicePseudo-bending methods

Despite the relatively crude approximations made inpseudo-bending, it is often more computationally efficientthan conventional bending schemes, and has becomequite popular for problems which require large traveltimedatasets to be predicted, e.g. 3-D local earthquaketomography

Final

Initial

4

1

2

3

v(x,z)

Source Receiver

Page 27: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceLimitations of ray tracing

The non-linearity of the two-point problem is the mainlimitation of both shooting and bending methods of raytracing.

Page 28: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesIntroduction

An alternative to tracing rays between source and receiveris to compute the traveltime of the evolving wavefront at allpoints of a grid which spans the medium.The complete traveltime field implicitly contains thewavefront location as a function of time (i.e. isochrons ofT (x)) and all possible ray path trajectories (specified by∇T ).Compared to conventional shooting and bending methodsof ray tracing, grid based traveltime schemes have anumber of clear advantages:

Most are capable of computing traveltimes to all points of amedium, and will locate diffractions in ray shadow zones.

Page 29: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesIntroduction

other advantages include

The non-linearity of both ray shooting and bending meansthat they may fail to converge to a true two-point path,whereas most grid based schemes are highly stable andwill find the correct solution even in strongly heterogeneousmedia.Grid based schemes can be very efficient in computingtraveltime and path information to the level of accuracyrequired by practical problems. Ray tracing schemes canbe inefficient if solution non-linearity is significant.Most grid-based schemes consistently find first-arrivals incontinuous media. It is often difficult to ascertain with raytracing whether the located path is a first or later arrival.

Page 30: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesIntroduction

Despite these advantages, grid based schemes have anumber of limitations which should be considered prior toapplication. These include:

Accuracy is a function of grid spacing - in 3-D halving thespacing of a grid will increase computation time by at leasta factor of 8. Thus, computation time may becomeunacceptable if highly accurate traveltimes are required.Most practical schemes compute first-arrivals only - thus,features such as wavefront triplications cannot be predicted.Quantities other than traveltime (such as amplitude) aredifficult to compute accurately without first extracting pathgeometry and applying ray based techniques

Two commonly used grid based schemes will now bediscussed.

Page 31: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesEikonal solvers

Eikonal solvers seek finite difference solutions to theeikonal equation throughout a gridded velocity field.One of the first schemes (published in 1988) progressivelycomputes the traveltime field outwards from the sourcealong an expanding square in 2-D.The partial derivative terms in the eikonal equation areapproximated by:

∂T∂x

=Ti,j + Ti,j+1 − Ti+1,j − Ti+1,j+1

2δx∂T∂z

=Ti,j + Ti+1,j − Ti,j+1 − Ti+1,j+1

2δz

Page 32: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesEikonal solvers

Substitution into the eikonal equation yields:

(Ti,j + Ti,j+1 − Ti+1,j − Ti+1,j+1)2

δx2 +

(Ti,j + Ti+1,j − Ti,j+1 − Ti+1,j+1)2

δz2 = 4s2,

which is a quadratic equation for the traveltime at the newpoint Ti+1,j+1. s is the the average slowness of all fourpoints defining a cell.The resultant scheme is fast and accurate (2nd order), butthe expanding square formalism for the propagation of thecomputational front means that stability issues may arise.

Page 33: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesEikonal solvers

Schematic illustration of the expanding square scheme,and how it can breach causality.

i−1,j+1 i,j+1 i+1,j+1

i+1,ji,ji−1,j

i−1,j−1 i,j−1 i+1,j−1

T T T

T T T

T T T

Path 1

Path 2

High velocity zone

Expanding square

Page 34: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFast Marching Method

One of the more recently developed grid based eikonalsolvers which is both highly robust and computationallyefficient is the so called Fast Marching Method (FMM).It was originally developed in the field of computationalmathematics for solving various types of interface evolutionproblems, and to date has been applied in numerous areasof the physical sciences including optimal path planning,medical imaging, geodesics, and photolithographicdevelopment.Compared to the expanding square scheme, FMM is muchmore robust, as it overcomes the causality issue by usingthe evolving wavefront as the computational front.FMM also overcomes the problem of ∇T not beingspatially differentiable at every point for a first-arrivaltraveltime field.

Page 35: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFast Marching Method

Geodesics Robotic navigation

Medical imaging

Page 36: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFast Marching Method

Narrow band evolution scheme used by FMM for theordered update of grid points. The narrow band advancesfrom the close point with minimum traveltime.

DownwindUpwind

Upwind Downwind

Narrow Band (NB)

Alive points

Close pointsNB minimum

KEY

Far points

Narrow Band (NB)

Page 37: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFast Marching Method

Discontinuities in first-arrival wavefronts usually arise fromdiscarding later-arriving information.FMM overcomes this problem by using an upwindentropy-satisfying finite difference stencil which properlyrespects the flow of information by considering solutionsfrom each quadrant.

δx

x

z

i+1,ji−1,j

i,j+1

T

i,j−1

Q1 Q2

Q3Q4

T

T

T

T i,j

Swallowtail formation First−arrival wavefront Update scheme

Page 38: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFast Marching Method

The entropy-satisfying upwind scheme that is often usedcan be written:max(D−x

a T ,−D+xb T , 0)2+

max(D−yc T ,−D+y

d T , 0)2+max(D−z

e T ,−D+zf T , 0)2

12

ijk

= si,j,k ,

where the integer variables a, b, c, d , e, f define the orderof accuracy of the upwind finite difference operator used ineach of the six cases.In a Cartesian coordinate system, the first and secondorder operators for D−xTi are

D−x1 Ti,j,k =

Ti,j,k − Ti−1,j,k

δx

D−x2 Ti,j,k =

3Ti,j,k − 4Ti−1,j,k + Ti−2,j,k

2δx

Page 39: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFast Marching Method

In layered media, an adaptive triangular mesh can be usedto locally suture the irregular interface nodes to the regularnodes of the velocity grid.

Page 40: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFMM examples

Page 41: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFMM examples

0

5

10

t-x/

8.0

(s)

0 10 20 30 40 50 60 70 80 90 100 110 120

x (km)

P2P P1 P P2 P P1

P

P1

P2

P P1

P P2

(b)

(a)velocity (km/s)

(a)

(b)

(c)

Snapshot of complete wavefront

Ray paths

Leading wavefront

12

5

1097

8

3

4

6

velocity (km/s)

velocity (km/s)

Page 42: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesFMM examples

Page 43: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesShortest path ray tracing

Shortest path ray tracing or SPR is another popularmethod for determining first-arrival traveltimes at all pointsof a gridded velocity field.Rather than solve a differential equation, a network orgraph is formed by connecting neighbouring nodes withtraveltime path segments.Dijkstra-like algorithms can then be used to find theshortest path between a given point and all other points inthe network.According to Fermat’s principle of stationary time, theshortest time path between two points corresponds to atrue ray path.

Page 44: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesShortest path ray tracing

A BO

C

D

(a) (b)

Example of a shortest path network built on a grid ofconstant velocity cells. Two network nodes are placed onthe edge of each cell boundary. The green dashed lineshighlight the connections from a single node. The plot onthe right show the shortest paths between node O and aselection of surrounding nodes.

Page 45: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesShortest path ray tracing

Shortest path network built on a grid of velocity nodes. Theplot on the left shows the use of a stencil with at most 8connections per node. The plot on the right shows a16-node stencil, which allows smaller path deviations to bemore accurately represented.

Page 46: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesShortest path ray tracing

Iteration 1 Iteration 2 Iteration 3

Three iterations of a simple shortest path scheme using aforward star with 8 connections. Blue dots have knowntraveltimes, red dots have trial traveltimes, and yellow dotsare yet to have traveltime computed.Note the similarity of this update scheme with that of FMM.

Page 47: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesShortest path ray tracing

Errors in SPR are due to finite node spacing and theangular distribution of node connectors. A coarse grid ofnodes may poorly approximate the true velocity variations,while a limited range of angles between adjacentconnectors may not allow for an accurate representation ofthe path.The accuracy of eikonal solvers is also a function of gridspacing, and parallels can be drawn between thecomplexity of the forward star used in SPR and the finitedifference stencil used to solve the eikonal equation.SPR has proven to be effective in a number of practicalseismic applications that require large datasets to bepredicted in the presence of significant lateralheterogeneity.

Page 48: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Grid based schemesMulti-arrival wavefront tracking

Most of the ray and grid-based schemes describedpreviously are only suitable for tracking a single or limitednumber of arrivals between two points.In many cases, the presence of velocity heterogeneityresults in an evolving wavefront self-intersecting, aphenomenon commonly referred to as multipathing,because it results in more than one ray path passingthrough a given point.The ray tracing schemes discussed so far cannot be usedto compute all arrivals in heterogeneous media.A technique knows as wavefront construction, which canfind all arrivals will now briefly be discussed.

Page 49: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceWavefront construction

Wavefront construction techniques represent the wavefrontby a set of points, and generates a new wavefront at timeti + δt from a previous wavefront at time ti by using initialvalue ray tracing and interpolation.It can be readily extended to 3-D, applied to anisotropicmedia, and allows amplitudes and synthetic seismogramsto be calculated.

t= t3δ

t=2δt

δ tt=

t=0 Interpolated node

Ray path node

Page 50: PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practicerses.anu.edu.au/~nick/teachdoc/lecture8.pdf · PEAT8002 - SEISMOLOGY Lecture 8: Ray tracing in practice Nick Rawlinson Research

Ray tracing in practiceWavefront construction

−50

−40

−30

−20

−10

0

Latit

ude

140 150 160 170 180 190

Longitude

3.2 4.0

km/s

−50

−40

−30

−20

−10

0

140 150 160 170 180 190

Longitude

−50

−40

−30

−20

−10

0

Latit

ude

140 150 160 170 180 190

Longitude

−50

−40

−30

−20

−10

0

140 150 160 170 180 190

Longitude

Latit

ude

(a) (b)

(c) (d)

From

Raw

linson et al. (2006)