next up previous [pdf]

Next: C program Up: Sava: RSF DEMO Previous: Sava: RSF DEMO

Introduction

This section presents time-domain finite-difference modeling [*]written with the RSF library. The program is demonstrated with the C, C++ and Fortran 90 interfaces.

The acoustic wave-equation

\begin{displaymath}
\Delta U - \frac{1}{v^2} \frac{\partial^2 U}{\partial t^2} = f(t)
\end{displaymath} (1)

can be written as
\begin{displaymath}
\left[ \Delta U - f(t) \right] v^2 =
\frac{\partial^2 U}{\partial t^2} \;.
\end{displaymath} (2)

$\Delta$ is the Laplacian symbol, $f(t)$ is the source wavelet, $v$ is the velocity, and $U$ is a scalar wavefield.

A discrete time-step involves the following computations:

\begin{displaymath}
U_{i+1} = \left[ \Delta U -f(t) \right] v^2 \Delta t^2 + 2 U_{i} - U_{i-1} \;,
\end{displaymath} (3)

where $U_{i-1}$, $U_{i}$ and $U_{i+1}$ represent the propagating wavefield at various time steps.




2012-07-19