Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Non-Reflective Boundary Conditions for the Wave Equation

  1. Jan 24, 2008 #1
    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.
  2. jcsd
  3. Jan 26, 2008 #2
    Anybody? Could we move this to the programming forum and try there?
  4. Feb 7, 2008 #3


    User Avatar
    Science Advisor

    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 ;).
  5. Dec 15, 2011 #4
    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 !
    Best regards,
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook