-
Notifications
You must be signed in to change notification settings - Fork 122
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
Alfven wave absorption boundary conditions #743
Comments
Hi, the issue here is that actually we don't really know what is happening at the boundary in your case. A close analysis of the field evolution would be necessary in the first place. I might be wrong, but I believe that the Silver-Muller conditions implicitly assume a wave that goes at the speed of light. Could it be the issue here? Maybe this could be tested using parameters that make the Alfven wave phase velocity close to c? Like very large B. Maybe another idea would be to slowly damp the wave in a plasma gradient (I guess density should decrease slowly). |
Hi @mccoys, thank you for your response and suggestions.
|
The philosophy of Eq. 4 of the paper you attached is similar to the one in PML (compare Fig. 3 with Fig. 1 in https://arxiv.org/abs/2409.06287). |
|
Also, you have particles at the borders, with |
@mccoys @Z10Frank Thank you both for the comments and insights. As a first step, I tried to increase the number_of_pml_cells and leave a small vacuum gap at the borders or not. Looks like these are not helping. A strange observation is that when I use larger number_of_pml_cells (i.e. 640 as opposed to 64), the resulting wave amplitude is significantly smaller as shown below. I don't understand how number_of_pml_cells would affect the wave amplitude. (all other parameters kept unchanged)
Next I will test with larger wave speed and will post later. |
My point about the wave speed concerned Silver muller conditions only. Have you tried it? Also have you tried setting up a density gradient to damp the wave? |
1D SM conditions under wpi/wci=1 gives very similar results as quasi-1D PML; see below. Regarding the density gradient, do you mean sth like this? I don't see why a density gradient would cause the wave to damp. @mccoys |
Concerning the density gradient, I was just thinking that there might be some wave coupling that would convert the Alfven wave into some other kind of wave (maybe EM) that could more efficiently get absorbed. |
Hi! If I understand your problem and what Alfven waves are, you need two ingredients: An external magnetic field ( B_0 ) whose direction will be that of the future waves. And you also need a plasma. I might be wrong, but there exists a feedback loop for these waves: Transverse ionic current planes to ( B_0 ) that seed a perturbation of the ( B_0 ) field. A Lorentz force appears, changing the direction of the current planes, which generates the magnetic field perturbation. According to Maxwell, this creates a small ( E ). So, we have a ( k, E, B ) wave that moves in the direction of ( B_0 ) and needs the support of the plasma. No support, no magnetic perturbation, no wave. So, by playing with the mobility of the ions or their presence, you should attenuate the wave. Or perhaps gradually cutting ( B_0 ) might work? Numerically, this decrease in density and/or external field must be gradual to avoid reflections due to the “abrupt” nature. Moreover, a simulation where the plasma is far from the edges should help us better understand. Because in fact I don't know if this wave can go outside of the plasma and can these waves propagate in a vacuum? Good to know : The PML implementation does not consider any plasma in the PML region. |
@Guilleaumes Thanks for your comments! The fact that the PML does not contain plasma may be a key issue for this problem. As shown in my previous reply, the wave does get reflected at the right end of the plasma (not the right boundary of the box) when I introduce a small vacuum gap (3 di in that case) in the simulation. Previously @Z10Frank mentioned that PML is not very different from Umeda's field mask technique. Now I guess the key difference is Umeda's field mask can involve plasmas. So, a quick question is --- can we involve plasma in the current PML design? |
In the current implementation, there is no way to have plasma in the PML. This would be a very significant change. In my opinion, it could be easier to modify the silver-muller conditions: I believe they can be modified to emulate the permittivity of a medium instead of vacuum. |
@mccoys Thanks! I'll look into silver-muller and see how this may be modified. Meanwhile, could you comment on the feasibility of implementing Umeda's field mask as illustrated in sketch (a):
In fact, I had done this with a hybrid code (kinetic ions, massless electron fluid): Eqs. 1-2 of this paper, and Fig. 1b of this paper. I assume SMILEI is much more complicated than the hybrid code I used, so I'd like to see approximated efforts needed in doing the same with SMILEI. |
Looks like the old issue #565 was closed, not sure if my latest update to that issue was drawing any attention, so I am trying to reopen the case with a new issue here. Basically I'd like to achieve absorption boundary conditions for low-frequency Alfven waves. I had tried both silver-muller in 1D and PML in 2D and used a reference frequency close to the Alfven wave frequency, and these didn't work. I'd be happy to explore other options with the developers and SMILEI community to realize the absorption feature.
The text was updated successfully, but these errors were encountered: