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

Polygon PeriodicBC Problem #1736

Open
siwuxei opened this issue May 14, 2024 · 0 comments
Open

Polygon PeriodicBC Problem #1736

siwuxei opened this issue May 14, 2024 · 0 comments

Comments

@siwuxei
Copy link

siwuxei commented May 14, 2024

Hi Lulu,

Thank you for the code library you developed, it has been very helpful to me.

I am currently working on solving a problem that involves periodic boundary conditions, as shown in the diagram. The top and bottom boundaries should be periodic (the yellow lines indicate the boundaries), meaning that the output of the equation should be the same at the top and bottom boundaries.

In this example, the top and bottom boundaries are defined using Polygons. When I try to use the built-in PeriodicBC method directly, I encounter the error "NotImplementedError: Polygon.periodic_point to be implemented."

Do you have any suggestions? Thank you for your prompt response! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant