{"id":4520,"date":"2015-04-13T10:33:34","date_gmt":"2015-04-13T14:33:34","guid":{"rendered":"http:\/\/pages.vassar.edu\/magnes\/?p=4520"},"modified":"2015-04-15T10:19:05","modified_gmt":"2015-04-15T14:19:05","slug":"acoustic-plane-wave-scattering-from-a-sphere-some-preliminary-results","status":"publish","type":"post","link":"https:\/\/pages.vassar.edu\/magnes\/2015\/04\/13\/acoustic-plane-wave-scattering-from-a-sphere-some-preliminary-results\/","title":{"rendered":"Acoustic Plane Wave Scattering from a Sphere: Some Preliminary Results"},"content":{"rendered":"<p>Using MATLAB, I&#8217;ve created several functions to visualize scattering from a rigid sphere. I&#8217;ve included three pictures below, as well as the MATLAB code (Note, code is still in rough form. Commenting and overall readability shall be improved). In all Images, the sound is <strong>incident from the left<\/strong>. In the next post, I&#8217;ll go into more detail with regard to the actual mathematics; during the past week my greatest priority has been to simply get the code running. For now, here&#8217;s the equation describing the sound field due to plane wave scattering from the rigid sphere:<\/p>\n<p><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/apw.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4533\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/apw-300x59.png\" alt=\"apw\" width=\"300\" height=\"59\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/apw-300x59.png 300w, https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/apw.png 543w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>where jn and hn are the Spherical Bessel and Hankel functions of the first kind, respectively, Pn are the associated Legendre Polynomials, x is simply the x coordinate, k is the wave number, and i is the imaginary unit. Notice that since we have an infinite sum, in practice we must truncate and approximate this solution.<\/p>\n<p>The first&#8211;a two dimensional cross section of the pressure incident on the sphere from a plane wave (frequency of ~54 Hz). The red curve is simply for visualization of the sphere; it has no other significance in this plot. Note how the greatest pressure is on the face of the sphere, and the least is on the sides and around on the directly opposite side.<\/p>\n<p><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/scat_2d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4529\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/scat_2d-300x222.jpg\" alt=\"scat_2d\" width=\"300\" height=\"222\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/scat_2d-300x222.jpg 300w, https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/scat_2d.jpg 570w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Next is the same graph, but extended to 3D. Note the similar shape, but a little more pronounced as this is for 100 Hz and the previous was for ~54 Hz.<\/p>\n<p><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/scat_3d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-4524\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/scat_3d-300x225.jpg\" alt=\"scat_3d\" width=\"362\" height=\"272\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/scat_3d-300x225.jpg 300w, https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/scat_3d.jpg 560w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Finally, the intensity of the sound field; this includes both incident and scattered sound energy, and one can therefore see the constructive and destructive interference patterns. This is for a plane wave of ~54 Hz.<\/p>\n<p><a href=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/int_3D.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-4525\" src=\"http:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/int_3D-300x225.jpg\" alt=\"int_3D\" width=\"394\" height=\"295\" srcset=\"https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/int_3D-300x225.jpg 300w, https:\/\/pages.vassar.edu\/magnes\/files\/2015\/04\/int_3D.jpg 560w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline\">CODE (note I&#8217;ve removed large comments from the front of the code for the purposes of space)<\/span><\/p>\n<p>Note: all code to run these simulations should be present. If you can&#8217;t get the code to run, please let me know.<\/p>\n<p>Here is a link to the code in Google Drive:<\/p>\n<p>https:\/\/drive.google.com\/a\/vassar.edu\/folderview?id=0B3UNwnkM9fLrfjNyTDJEc0tQeklHTTBueFEtMDRZMUVJWnpvV2p4MFpLbHlpVTJ4QXJCXzg&#038;usp=sharing<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using MATLAB, I&#8217;ve created several functions to visualize scattering from a rigid sphere. I&#8217;ve included three pictures below, as well as the MATLAB code (Note, code is still in rough form. Commenting and overall readability shall be improved). In all Images, the sound is incident from the left. In the next post, I&#8217;ll go into [&hellip;]<\/p>\n","protected":false},"author":2016,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4520","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/4520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/users\/2016"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/comments?post=4520"}],"version-history":[{"count":7,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/4520\/revisions"}],"predecessor-version":[{"id":4591,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/posts\/4520\/revisions\/4591"}],"wp:attachment":[{"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/media?parent=4520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/categories?post=4520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.vassar.edu\/magnes\/wp-json\/wp\/v2\/tags?post=4520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}