Perfectly Matched Layer for a Standard Wave Equation

版本 1.0.1 (380.5 KB) 作者: oreoman
Absorbing boundary conditions, not for solving Maxwell's Equations, but for a standard wave equation, e.g. for use with potentials.
153.0 次下载
更新时间 2020/12/6

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: this does just that by using a, "standard," analytic continuation of spatial coordinates into the complex domain, and then discretized and solved using a few different techniques:

1. A fully explicit finite difference method using first order equations via an auxiliary differential equation,
2. A fully explicit finite difference method using second order equations,
3. 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 (albeit quite slow and memory intensive) because MATLAB is rad like that. The included PDF discusses some of the theory behind this work, with a very good reference to start with being:

http://math.mit.edu/~stevenj/18.369/pml.pdf

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.

引用格式

oreoman (2024). Perfectly Matched Layer for a Standard Wave Equation (https://github.com/michael-nix/MATLAB-Perfectly-Matched-Layer), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.1

Fixed some typos.

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库