Skip to content
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

Obtain exact point of contact of Particles with EB #4560

Merged
merged 117 commits into from
Feb 13, 2024

Conversation

EyaDammak
Copy link
Member

@EyaDammak EyaDammak commented Dec 22, 2023

This modifies how particles are saved in the boundary buffer: it now saves the particle at the exact point of contact of the particle trajectory with the surface of the EB. The previous code was saving the position on the EB which was closest to the position of the particle after it moved through the EB, which does not necessarily correspond to the point of contact.

This PR also adds automated tests in 3D only (when issue #4676 will be fixed, a test in RZ will be added)

EyaDammak and others added 30 commits November 27, 2023 13:19
Examples/Tests/point_of_contact_EB/inputs_3d Outdated Show resolved Hide resolved
Examples/Tests/point_of_contact_EB/inputs_3d Show resolved Hide resolved
Source/Particles/ParticleBoundaryBuffer.cpp Outdated Show resolved Hide resolved
Source/Particles/ParticleBoundaryBuffer.cpp Outdated Show resolved Hide resolved
Source/Particles/ParticleBoundaryBuffer.cpp Show resolved Hide resolved
Copy link
Member

@RemiLehe RemiLehe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: boundary PML, embedded boundaries, et al.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants