https://github.com/mipals/bem200
2D Acoustical Boundary Element computations using only 200 lines of code
https://github.com/mipals/bem200
Last synced: 3 months ago
JSON representation
2D Acoustical Boundary Element computations using only 200 lines of code
- Host: GitHub
- URL: https://github.com/mipals/bem200
- Owner: mipals
- Created: 2022-12-14T08:20:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-15T18:37:00.000Z (over 2 years ago)
- Last Synced: 2025-02-23T06:45:09.358Z (3 months ago)
- Language: Julia
- Homepage:
- Size: 197 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BEM200
This repository contain a simple implementation of the Acoustical Boundary Element Method. This means that the script contain all code relevant for solving the following boundary integral equation in 2d.
$$
c(\mathbf{y})p(\mathbf{y}) = \int_\Gamma G(\mathbf{x},\mathbf{y})\frac{\partial p}{\partial \mathbf{n}}(\mathbf{x})\ \mathrm{d}\Gamma_\mathbf{x} - \int_\Gamma\frac{\partial G(\mathbf{x}, \mathbf{y})}{\partial \mathbf{n} }p(\mathbf{x})\ \mathrm{d}\Gamma_\mathbf{x} + p_\text{incident}(\mathbf{x}).
$$The script implements linear and quadratic geometry as well as discontinuous constant, linear and quadratic interpolation of the pressure and normal derivative.
An infinite cylinder with hard boundaries is used to verify the correctness of the implementation.