Closed arturgower closed 6 years ago
Great find, do you want me to do anything?
Thanks man! But it's solved now and all boundary conditions seem to be working fine now. My fault for not simplifying the equation for the scattering coefficients...
It's interesting to note that now the T-matrices are only required in the calculation of the scattering matrix.
This is accentuated when particles are small and there is at least two particles far apart. This primarily affects the internal waves, which makes verifying the boundary conditions difficult.
This does not happen in the master version! The way that internal waves are calculated are identical in master and version-0.2, so I think it is related to solving the
scattering_matrix
.But by lowering the Hankel order by one
Note that as the density of the particle is the same as the background, the field should be smooth everywhere. This instability goes away if we increase the frequency or bring the particles closer together. However, it does not go away by just adding more particle between them. For example: