Review of the finite-element method - crewes

0 downloads 0 Views 469KB Size Report
An application of finite-element methods to solve seismic wave motion in linear ..... For generalizing the concept to 2D, Becker (1981) considers the linear ...
Review of the finite-element method

A review of the finite-element method in seismic wave modelling Faranak Mahmoudian and Gary F. Margrave ABSTRACT Numerical solutions of the scalar and elastic wave equations have greatly aided geophysicists in both the forward modelling and migration of seismic wavefields in complicated geologic media. In P- and S-wave propagation, the finite-element method is a powerful tool for determining the effect of structural irregularities on wave propagation. Dependence of the wave equation on both spatial and temporal differentials requires solving both spatial and temporal discretization. In the spatial discretization step in 1D and 2D, piecewise linear basis functions and the Galerkin method are the most commonly used tools. After solving spatial discretization with the finite-element method, the wave equation reduces to an ODE (ordinary differential equation). In this regard, different authors used different ODE solver including Runge-Kutta method and finite-difference method. This paper will familiarize the reader with the diverse approaches of solving temporal discretization. An application of finite-element methods to solve seismic wave motion in linear viscoelastic media (where inelastic strains development depends not only on the current state of the stress and strain but on the full history of their development), using memory variable formalism in spatial discretization step, is one of the reviewed sections. INTRODUCTION Numerical solutions of the scalar and elastic wave equations have greatly aided geophysicists in both forward modelling and migration of seismic wavefields in complicated geologic media, and they promise to be invaluable in solving the full inverse problem. One of the numerical methods that can be applied to the problem of wave propagation is the finite-element method. The finite-element method has become the most widely accepted general-purpose technique for numerical simulations in engineering and applied mathematics. Principal applications arise in continuum mechanics, fluid flow, thermodynamics, and field theory. In these areas, computational methods are essential and benefit strongly from the enormous advances in computer technology. The finite-element method is a powerful tool for the numerical modelling of seismic body-wave propagation in a heterogeneous elastic media. The finite-element results agree with finite-difference results (Smith, 1975) but in spite of this, the method has never become popular in the geophysical literature. Perhaps this is because implementation is more difficult that other methods (Kay, 1996). The finite-element method is a general technique for constructing approximate solutions to boundary-value problems to solve physical problems. In the finite-element analysis, a body is considered to be an assemblage of discrete finite elements interconnected at nodal points on element boundaries. One-, two-, and three-dimensional elements have a variable number of nodes. Figure 1 shows some typical continuum elements. Bathe (1996) considers the following steps to solve a problem with the finiteelement method:

CREWES Research Report — Volume 15 (2003)

1

Mahmoudian and Margrave

1)

The idealization of the physical problem to a mathematical model requires certain assumptions that together lead to differential equations governing the mathematical model.

2)

The identification of the unknown displacements that completely define the displacement response of the structural idealization.

3)

The formulation force-balance equations corresponding to the unknown displacement and the solution of these equations.

4)

The interpretation of the displacement predicted by the solution of the structural idealization (Based on the assumption used).

(a) Truss a nd cab le eleme nts

(b) Two-dime nsional eleme nts

(c) Three-dimensio nal e leme nts

FIG. 1. Typical elements for finite-element method (after Bathe 1998).

Since the finite-element solution technique is a numerical procedure, it is necessary to assess the solution accuracy. If the criteria are not met, the finite-element solution has to be repeated with refined solution parameters (such as finer mesh) until sufficient accuracy is reached. Appendix A shows the finite-element process briefly. Dependence of wave equation on both spatial and temporal derivatives requires both spatial and temporal discretization. In spatial discretization in 1D and 2D piecewise linear basis functions, the Galerkin method in variational form is one of the finite-element methods that is used by many authors.

2

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

WAVE PROPAGATION IN ELASTIC MEDIA 1D Spatial Discretization Consider a one dimensional (1D) domain, X, in an elastic medium. The equation of motion for one degree of freedom elastic wave is

ρu ( x , t ) = ρ

∂ 2 u ( x, t ) ∂ = (M u u ' ( x, t ) ), ∂x ∂t 2

(1)

with simpler form as

ρu ( x, t ) = ( M u u ′( x, t ))′,

(2)

where M u is the appropriate modulus related to the density ρ through the phase velocity. Here the finite-element solution of simple wave equation with the boundary conditions u (0, t ) = u (l , t ) = 0 and initial condition u ( x,0) = 0 is reviewed. The PDE (2) is our finite-element model problem.

The difficulty is the requirement that a solution u(x,t) to equation (2) satisfies the differential equation at every point x, 0 < x < l , is too large. To overcome this difficulty, we shall reformulate the boundary-value problem in a way that will admit weaker conditions in the solution and its derivatives. Such reformulations are called weak or variational formulations of the problems. One weak statement of the model problem 2 is given as follow: find the function u(x,t) such that the differential equation, together with boundary conditions, are satisfied in the sense of weighted averages (Becker, 1981). By the satisfaction of all “weighted averages” of the differential equation, as Becker (1981) defines, we require



l

0

( ρu( x, t) − ( M u′( x, t))′ )v( x)dx = 0, for all v(x) ∈ H . u

(3)

v(x) belongs to class H (Linear Hilbert space) and has zero values at x=0 and x=l (the boundaries). The first derivative of such Hilbert functions v(x) is square-integrable 2 ∫ (v′( x) dx < ∞ . Many authors called this v(x) the weighting function. Taking integration by parts for equation (3) yields l

l

l

∫0 v( x) ρ ( x)u ( x, t )dx = ∫0 v( x) M u u ′( x, t )dx − ∫0 v( x)′M u u ′( x, t )dx .

(4)

It is clear that if equation (3) is true, there can be no portion of finite element length of the interval 0 < x < l within which the differential equation (2) fails to be satisfied. If function u(x,t) satisfies equation (3), it will satisfy equation (2) as well. Becker (1981) states that for having a symmetric weak formulation we assume that the solution functions u(x,t) also belong to class H. Now we choose a set of basis orthogonal functions for H such that every function in H can be expressed as a linear combination of such basis functions. Becker (1981) represents v(x) in the form CREWES Research Report — Volume 15 (2003)

3

Mahmoudian and Margrave ∞

v( x) = ∑ aiψ i ( x) ,

(5)

i =1

where the coefficients ai are given by l

ai = ∫ v( x)ψ i ( x)dx . 0

(6)

If we take only a finite number N of terms in the series 5, then we will obtain an approximation of v N (x) of v(x): N

v N ( x) ≅ ∑ aiψ i ( x) .

(7)

i =1

The N basis functions {ψ 1 ( x),ψ 2 ( x),…,ψ N ( x)} define an N-dimensional subspace H N of H. After setting the weighting functions as a linear combination of basis functions; we are now ready to consider the Galerkin method for constructing an approximated solution to the variational boundary-value problem (equation (3)). Becker (1981) says that the Galerkin method consists of seeking an approximate solution u N ( x, t ) to equation (3) in subspace H N rather than in a whole space H of the form N

u N ( x, t ) ≅ ∑ d i (t )ψ i ( x) .

(8)

i =1

The coefficients di(t) take on the value of the displacement u at a discrete number of nodal points (points i = 1, , N ). For a better understanding of v N (x) , suppose the value of v N (x) at nodes 1, 2, and 3 are 0.9, 0.7, and 0.2, respectively, with basis functions as in Figure 2b. Substituting these values into equation (7) gives v N ( x) = 0.9ψ 1 ( x) + 0.7ψ 2 ( x) + 0.2ψ 3 ( x), so that these three components combine to give the continuous piecewise-linear function shown in Figure 3a and the piecewise-linear function v N (x) has the form of Figure 3b. In the Galerkin method the solution function u(x,t) is approximated by piecewise-linear functions v N (x) , with values coinciding with those of u(x,t) at the nodes, the result is a polygonal function which closely resembles u(x,t). This is the piecewise-linear interpolation of the exact solution u(x,t). As the mesh is refined (i.e., as the number of elements is increased), the finite-element interpolant becomes progressively closer to u(x,t) (see Figure 3c).

4

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

Ω1

Elements:

Ω2

Ω3

Ω4

x=0

x=1 x

h

h

h

h

(a)

ψ1(x) l

0

1

2

3

4

x

4

x

h

ψ2(x) l

0

1

2

3

ψ3(x) l

0

1

2

3

4

x

(b) FIG. 2. (a) A simple 1D domain mesh (b) Example of finite-element basis functions (both, after Becker, 1981).

CREWES Research Report — Volume 15 (2003)

5

Mahmoudian and Margrave

There is no need for weighted function v(x) to be expressed by N-dimensional basis functions {ψ 1 ( x),ψ 2 ( x),… ,ψ N ( x)} . Many authors consider them as separate sets (Bathe, 1996; Hughes, 1987; and Marfurt, 1984). Marfurt (1984) states that choosing weighting functions as linear combination of basis functions such that the weighting and basis are identical, generates the Galerkin formulation of the finite-element method. Marfurt (1984) also mentions while the Galerkin method of setting the weighting function v(x) equal to that of the basis functions ψ i has been among the most popular finite-element techniques, there is no compelling reason to do so. Furthermore, there is no compelling reason to use the same ψ i in evaluating the mass, damping, stiffness, and load matrices. Substitution of the expansion of u N ( x, t ) and v N (x) , equations (7) and (8), into equation (4) results in

∑ ai ∑ [∫ψ i ( x)ρψ j ( x)dx]d j (t ) + ∑ [∫ψ i ( x)′mψ j ( x)′]d j  = 

i





j



j

0.

(9)

This is the same result as (Kay and Krebes, 1999). Note that in getting this result the boundary values are already applied. Since the functions v(x), and thus the coefficients ai , are arbitrary, the expression in the brackets of equations (9) must equal zero. The structure of equation (9) can be written in more compact form as N





i =1

 j =1

N

∑ ai  ∑ (M ij d + K ij d j )  = 0 , 

(10)

whose M and K matrices are l

M ij = ∫ ψ i ( x) ρψ j ( x)dx 0

l

K ij = ∫ ψ i′ ( x) M uψ ′j ( x)dx. 0

6

CREWES Research Report — Volume 15 (2003)

(11)

Review of the finite-element method

viψi (x) 0.9ψ1(x) 0.7ψ1(x) 0.9 0.7

0.2ψ3(x) 0.2

0

1

2

3

4

x

3

4

x

(a)

0

1

2 (b)

u (x)

(c)

FIG. 3. (a)

v N ( x) = 0.9ψ 1 ( x) + 0.7ψ 2 ( x) + 0.2ψ 3 ( x), (b) piecewise-linear finite-element

representation of the function v N(x) (both, after Becker, 1981). (c) Local linear interpolation of smooth function u.

CREWES Research Report — Volume 15 (2003)

7

Mahmoudian and Margrave

The resulting ordinary differential equations in time for the unknown displacements at the nodal points can be written as Md (t ) + Kd (t ) = 0 .

(12)

The matrices M and K are called mass and stiffness matrices, respectively. Equation (12) is the correspondence finite-element equation. (The terms mass and stiffness matrix are misnomers for the acoustic wave equation where the reciprocal of the density is actually included in the stiffness matrix and the reciprocal of stiffness in the mass matrix (Marfurt, 1984).) Calculating the mass matrix M, from equation (11), leads to a sparse matrix as in Figure 4.

0 0 0 x 0   0 x 0  0 x 0   0 x 0 M = 0 x   •  •   •  

              

FIG. 4. Cartoon of mass matrix M assembly in 1D (After Kay, 1996).

Considering a source F and a damping term C in wave equation, the corresponding finite-element equation becomes Md + Cd + Kd = F .

(13)

Equation (13) is used for the finite-element model of wave equation by Smith (1975), Jianlin (1994), Kay (1999), Hughes (1987), Cohen (2000), Sullivan (1983), and Marfurt (1984), among others. The initial-value problem for equation (13) consists of finding a displacement, d = d(t), satisfying equation (13) and the given initial data: d ( 0) = d 0 , d ( 0) = v 0 .

(14)

Here we try to present a finite-element solution of equation (12). In this regard, we need to define the basis functions then construct the stiffness and mass matrices. As 8

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

mentioned above, finite–element methods assume that the solution can be represented with N basis functions enumerated as ψ i . These functions are chosen to be zero outside some finite interval. In addition, if the ψ i has the value of unity at one node (defined later) in the computational mesh and zero at every other node, a one-to-one correspondence between basis functions and the grid nodes results. Kay (1996) also mentions that the ψ i are chosen to be sufficiently “smooth” such that all integrals will exist. The main idea as Becker (1981) says, is that the basis functions ψ i can be defined piecewise over subregions of the domain called finite elements and ψ i can be chosen to be very simple functions such as polynomials of low degree. Constructing such a set of piecewise basis functions, as Becker (1981) states, we first partition the domain X (the interval 0 < x < l ) of our problem into a finite number of elements. Figure (2a) shows, for example, the domain of our model problem. Within each element, certain points are identified, called nodes or nodal points, which play an important role in the finite-element constructions. The collection of elements and the nodal points making up the domain of the approximate problem is sometimes referred to as a finite-element mesh. The basis functions should be smooth enough to be members of a Hilbert space. One very simple sample set of basis functions for the domain showed in Figure (2a), is shown in Figure (2b). If the coordinates of the nodes are denoted xi (i = 0, 1, 2, 3, 4), then the basis functions shown for i = 1, 2, 3 are given by

ψ i ( x) =

        

x − xi −1 hi

for xi −1 ≤ x ≤ xi

xi +1 − x hi +1

for xi ≤ x ≤ xi +1

0

,

(15)

for x < xi −1 and x > xi +1

where hi = xi − xi −1 is the length of element Ω i . The first derivatives of basis functions also can be calculated very easily. Considering equation (11) the Mass and Stiffness matrices can be computed. Solving the wave equation (12) and finding mass and stiffness matrices by constructing the basis functions, equation (12) may be cast into the form d (t ) = M −1 (− Kd (t )) .

(16)

The development of boundary-value problems describing physical phenomena in two dimensions follows closely the one-dimensional treatment given above, differing only in aspects dictated by the higher dimensionality.

CREWES Research Report — Volume 15 (2003)

9

Mahmoudian and Margrave

2D Spatial Discretization

In two dimensions, the domain is discretized into element domains similar to the 1D case. In two dimensions the element domains might be simply triangles and quadrilaterals (Figure 5). Nodal points may exist anywhere on the domain but most frequently appear at the element vertices and interelement boundaries and less often in the interiors (Hughes, 1987).

FIG. 5. 2D domain and 2D mesh for finite-element spatial discretization (after Hughes, 1987).

In the 1D domain in equation (14), we introduced a set of basis functions as linear functionsψ ( x) = a1 + a 2 x . For generalizing the concept to 2D, Becker (1981) considers the linear function

ψ ( x, y ) = a1 + a 2 x + a3 y .

(17)

This function determines a plane surface. The use of such a basis function on a triangle element will result in the approximation of a smooth function v(x,y) (that we had before as weighting functions) by a planar function, 1 0

ψ i ( xi , y i ) = 

if i = j if i ≠ j

(18)

for ( x1 , y1 ) as coordinate of each node in finite-element mesh. The basis functions ψ i ( x, y )(i = 1,2,… , N ) are constructed in the same manner as described for 1D. The basis functions corresponding to adjacent elements in the mesh are simply patched together to produce a pyramid nodal point in the mesh (Becker, 1981). There are many mechanical engineering software packages that solve boundary value problems by finite-element methods. Including MSC.Patran and NISA II/Display III. Figure 6 is a 1D section of a 2D finite-element solution to a sample wave propagation executed by NISA II. The generalization of the finite-element method discussed to three dimensions is theoretically simple, though computationally more expensive (Marfurt, 1984).

10

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

5.00E-01

4.00E-01

3.00E-01

2.00E-01

1.00E-01

0.00E+00 0.00E+00

2.00E-01

4.00E-01

6.00E-01

8.00E-01

1.00E+00

1.20E+00

1.40E+00

1.60E+00

1.80E+00

2.00E+00

-1.00E-01

-2.00E-01

-3.00E-01

-4.00E-01

a(t+∆T/2) time a(t) 0.00E+00 0.00E+00 0.00E+00 -7.82E-02 1.00E-01 1.01E-01 -1.04E-01 2.00E-01 1.35E-01 -5.66E-02 3.00E-01 7.30E-02 4.16E-02 4.00E-01 -5.37E-02 1.27E-01 5.00E-01 -1.64E-01 1.34E-01 6.00E-01 -1.73E-01 3.77E-02 7.00E-01 -4.86E-02 -1.29E-01 8.00E-01 1.66E-01 -2.88E-01 9.00E-01 3.71E-01 -3.54E-01 1.00E+00 4.57E-01 -2.88E-01 1.10E+00 3.71E-01 -1.29E-01 1.20E+00 1.66E-01 3.77E-02 1.30E+00 -4.86E-02 1.34E-01 1.40E+00 -1.73E-01 1.27E-01 1.50E+00 -1.64E-01 4.16E-02 1.60E+00 -5.37E-02 -5.66E-02 1.70E+00 7.30E-02 -1.04E-01 1.80E+00 1.35E-01 -7.82E-02 1.90E+00 1.01E-01 FIG. 6. 1D finite-element solution to wave equation in an elastic (Isotropic) material. The blue plot indicates the initial wavelet and the red plot indicates the wavelet after half-period of initial wavelength in the centre point a disc defined as initial problem. Boundary and initial value both were set to zero. This is 1D section of 2D finite-element solution of a sample wave propagation, Executed by NISA II/Display III software. Displayed data table shows 1D numerical values.

CREWES Research Report — Volume 15 (2003)

11

Mahmoudian and Margrave

Temporal Discretization

There are different ways to solving the time-step equation (15). Many authors use different numerical methods for solving this ODE (Ordinary Differential Equation). Smith (1975) uses a numerical solution using the Runge-Kutta algorithm, but there are no details of his solution in his paper. Runge-Kutta is a numerical method for solving ODE that does not use the explicit evaluation of the derivatives (Ambramowitz and Stegun, 1970). A brief summery of the Runge-Kutta method is found in Appendix B. Becker (1981) presents a finite–difference solution for the time-dependent heat equation. The heat equation is very similar to wave equation. The heat equation and its finite-element model are cu ( x, t ) = c

∂u ( x, t ) ∂ = (k ( x)u ' ( x, t ) ) , ∂t ∂x Cu + Ku = 0 .

(19) (20)

The time-step solution for the heat equation will hold for the wave equation with some slight modification. Becker (1981) states that by using the finite-element method, we have succeeded in reducing the given initial-value problems (19) to the system of ordinary differential equation (20). Since we have not yet discretized the behaviour of u N in time, equation (20) is referred to a semi-discrete finite-element approximation. To obtain a fully discrete approximation, we must now introduce an approximation of the behaviour of u (t ) in time. Becker (1981) outlines one of the simplest methods, forward finite-difference approximation. The time domain 0 ≤ t ≤ T is divided into k equal intervals of length ∆t = T / k . At t = 0, the solution is known: u (t ) = uˆ .To advance the solution in time from t = n∆t to (n + 1)∆t the forward finite-difference operator is used du (n∆t ) u n +1 − u n ≈ , dt ∆t

u n = u (n∆t );

(21)

then equation (20) leads to the algorithm C (u n +1 − u n ) = − Ku n ∆t u n +1 = ( I − ∆tC −1 K )u n .

(22)

Since u(0) is known, u 1 can be calculated using equation (22). In this way we integrate the solution in time from t = 0 to t = k∆t for any desired number of time steps. It should be noted that for a given mesh size N, a limitation on the time-step size ∆t is needed in order for this scheme to be numerically stable. Taking the same steps as Becker (1981) for wave equation, and using the centered second finite-difference operator

12

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

d 2u 2 ∆t ≈ u n +1 − 2u n + u n −1 , 2 dt

(23)

u n +1 = (2 − ∆t 2 M −1 K )u n − u n −1 .

(24)

equation (16) becomes

So the solution in time for any number of time steps is achieved. Strange and Fix (1973), in solving the heat equation with finite-element methods, also uses Galerkin method; and for solving the time-dependent equation (20), they state that: “It is natural to ask why finite-elements are not used also in the time direction. This has certainly been attempted, but not with great success and in fact a straightforward application of the Galerkin principle may couple all the time levels, and destroy the crucial property of propagation forward in time”. In the time-step solution for equation (20), Strange and Fix (1973) analyze the Crank1 Nicholson scheme, which is centred at (n + )∆t and therefore achieves second-order 2 accuracy in time: C

u n +1 − u n u n +1 + u n +K = 0. ∆t 2

(25)

n +1 is determined by Rewritten, the approximation u

M + K∆t n +1 M − K∆t n u = u . 2 2

(26)

Strange and Fix (1973) say that in an actual computation, the matrix on the left can be factored by Gauss elimination into LLT , where L is Cholesky’s lower triangular matrix, and then u n +1 would be computed at each step by back substitutions, Lu n +1 / 2 =

M − K∆t n u , 2

LT u n +1 = u n +1 / 2 .

(27)

Strange and Fix (1973) state that because the coefficient of equation (20) is timedependent, then in the strict Galerkin theory the mass and stiffness matrices must be computed at each time step. Now it becomes clear that why the implementation of finiteelement method in wave equation is so hard. Thornton (1982) takes the same finite-element procedure for solving the heat equation (19) and gets the finite-element equation (20). He also uses the finite-difference operator for solving the time-dependent part of the heat equation.

CREWES Research Report — Volume 15 (2003)

13

Mahmoudian and Margrave

Ma n +1 + Cν n +1 + Kd n +1 = Fn +1 Temporal Discretization

Md + Cd + Kd = F

ν n +1

d (0) = d 0 d ° (0) = v0

∆t 2 {(1 − 2β )a n + 2βa n +1 } 2 = ν n + ∆t{(1 − γ )a n + γa n +1 }

d n +1 = d n + ∆tν n +

d 0 ,ν 0 given Model Decomposition

Model Decomposition

( )

2

an +1 + 2ξω hν n +1 + ω h d n +1 = Fn +1

( )

2

d + 2ξω h d + ω h d = F

Temporal Discretization

d ( 0) = d 0 d ( 0) = v 0

∆t 2 {(1 − 2β )an + 2βan +1} 2 = ν n + ∆t{(1 − γ )an + γan +1}

d n +1 = d n + ∆tν n +

ν n +1

d 0 ,ν 0 given FIG. 7. The explicit finite-element method for wave equation (after Hughes, 1987).

Hughes (1987) in solving the wave equation by finite-element also drives equation (13) and states that the most widely used family of direct methods for solving equation (13) with initial conditions (14), is the Newmark family, which consists of the following equations: Md + Cd + Kd = F Ma n +1 + Cv n +1 + Kd n +1 = Fn +1 ∆t [(1 − 2β )a n + 2βa n+1 ] 2 = v n + ∆t [(1 − γ ))a n + γa n +1 ] ,

d n +1 = d n + ∆tv n + v n +1

(28)

2

(29) (30)

where d n , v n , and a n are the approximations of d (t n ), d (t n ), and d (t n ) , respectively. Equations (29) and (30) are finite-difference formulas describing the evolution of the approximate solution. The parameters β and γ determine the stability and accuracy characteristics of the algorithm under consideration. Equations (28) to (30) may be thought of as three equations for determining the three unknowns d n +1 , v n +1 , and a n +1 . It is being assumed that d n , v n , and a n are known from the previous step’s calculations. Hughes (1987) summarizes the explicit finite-element method for the wave equation in Figure 7 where the ωh is the weighting function (as defined in previous parts). Hughes (1987) states when the time step restriction is not too severe, as is often the case in elastic 14

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

wave-propagation problems, the central finite-difference method is generally the most economical direct integration procedure and is thus widely used. Hughes (1987) discusses alternative approaches from the Galerkin and Newmark methods, for solving the timestep of the wave equation using the finite-element method, including: the Linear Multisteps (LMS), and Houbolt methods; Collocation Schemes; the α-Method, the Wilson-θ method, the Fox-Goodwin method, and the predictor-corrector method, which all are all weighted residual time integration schemes. All mentioned weighted residual time integration schemes lie in a grey area between finite-element and finite-differences methods (Bathe, 1996; Zeinkiewicz, 1997; and Marfurt, 1984). Marfurt (1984) uses a three-point scheme for discretizing the homogeneous time dimension and states one can apply the temporal basis functions for ODE equation (13) (Zeinkiewicz, 1977). WAVE PROPAGATION IN LINEAR VISCOELASTIC MEDIA Viscoelasticity

All we have shown up until now has been in elastic media, but there is also the finiteelement solution for wave propagation in viscoelastic and anisotropic media. Kay and Krebes (1999) apply the finite-element method to a solution of seismic wave motion in linear viscoelastic media. First we’ll discuss viscoelastic media. Zienkiewicz (2000) characterizes viscoelastic phenomena by the rate at which inelastic strains develop depends not only on the current state of the stress and strain but, in general, on the full history of their development. Thus, to determine the increment of inelastic strain over a given time interval (or time-step), it is necessary to know the state of stress and strain at all preceding times. Kay (1996) describes the stress-strain relation in viscoelastic media as: t

σ (t ) = ∫0 ε (t − t ' )dR(t ' ), .

(31)

where σ(t) is stress, ε(t) is strain and the tensor R(t) is the strain relaxation function (we will define shortly). As stated by Aki and Richards, the R(t) is the characteristic relaxation time for strain under an applied step in stress. If at t = 0 the system goes from a state of no strain to a state with some small but non-zero strain, then the stress for any time after t = 0, is given by this convolution of the strain history with the relation function. Kay (1996) shows that an integral form of the stress-strain behaviour in a viscoelastic media can be written in a convolution form as: t

σ (t ) = ∫0 R(t ' )

dε (t − t ' ) dt ' . dt '

(32)

Kay (1996) states that there is a one-to-one correspondence between the stiffness matrix of elastic theory and the relaxation function here. Bland (1960) states that the Laplace transform of the viscoelastic problem will formally have the same form as the elastic problem. The terms that correspond to the elastic constants appear as functions of the Laplace transform parameter, t. Bland (1960) also shows that the familiar decoupling

CREWES Research Report — Volume 15 (2003)

15

Mahmoudian and Margrave

of SH and P-SV waves for elastic media holds for linear viscoelastic media too. Kay and Krebes (1999) say the term viscoelastic can apply to problems in any number of dimensions, whether acoustic, antiplane-strain (SH waves), or with multiple degrees of freedom at each point and exhibiting coupled P-SV waves. Kay (1996) states that a generalized Maxwell model composed of components has a discrete relaxation spectrum with Nm  −t / τ  R (t ) =  M r + δM ∑ a j e j  H (t ) , i =1  

(33)

where M r is the relaxed modulus and M u (in equation (2)) is equal to the sum M r + δM , and H(t) is the Heaviside step function (Bland, 1960; Ch. 1). For this form of R (t) (equation (33)), the stress (equation (32)) can be expressed as 

n





j =1



σ (t ) = M u u ′(t ) − ∑ X j  ,

(34)

where the X j are the memory variables. Kay (1996) defines memory variables in terms of the strain as Xj =

a j δM

τ jMu

t

∫0 e

− ( t −τ ) / τ j

u ′(τ )dτ .

(35)

This expression is equivalent to the differential equation Xj +

1

τj

Xj =

a j δM

τM u

u ′(t ) .

(36)

Spatial discretization for viscoelasticity

Kay and Krebes (1999) use the following wave equation in 1D heterogeneous medium

ρ ( x)u ( x, t ) = σ ( x, t )′ ,

(37)

where σ ( x, t ) is stress. It is the same form as we stated in equation (2) for elastic media, because for a single degree-of-freedom, strain is equal to u ( x, t )′ . Note that for elastic media δM ≡ 0 , the equation of motion has the same form as equation (2). So all the results for viscoelastic media can also be applied to elastic media. Kay and Krebes (1999) consider the equation (34) for stress and substitute that into equation (37). Repeating the Galerkin analysis, multiplying by the weight function v(x), (as shown above in elastic media) yields to similar equation as equation (4), with the form 16

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

′   ∫0 v( x) ρ ( x)u ( x, t )dx = ∫0 v( x)(M u u ′( x, t ))′dx − ∫0 v( x) M u ∑j X j ( x, t )  dx . (38)   l

l

l

Using the memory variable X j , Kay and Krebes (1999) presented two methods of spatial discretization using the memory variable X j . Here we just discuss one of those methods. This discretization scheme is analogous to equation (7) approximating the memory variable X j as N

X j ≅ ∑ ξ iψ i ( x) .

(39)

i =1

These expansions are substituted into equation (36) and a similar Galerkin analysis is applied to equation (36). The second-order ordinary differential equation in d (in equation (13)) is coupled to two first-order differential equations in d and v if (d / dt )d = v . Repeating the Galerkin analysis using this expansion for X j will result in an ODE for d (t). Then the system of equations can be summarized as  d (t )   0  Mv(t )  − K M d  M ξ (t )    I 1  =  Cδ 1 dt  M ξ (t )  C  I 2   δ2   

1 0 0 C MT 0 − Mτ1 0 0

0 C MT 0 Mτ 2

  d (t )    v(t )      × ξ1 (t ) ,     ξ 2 (t )   

(40)

where 1

M = ∫ψ i ( x) ρ ( x)ψ j ( x)

M τ = ∫ψ i ( x )

M I = ∫ψ i ( x)ψ j ( x)

K M = ∫ψ i′ ( x) M uψ ′j ( x)

C δ = ∫ψ i ( x )

τj

ψ j ( x)

a j ( x)δM ( x)

.

(41)

ψ ′j ( x) τ j ( x) M u ( x)

C TM = ∫ψ i′ ( x) M uψ j ( x) Details can be found in Kay (1996). In addition to the spatial discretization presented above, some method of advancing the solution in time is required, and the resulting scheme must be shown to approximate the solution of the continuous equations. As mentioned before applying the spatial discretization (39) to wave equation (37) resulted in an ODE in time domain. Kay and Krebes (1999) use a centred finitedifference operator to approximate d (t ) . They discretized time t in equal steps of ∆t , and a superscript k denotes evaluation at time as t = k∆t . With this notation, Kay and Krebes CREWES Research Report — Volume 15 (2003)

17

Mahmoudian and Margrave

(1999) propose finite-element in space and finite-difference in time. Their (FE/FD) scheme is   1 M .d k +1 = M .(2d k − d k −1 ) + (∆t ) 2 − K .d k + ∑ K δ j .(ξ jk +1 / 2 + ξ jk −1 / 2 ). 2 j  

(42)

Solving the ODE resulting from equation (40), Kay and Krebes (1999) also used a sixth-order Runge-Kutta scheme with adaptive step-size control (they also mention the method of Kjartansson (1997) can be used). They compared the results from equation 42 solved by the Kjartansson method to those from Runge-Kutta method base on application of the “method of lines” (Ames, 1992). Agreement between the two different solution methods increases confidence in the results. In this way, Kay and Krebes (1999) showed the accuracy of their method and also showed their solution is also independent of the memory variable formulation. Results in homogeneous medium also agree with the frequency domain solutions of Kjartansson’s constant-Q method (for more detail see Kay (1996)). CONCLUSIONS

Many of the concepts associated with finite-element methods are more intuitive than those in finite-difference or spectral methods, but the implementation is more complicated for simple one-dimensional problems. However, for higher dimensionality and complex geometry, finite-element pays for extra the work. Irregular geometries and inhomogeneous media that represent realistic geological structures can be handled by the finite-element method better that other methods like finite-difference On the basis of the concept of the principle of Galerkin variational method of initialboundary-value problems, the finite-element solutions for acoustic and elastodynamic transient problems have been successfully formulated by many researchers. Kuo (1982) states the finite-element method as developed provides advantages over the more conventional finite-difference methods when applied to exploration problems for: (1) simple and accurate modelling of arbitrary seismic sources and source arrays; (2) ease of applying homogeneous and inhomogeneous boundary conditions of any type; (3) great flexibility in modelling targets of any irregular shape as well as the effects of irregular topography and weathering zones; and (4), perhaps most importantly, errors are averaged over the elements throughout the domain in question. ACKNOWLEDGEMENTS

We wish to thank to Mr. Hadi Mohammadi for running the package NISA II and Ms. Fereshteh Roozbeh for lots of discussion about finite-element methods; also thanks to Mr. Kevin Hall and Mr. Vafa Adib for lots of help.

18

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

REFERENCES Ames, W. F., 1992, Numerical Methods for Partial Differential Equations, 3rd ed.: Academic Press, Inc. Ambramowitz, M. and Stegun, I. A., 1970, Handbook of Mathematical Functions: Dover Publications Inc. Bathe, K. J., 1996, Finite-Element Procedures: Prentice Hall, Inc. Becker E. B., Carey G. F., and Oden J. T., 1981, Finite-Element: An introduction: Prentice Hall. Bland, D. R., 1960, The Theory of Linear Viscoelasticity: International Series of Monographs on Pure and Applied Mathematics, Pergamon Press Cohen, G. and Fauqueux, S., 2000, Efficient mixed finite element for the acoustics equation: 70th Ann. Internat. Mtg: Soc. of Exploration Geophysicist: 2205-2208. Hughes, T. J. R., 1987, The Finite-Element Method; Linear Static and Dynamic Finite-Element Analysis: Prentice Hall Inc. Jianlin, Z., 1994, 2.5-D finite element seismic modelling: 64th Ann. Internat. Mtg: Soc. of Exploration Geophysicist: 1375-1377. Kay, I., 1996, Seismic modelling in non-ideal media with finite–element methods: Ph.D. Thesis, Univ. of Calgary. Kay, I. and Krebes, E.S., 1999, Applying finite-element analysis to the memory variable formulation of wave propagation in anelastic media: Geophysics, 64, 300-307. Kelly, K. R. and Marfurt, K. J., 1990, Numerical modelling of seismic wave propagation: Geophysics Reprint Series, Society of Exploration Geophysicists. Kjartansson, E., 1979, Constant Q-wave propagation and attenuation: J Geoph. Res., 84, 4737-4748. Kjartansson, E., 1997, Constant Q-wave propagation and attenuation: J. of Geoph. Res. 84, 4737-4748. Kuo, J. T. and Teng, Y. C., 1982, Three-dimensional finite-element modelling of acoustic and elastic waves: 52nd Ann. Internat. Mtg: Soc. of Exploration Geophysicist, Session: RW1.6. Marfurt, K. J., 1984, Accuracy of finite-difference and finite-element modelling of the scalar and elastic wave equations: Geophysics, 49, p. 533-549. Marfurt, K. J., 1990, Analysis of Higher Order Finite-Element Methods. in Numerical Modelling of Seismic Wave Propagation, Society of Exploration Geophysicist. Smith, W. D., 1975, The application of finite element analysis to body wave propagation problems: Geophysical Journal of the Royal Astronomical Society, 42, 747-768. Smith, W. D., 1980, Free oscillations of a laterally heterogeneous earth: A finite element approach to realistic modelling: Physics of the Earth and Planetary Interiors, 21, 75-82. Strange, G. and Fix, G. J., 1973. An Analysis of the Finite-Element Method: Prentice-Hall, Inc. Sullivan, M. F. and Young, T. K., 1983, Design considerations in finite-element program development: 53rd Ann. Internat. Mtg: Soc. of Exploration. Geophysicist., Session:S7.6. Zienkiewicz, O. C., 1977, The Finite-Element Method, 3rd ed. New York, McGraw-Hill Book Co.

CREWES Research Report — Volume 15 (2003)

19

Mahmoudian and Margrave

FIG. A1.The process of finite-element analysis (after Bathe, 1996).

20

CREWES Research Report — Volume 15 (2003)

Review of the finite-element method

APPENDIX B Runge-Kutta method

The Runge-Kutta method is the most accurate numerical algorithm to solve Ordinary Differential Equations. This method fits a polynomial to the curve, which it uses to estimate the new y value. This is an extension on Euler's improved method. The Euler method can be considered a first-order Runge-Kutta method. The fourth-order RungeKutta method works by evaluating the function at four separate points and takes the average of those four points. The Runge-Kutta method provides improved accuracy with larger step-sizes and without the need of evaluate higher differentials (beyond the first derivative) of the function of interest. Higher order Runge-Kutta methods evaluate the solution at more points (i.e., sixth-order Runge-Kutta uses six solutions), and therefore become more accurate. The aim of method is generating a numerical solution to an initial value problem of the form: y ' = f ( x, y ) y ( xo ) = yo Here is a summary of the method: h yn −1 = yn + (kn1 + kn 2 + kn 3 + kn 4 ) 6 where, kn1 = f (tn , yn ) kn 2 = f (tn + h / 2, yn + hkn1 / 2) kn 3 = f (tn + h / 2, yn + hkn 2 / 2) kn 4 = f (tn + h, yn + hkn 3 ) Note that in the case where f(t,y) does not depend upon y, the above reduces to yn +1 = yn +

h [ f (tn ) + 4 f (tn + h / 2) + f (tn + h)] 6

which is Simpson's rule.

CREWES Research Report — Volume 15 (2003)

21