-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time-dependency #63
Comments
Hi, I think you are actually solving a different problem. The PDE class is suitable for One other thing I noticed: the left boundary condition is a time dependent Dirichlet BC and the right one is a zero Dirichlet BC. This doesn't have the effect you want. You said you want to model a wave passing by. But in your case, the left BC is continuously pumping energy into the system sending out waves in both directions and the waves traveling along the positive x-axis will be reflected at the right bounday (u=0 there). |
Looking forward for that!
Yes, my apologies, I forgot to mention that it should be a continuous wave starting from the left. However, it should be absorbed at the right boundary instead of getting reflected. |
Hi! Thank you for the fantastic library!
I'm trying to simulate the wave equation using findiff, but I'm not getting the expected results even after changing the accuracy multiple times. The equation I'm trying to simulate is:
The results I'm getting are:
I'm expecting a wave that starts from the left and propagates all the way to the right of the domain, but this is not the case. Also, I noticed that the middle-time instances have unreasonable values for u(x,t). Normally, it should not be more than 1.0 or less than -1.0.
Please advise. Below is my code:
The text was updated successfully, but these errors were encountered: