Non-Reflective Boundary Conditions for the Wave Equation

In summary, the person is asking for advice on how to implement a boundary condition which will prevent reflections in a numerical simulation. They say they are using a Thompson-style boundary condition, but are having problems with reflecting waves growing and ruining the solution. They ask for help from anyone who can help them, and mention that they need to code PML.
  • #1
NeoDevin
334
2
I wasn't completely sure where to put this (programming or Diff.E.'s), so if there's a better place, maybe the mentors could move it for me.

I'm doing some numerical simulations involving the (2-D) wave equation, and was wondering if anyone could tell me (or give a reference to a paper which would tell me) how to implement a boundary condition which will prevent reflections?

For now I'm just doing a straightforward centered difference, I may implement a higher order method later, depending how much time I have.
 
Technology news on Phys.org
  • #2
Anybody? Could we move this to the programming forum and try there?
THanks
 
  • #3
What is the particular problem of interest, and why do you wish to use non-reflective BCs? I've typically used Thompson-style boundary conditions as they seem the most "physical." Are you having problems with reflecting waves growing and ruining the solution?

If so, you might just want to stretch the grid away from the area of interest. The old way of doing things is that if the waves don't make it to the boundary (by way of damping), then you don't have to worry about the boundaries ;).
 
  • #4
minger said:
What is the particular problem of interest, and why do you wish to use non-reflective BCs? I've typically used Thompson-style boundary conditions as they seem the most "physical." Are you having problems with reflecting waves growing and ruining the solution?

If so, you might just want to stretch the grid away from the area of interest. The old way of doing things is that if the waves don't make it to the boundary (by way of damping), then you don't have to worry about the boundaries ;).

Yes, you are so right minger. I am also extending the computational domain as your idea...
However, since I need to compute on a large domain in a proper computed time, so I have to learn how to make my code better with PML boundary condition...

I've heard about PML, but it's not easy for me to implement it into my code...

Anyone can help us out? How should I start with coding PML?

Thank you so much !
 
  • #5


I can provide some information about non-reflective boundary conditions for the wave equation. These boundary conditions are important in numerical simulations to ensure that the results accurately represent the behavior of waves in real-world scenarios.

One approach to implementing non-reflective boundary conditions is to use perfectly matched layers (PMLs). These are artificial layers that are added to the boundaries of the simulation domain and are designed to absorb outgoing waves, preventing them from reflecting back into the domain. PMLs are commonly used in finite-difference time-domain (FDTD) simulations and have been shown to be effective in reducing reflections.

Another approach is to use absorbing boundary conditions (ABCs), which are based on the idea of artificially adding a layer of material with high attenuation at the boundaries of the simulation domain. This layer will absorb the outgoing waves and prevent them from reflecting back into the domain. ABCs have been used in various numerical methods, such as finite element methods (FEMs) and boundary element methods (BEMs).

There are also other techniques for implementing non-reflective boundary conditions, such as the perfectly matched absorbing layer (PMAL) method and the transparent boundary condition (TBC) method. These methods have been developed to address specific challenges in different types of numerical simulations.

I recommend consulting literature on the specific numerical method you are using, as well as papers that discuss non-reflective boundary conditions for the wave equation. This will provide you with a better understanding of the different techniques and their effectiveness in different scenarios. Additionally, there are also software packages available that can help implement non-reflective boundary conditions in your simulations.

In summary, non-reflective boundary conditions are crucial in accurately simulating wave behavior and there are various techniques available for implementing them. It is important to carefully select the appropriate method for your specific simulation and to validate the results to ensure accuracy.
 

Related to Non-Reflective Boundary Conditions for the Wave Equation

1. What is a non-reflective boundary condition for the wave equation?

A non-reflective boundary condition for the wave equation is a mathematical technique used to simulate boundaries that do not reflect waves. This means that when a wave reaches the boundary, it does not bounce back and continue to propagate in the opposite direction. Instead, it is absorbed or dissipated at the boundary.

2. How does a non-reflective boundary condition differ from a reflective boundary condition?

A reflective boundary condition reflects waves, meaning that when a wave reaches the boundary, it bounces back and continues to propagate in the opposite direction. On the other hand, a non-reflective boundary condition absorbs or dissipates the wave at the boundary, preventing it from reflecting back.

3. Why are non-reflective boundary conditions important in wave equation simulations?

Non-reflective boundary conditions are important in wave equation simulations because they allow for more accurate and realistic modeling of physical systems. In many real-world scenarios, waves encounter boundaries that do not reflect them, and using non-reflective boundary conditions can help capture this behavior in simulations.

4. What are some common non-reflective boundary conditions used in wave equation simulations?

Some common non-reflective boundary conditions used in wave equation simulations include the perfectly matched layer (PML), the sponge layer, and the impedance boundary condition. These techniques use different mathematical approaches to absorb or dissipate waves at the boundary.

5. Are non-reflective boundary conditions always necessary in wave equation simulations?

No, non-reflective boundary conditions are not always necessary in wave equation simulations. In some cases, reflective boundary conditions may be more appropriate, such as when modeling a system with reflective boundaries. It ultimately depends on the specific scenario and the desired level of accuracy in the simulation.

Similar threads

  • Programming and Computer Science
Replies
1
Views
996
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • Programming and Computer Science
Replies
4
Views
2K
  • Programming and Computer Science
Replies
3
Views
2K
  • Programming and Computer Science
Replies
1
Views
1K
Replies
4
Views
1K
Replies
4
Views
891
  • Advanced Physics Homework Help
Replies
5
Views
1K
Replies
17
Views
2K
Replies
3
Views
2K
Back
Top