Replies: 1 comment
-
Thanks for suggesting this. This sounds like a useful feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I have noticed that the embedded boundary has issues with pec electromagnetic-solver boundary conditions. Since the outside electric field values are simply skipped, the electric field at the embedded boundary will be "imperfectly" reflected. When using a cylindrical embedded boundary this issue can cause constant m=4,8,12... modes in the em-fields.
The solution (one atleast) to this is similar to the pec boundaries used on the 3D cartesian grid already in use.
2D python toy model: red points outside polygon (embedded boundary) and green points are the "opposite points"
![](https://private-user-images.githubusercontent.com/107398873/360873968-e198a9f8-04d9-4c17-aa80-91ea7325efbb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTQ3NjIsIm5iZiI6MTczOTAxNDQ2MiwicGF0aCI6Ii8xMDczOTg4NzMvMzYwODczOTY4LWUxOThhOWY4LTA0ZDktNGMxNy1hYTgwLTkxZWE3MzI1ZWZiYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMTM0MjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYTI3ZDM3OGMwNTRmMWYzNzUwMGZlZWU2ZDI3OTEyNTFkNTk2YzkwMjVkNzczMjg4ZWQwMDVkZDFmM2IyYzAzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.BcUdElzWIPqOg3K4Lkl1NhJtH2MgLTc_fcBStKVn_pU)
3D python toy model: with lathe (2pi swept polygon)
![](https://private-user-images.githubusercontent.com/107398873/360875740-f05039b4-7011-45d2-aba6-536a25cf06e4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTQ3NjIsIm5iZiI6MTczOTAxNDQ2MiwicGF0aCI6Ii8xMDczOTg4NzMvMzYwODc1NzQwLWYwNTAzOWI0LTcwMTEtNDVkMi1hYmE2LTUzNmEyNWNmMDZlNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMTM0MjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZjI2NjIzYjNkZmVhMWRlNjUwOTRiODVhNzM1ZjRmODQ5YmFlMzEzNGYyOGNlNTBjNWIwM2VjODMzODc1MjgzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.T-mnswOX81aRzvaQXo0LUuYZc9OKblRVhHY5aGvAXHI)
What is already implemented (as I can tell):
What is missing (?):
Some questions that need to be answered:
Any thoughts? Would this be a feature that WarpX could benefit from? Also if anyone is a master at AMReX that can point in the right direction, please do!
Beta Was this translation helpful? Give feedback.
All reactions