GithubHelp home page GithubHelp logo

florianwittkamp / fd_acoustic Goto Github PK

View Code? Open in Web Editor NEW
83.0 4.0 39.0 1.62 MB

Collection of Matlab, Python and Jupyter Notebook scripts for Finite-Difference seismic wave simulation in 1-D and 2-D

License: GNU General Public License v3.0

MATLAB 3.56% Python 3.69% Jupyter Notebook 92.75%
finite-differences geophysics python jupyter-notebook matlab modeling simulation

fd_acoustic's Introduction

Finite-Difference Seismic Wave Simulation

This is a collection of Matlab and Python scripts for simulating seismic wave propagation in 1-D and 2-D. The wave propagation is based on the first-order acoustic wave equation in stress-velocity formulation (e.g., Virieux (1986)), which is solved by Finite-Differences on a staggered grid.

Contents

This repository contains 1-D and 2-D versions of Finite-Difference wave simulation codes in both Matlab and Python. The source code can be found in the Matlab/, Python/, and JupyterNotebook directories, respectively.

Higher spatial orders are achieved through a classical Taylor expansion.

For higher temporal orders, two methods are available:

  1. Lax–Wendroff method (only in 1-D). Theory: Dablain (1986)

  2. Adams-Bashforth method. Theory: Bohlen & Wittkamp (2016)

To explore the influence of different orders of accuracy, you can run the script FD_1D_compare or FD_2D_compare.

Additionally, in 1-D, scripts are provided for calculating and plotting numerical dispersion, as well as numerical dissipation (Adams-Bashforth method). Currently, these scripts are only available in Matlab. The underlying theory is presented in Bohlen & Wittkamp (2016).

Literature

  • Bohlen, T., & Wittkamp, F. (2016). Three-dimensional viscoelastic time-domain finite-difference seismic modeling using the staggered Adams–Bashforth time integrator. Geophysical Journal International, 204(3), 1781-1788 (https://doi.org/10.1093/gji/ggv546).

  • Dablain, M. A. (1986). The application of high-order differencing to the scalar wave equation. Geophysics, 51(1), 54-66 (https://doi.org/10.1190/1.1442040).

  • Virieux, J. (1986). P-SV wave propagation in heterogeneous media: Velocity-stress finite-difference method. Geophysics, 51(4), 889-901 (https://doi.org/10.1190/1.1442147).

Licence

This collection is available under the GNU General Public License v3.0. See the LICENCE file for more information.

fd_acoustic's People

Contributors

florianwittkamp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.