-
Notifications
You must be signed in to change notification settings - Fork 49
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
small change in the documentation #1957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds great! Maybe also update the FAQ section a little?
Actually, are you sure about the distinction from PlaneWave? Now that I think about it I'm a little confused about this, because the auxiliary simulation to the TFSF one just uses a PlaneWave. I thought that the difference is only in the area factor. |
Hi Momchil. Yes, I understand that the difference is the area factor. A PlaneWave (infinity with periodic boundary) will inject 1 W of power. A TFSF will inject 1 Regarding the FAQ, it is describing a |
What I was questioning was the statement about angled incidence. Is that really true? I thought that the normalization should not depend on the angle and the relationship between TFSF and PlaneWave should be the same at all angles.
I think this should be just |
I think you are right. I just tested it and this is what I got for a plane wave: deg flux I believe the error for 40 and 50 is due to the fields taking too long to decay. So I will change this part as well, and open another PR for the FAQ. |
Ah yeah I see, yeah PML are not great at absorbing oblique angles, you could try changing the normal direction boundaries to Absorber and put like 100 layers, might look better. |
Hi @momchil-flex, I ran some tests to fully understand this. Yes, both the TFSF and Plane wave sources keep their quantities constant in the propagation direction (TFSF intensity and PW power). That information might be outdated, so I believe it's safe to remove it from the documentation and FAQ? By the way, the absorber with many layers worked well for large incidence angles. |
4c4bbb3
to
3808a19
Compare
Not sure what you mean? To me that information sounds correct still. The power is constant for a plane that is normal to the source injection axis (the axis normal to the source geometry) right? Meaning that the power in the propagation direction (the angled axis) would have an extra factor of 1 / cos(theta)? |
Yes, this is correct. What I meant is that the same applies to both TFSF and PW. The TFSF docstring implies it would be different for a PW. I thought the FAQ had the same issue, but it's actually correct there. |
@FilipeFcp sorry is this ready for merge then? |
Hi @momchil-flex. I believe it is. |
Hi @momchil-flex . Please let me know what you think when you have some time:
#1949