-
Notifications
You must be signed in to change notification settings - Fork 58
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
error for perfectly conducting boundaries #632
Comments
Hi @Shihang-Hu, These boundary conditions were implemented before my time as a developer, but are we sure they're wrong? From my understanding, a perfectly conducting boundary has zero electric field perpendicular to the boundary, and zero magnetic field parallel to the boundary. That is, on Cheers, |
Perfectly conducting boundaryHi @Status-Mirror. Electric fieldsAccording to Maxwell's equations, That is, on Meanwhile, according That is, on Magnetic fieldsSimilarly, according That is, on Meanwhile, according That is, on ConclusionPerfectly conducting boundary is that: Perfect Electrical Conductor (PEC) boundary condition is But for perpendicular electric fields |
Dear @Status-Mirror . |
Hey @Shihang-Hu, It would be useful to us if you could send the reconnection input deck for our own testing. Could you paste it as a response here inside ``` quotations to skip the GitHub formatting? Cheers, |
Dear @Status-Mirror .
Before I modify the perfectly conducting boundary, I get magnetic field (0040.sdf): After I modify the perfectly conducting boundary, I get magnetic field (0060.sdf): |
Hey @Status-Mirror . |
Hi @Shihang-Hu, I think you might be right about this - I have another developer looking into it. We're currently transitioning the code from FORTRAN to C++, and I've passed on the information to those writing up the new boundaries. In the meantime, I've been told to hold off updating the FORTRAN side - feel free to use the fix you've found yourself, and I'll leave this issue up for others who may be confused. Cheers, |
Hey @Status-Mirror . |
There could be some error for perfectly conducting boundaries
in SUBROUTINE efield_bcs and SUBROUTINE bfield_bcs.
As an example, in file epoch2d\src\boundary.F90
I think it should be modified to
Thanks for your time.
The text was updated successfully, but these errors were encountered: