Giter Site home page Giter Site logo

ksubedi00 / matlab-perfectly-matched-layer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michael-nix/matlab-perfectly-matched-layer

0.0 0.0 0.0 404 KB

Absorbing boundary conditions, not for solving Maxwell's Equations, but for a standard wave equation, e.g. for use with potentials.

MATLAB 100.00%

matlab-perfectly-matched-layer's Introduction

View Perfectly Matched Layer for a Standard Wave Equation on File Exchange

Perfectly Matched Layer for a Standard Wave Equation

How do you add decent absorbing boundary conditions so that you can pretend you're simulating real electromagnetic phenomenon except inside of a computer? How do you do this when you're not solving Maxwell's equations, but wave equations for potentials and not fields? Well look no further, 'cause some ongoing work is being done all up in this folder. So far this includes a, "standard," analytic continuation of spatial coordinates into the complex domain, and then discretized and solved using a few different techniques:

  • A fully explicit finite difference method using first order equations via an auxiliary differential equation,
  • A fully explicit finite difference method using second order equations,
  • A semi-implicit finite difference method using first order equations via an auxiliary differential equation.

The nice thing about these methods is that the exact same files should work exactly the same in 3D (tweaked to add in the third dimension, albeit quite slow and memory intensive) because MATLAB is rad like that. Since my larger research requires absolute stability, hopefully a fully implicit method will appear soon. This requires a completely different approach to thinking about integrating the wave equation so there will be a quick writeup for it as well.

With the exception of setupPML.m each of these files is a standalone file that you should be able to run to see how things play out for a standard oscillating source charge distribution.

matlab-perfectly-matched-layer's People

Contributors

michael-nix 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.