A question about the particle open boundary #774
Replies: 3 comments 1 reply
-
The easiest way might be to provide the boundary temperature as a profile. But to be honest, I don't see how anyone in the dev team could have time for this in the near future. As a workaround, if you know basic c++, you could hack your way by modifying the source code for your specific case, and have the boundary temperature vary depending on each particle's y. We can help showing you where that should be put in the code |
Beta Was this translation helpful? Give feedback.
-
Actually, making a local measurement of temperature would probably be relatively easy to do |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your prompt reply. Yes, we can try some tests. I am
reading the injector module which has great potentials. Could you so kind
totell how to get neighbor cell statistical values, e.g., temperature,
density and bulk speed? Merci beaucoup!
mccoys ***@***.***> 于 2024年11月27日周三 16:19写道:
… Actually, making a local measurement of temperature would probably be
relatively easy to do
—
Reply to this email directly, view it on GitHub
<#774 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKAR36N3JLVEH7VT2UBJKD2CV6ARAVCNFSM6AAAAABSRW7YK6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMZZGE4TAMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Dear developers,
Introduction
Here are two figures attached. In brief, this is a magnetic reconnection test with open boundaries in the x-direction.
Question
In Figure 2, we applied the thermalize boundary condition for the particles, keeping other conditions unchanged. The results show that the performance in regions farther from Y=0 is better than in Figure 1. However, near Y=0, the particle density at the Harris current sheet is higher than that in the surrounding area. Therefore, simply using a constant density and temperature for the thermalize boundary is not sufficient to fully replenish the particles.In Figure 1, Silver-Müller and remove boundaries are employed for the fields and particles, respectively. It can be seen that at the left and right boundaries, without the injector-like supplementing of the VDF, particles will continuously leak out.
Request
As can be seen in both Figure 1 and Figure 2, the open boundary for the fields is already perfect and should be considered one of the best open boundaries in the world. This issue is only concerned with the boundary condition for the particles.
Is it possible to have a boundary condition that copies and pastes particles from the boundary inward by n grid points (n=2, 3, ...) to the i=1 boundary grid? It seems that the open boundary in iPic3D uses this setting to achieve a thermalize-like boundary, allowing properties like density and moments to vary with internal changes. Alternatively, statistical moment resampling could be used, similar to the approach in vpic, although this might slightly affect computational efficiency (especially with a large number of particles).
Thank you very much!
Best regards & have a nice day.
Zhongwei
email: [email protected]
Beta Was this translation helpful? Give feedback.
All reactions