The implementation of the combined boundary condition for the Poisson solver in WarpX #6019
Replies: 3 comments 20 replies
-
Thanks for the questions! The multigrid Poisson solver and the embedded boundaries are enabled primarily by AMReX, while the RZ geometry and the electrostatic solver are more like WarpX-centric features. Let's ping some developers from both sides who may be familiar with these features. @WeiqunZhang @atmyers @jlvay @dpgrote @JustinRayAngus @RevathiJambunathan Pinging also @RemiLehe for future reference. |
Beta Was this translation helpful? Give feedback.
-
Could you give this a try? If it works, we can think about how to add this to WarpX.
|
Beta Was this translation helpful? Give feedback.
-
Hi Dr. Zhang, Thanks for your suggestions. In my current code, the dx are set to be equal to dz and equals to 1.66*10^-5 m. I was thinking it might be my plasma injection issue, so I modified my plasma injection condition and make sure to inject two equal species with the same conditions (but just charge sign different). However, the MLMG still fails to converge but it now fails to converge in a few steps.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear WarpX team,
I hope this message finds you well.
I’m modeling an electric-propulsion thruster plume with the axisymmetric R-Z electrostatic solver (WarpX 25.06, PICMI / pywarpx).
The physical setup requires a piece-wise boundary (i.e., a combined bonudary condition) at z = 0:
(e.g. Rmax = 200 mm, rc = 10 mm).
In our previous simulation using our in-house PIC code, we imposed this by:
When I mimic this in WarpX with an embedded conductor at the same location, the multigrid Poisson solver fails to converge; it appears the solver still treats the entire z = 0 plane as Neumann. Shifting the conductor slightly inside the domain restores convergence, but that distorts the physical geometry.
If it is possible, may I ask a few questions? Thanks very much in advance.
Questions
Thank you very much for your time and efforts in helping me with this issue and for developing WarpX.
Best regards,
Chen Cui
Beta Was this translation helpful? Give feedback.
All reactions