How to set boundary conditions for non-rectangular shapes? #6486
Replies: 2 comments 2 replies
-
|
Hi @AGreatDayForReal! Using the embedded boundaries would be the way to go yes. You wouldn't need to build an STL file (although that would work too), you can specify the regions to cover with an "parsable expression" - something like: [the notation above is The boundary condition gets a little trickier. WarpX does not have built in dielectric support, but you can specify the potential on the surface of embedded boundaries as a function of space, so you could track the charging at each cell on the EB surface and assign the corresponding potential to that location dynamically (this would have to be done via Python callbacks, similar to what is done in this example - https://github.com/BLAST-WarpX/warpx/tree/development/Examples/Physics_applications/spacecraft_charging). Hopefully that example will help to get the ball rolling but please let us know if you have any further questions. |
Beta Was this translation helpful? Give feedback.
-
|
Keep an eye on the WarpX-Hall repository being built by the University of Michigan. Their setup is axial-azimuthal (not the cross-section) but they're moving to 3D in the future. Repo: https://github.com/archermarx/warpx-hall. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to set up a simulation of a Hall thruster. I found an article that shows the computational domain below.


I’m a bit confused about the dielectric region. In the article, it looks like it’s treated as a wall. How can I define a boundary with this shape in WarpX and assign the proper boundary conditions? The simulation results are shown below; the dielectric region is not included in the computational domain.
Is using EmbeddedBoundary and build a stl file the only way to do this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions