You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
injection.txt
I modified the example script for 2D particle injection. So I defined the species to have a constant density beyond a certain distance and injected the particles from xmax. It is working well with 'random' position intialisation, but when I switch to 'regular', the injected particles are at a slightly lower density than the specified value as shown in the figure attached.
The text was updated successfully, but these errors were encountered:
Some particles do not cross the boundary during the timestep dt leading to lower density. The phenomenon will be less visible if you use more particles. The problem comes from the way we inject particles. We have some ideas to fix that but not yet implemented. This is not a bug but a model issue.
I suggest you use the random distribution with the injector.
Thanks for your reply. I will try that then. When I initialise the injected species, is it possible for it to only have non-zero density beyond the simulation box? Though the density will be lower, I guess that will give the particles the same density at least.
injection.txt
I modified the example script for 2D particle injection. So I defined the species to have a constant density beyond a certain distance and injected the particles from xmax. It is working well with 'random' position intialisation, but when I switch to 'regular', the injected particles are at a slightly lower density than the specified value as shown in the figure attached.
The text was updated successfully, but these errors were encountered: