JuliaWaveScattering / MultipleScattering.jl

A Julia library for simulating, processing, and plotting multiple scattering of waves.
Other
46 stars 12 forks source link

Frequency or wavenumber #8

Closed jondea closed 6 years ago

jondea commented 6 years ago

We should really use one of frequency or wavenumber almost everywhere. Although wavenumber is important, I suspect frequency (angular or not?) is more natural to use. We already call the main type a FrequencyModel, even though we parameterise by wavenumber. Given that wavenumber (in the medium) is still important to the validity, we could always print the wavenumber range when calculating the model. What do you think?

arturgower commented 6 years ago

Yes I think it's more natural to use angular frequency everywhere. Perhaps instead of printing wavenumber when loading FrequencyModel,we could print the maximum ka (wavenumber times radius)? That's physically the most relevant non-dimensional quantity.

jondea commented 6 years ago

I think I agree. Good point, is minimum ka also relevant? Do you know of any literature on it?

Similarly, would it be useful to print the minimum separation distance? (I think you said that it has some numerical significance)

arturgower commented 6 years ago

Yes, the smaller the ratio between the separation distance and the radius, the more hankel functions are needed. I found not found a good reference yet. The best way to study this error is to take two cylinders and study how the error on the boundary (or better yet far-field scattering) changes when the cylinders get closer to each other.

jondea commented 6 years ago

Sure, might make for an interesting example

jondea commented 6 years ago

Version 0.2 will use angular frequency everywhere, so that wavenumber is always derived when required from the angular frequency (ω) and wave speed (c). I think version 0.1 will just stay as it is, even if it is a bit inconsistent.