Boundary absorption when simulating wave equation

Click For Summary

Discussion Overview

The discussion revolves around methods for absorbing boundary reflections in wave equation simulations, specifically in the context of a C# implementation. Participants explore various approaches to mitigate the issue of wave reflections at the grid edges while maintaining a reasonable grid size.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant describes the challenge of boundary reflections in their wave equation simulation and expresses a need for practical solutions that are not overly complex.
  • Another participant suggests using a sponge layer as a simple method to absorb incoming waves, recommending the addition of 5-10 cells with a sink term at the boundary.
  • A participant acknowledges the sponge layer as a viable option and considers implementing a non-zero damping factor in those cells, while expressing uncertainty about the complexity of the damping factor curve used in some academic papers.
  • Further elaboration on the damping factor indicates that it should be high near the edge of the sponge layer and taper off towards the center, ensuring effective absorption of waves without influencing the physical domain.

Areas of Agreement / Disagreement

Participants generally agree on the use of a sponge layer as a potential solution, but there is no consensus on the optimal implementation of the damping factor, with differing views on its complexity and effectiveness.

Contextual Notes

The discussion highlights the limitations of existing academic papers, which may be mathematically rigorous but lack practical applicability for everyday simulation needs. There is also uncertainty regarding the specific implementation details of the damping factor.

rumborak
Messages
706
Reaction score
154
I wrote a wave equation simulation in C# a while ago, and while everything works fine, I am running into the expected problem that my simulation boundaries (ie the edges of the grid) reflect the waves coming to them.
Obviously I want to keep the grid of reasonable size, so I looked into what could be done to absorb the incident energy.
So, I looked at papers addressing the problem. Problem is (as I find with a lot of academic papers), they are mathematically rigorous, but everyday useless. I'm in need of an easy 'n dirty solution that gets me 90% of the way in all situations, not one that gets me 100% under very specific circumstances.

TLDR: Does anyone know of a quick and dirty ways of absorbing boundary reflections in a grid simulation?
 
Physics news on Phys.org
Rigorously implementing nonreflecting boundary conditions is difficult. The simplest solution I've heard of is using a sponge layer: at the boundary you add 5-10 cells in which you add a sink term to your equations to absorb all incoming waves.
 
Thanks for the reply, bigfooted.
Yeah, the sponge layer looks like a good candidate in terms of easy of implementation. I think I will use a non-zero damping factor in those cells.
One thing I'm not sure about yet is, I've seen some papers have their damping factor curve to be rather complicated. I.e. the cells close to the grid edge would have a high damping factor, with the factor tapering off going towards the center of the grid.
 
rumborak said:
One thing I'm not sure about yet is, I've seen some papers have their damping factor curve to be rather complicated. I.e. the cells close to the grid edge would have a high damping factor, with the factor tapering off going towards the center of the grid.
You want to make sure that by the time the wave is at the edge of the sponge layer, it is really absorbed, so you use a very high damping factor. At the interface between your physical domain and the sponge layer, you want the transition to be smooth, to prevent the sponge layer from influencing your physical domain.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K