-
Notifications
You must be signed in to change notification settings - Fork 200
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
Multiple imbedded boundary #5713
Comments
Hi @wwshunan , Thank you for the question. In order to get a complex embedded boundary from STL files with varying potential on it into a WarpX simulation, you need to do the following:
For the function, you can use piecewise functions and |
Thank you very much. Next I want to simulate the beam between the very long electrodes and I think the grid moving along with the particle beam is needed. Could you give me some suggestion? |
Hi @wwshunan, |
Thank you again. The electric field Ey was not changed correspondingly when the potential value 67000 of the electrodes was changed. Is there incorrect setting in my code. My code is given below:
|
I checked the simulation results and the potentials on the electrodes are 1V and -1V respectively. |
Hi,
I want to import the two complex electrodes from STL files into warpx to do the beam simulation. The electric potential of two electrodes are respectively set to the given positive and negative values. Then the computation domain is set to contain the electrodes to consider the particle motion under the effect of the potential of the electrodes. I used two EmbeddedBoundary to import the electrodes. But picmi.Simulation can only use one EmbeddedBoundary with the parameter warpx_embedded_boundary. How can I use multiple embedded boundaries? Thanks.
The text was updated successfully, but these errors were encountered: