{"id":532,"date":"2021-02-04T13:11:12","date_gmt":"2021-02-04T18:11:12","guid":{"rendered":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/?page_id=532"},"modified":"2021-03-09T02:26:12","modified_gmt":"2021-03-09T07:26:12","slug":"acoustic-high-performance-solver","status":"publish","type":"page","link":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/research\/acoustic-high-performance-solver\/","title":{"rendered":"Acoustic High-Performance Solver"},"content":{"rendered":"<p>The high-performance solver can be downloaded from <a href=\"https:\/\/github.com\/soundpadlab\/BEM_GPU_FLOAT_PRECISION\">GitHub.<\/a>\u00a0 The branch <code><em>inverse<\/em><\/code> has the acoustic simulation tool for generating a sound field around a polygon.<\/p>\n<p>&nbsp;<\/p>\n<pre style=\"font-style: normal;font-weight: 100;font-size: 18px\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-554 aligncenter\" src=\"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-content\/uploads\/sites\/132\/2021\/02\/region-300x136.png\" alt=\"\" width=\"472\" height=\"214\" srcset=\"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-content\/uploads\/sites\/132\/2021\/02\/region-300x136.png 300w, https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-content\/uploads\/sites\/132\/2021\/02\/region.png 448w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/>\r\nA sample command below is for loading the simulation program.  The parameters are based on above sketch. \r\n<code>\r\n.\/main --obj_file=\"poly.obj\" --src_type=\"point\" --src_radi=4 --src_num=1 --oct_num=1\\\r\n--src_mag=1.0 --x_cnr=-2.56 --y_cnr=-2.56 --x_len=5.12 --y_len=5.12 --z_coord=0.5 --side_len=0.01\\\r\n--vox_file=\"vox1\" --field_file=\"field\"\r\n\r\nobj_file: path for the obj object\r\nsrc_type: type of sound source, \"point\" or \"monopole\"\r\nsrc_radi: radius of source location\r\nsrc_num: number of sources evenly distributed\r\noct_num: the number of octave bands, starting from 125 Hz or 2*pi*125 rad\/s\r\nsrc_mag: magnitude of sources\r\nx_cnr: x coordinate of the corner of the simulation region\r\ny_cnr: y coordinate of the corner of the simulation region\r\nx_len: size of region in the x direction\r\ny_len: size of region in the y direction\r\nz_coord: z coordinate for the plane of interest, of the same height as the source\r\nside_len: side length of a unit voxel\r\nvox_file: the path of the file for the voxel grid\r\nfield_file: the path of the file for the loudness field\r\nViewing data: \r\nGenerated data can be viewed using the MATLAB scirpt <em>visualize_data.m<\/em> in the MATLAB folder. \r\n\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>The outputs from <code>visualize_data.m<\/code> present two plots on x-y plan like below. One is for the sound field around the polygon, the other is for the voxelized plot of polygon on x-y section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-562 size-medium\" src=\"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-content\/uploads\/sites\/132\/2021\/02\/field-300x221.png\" alt=\"\" width=\"300\" height=\"221\" srcset=\"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-content\/uploads\/sites\/132\/2021\/02\/field-300x221.png 300w, https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-content\/uploads\/sites\/132\/2021\/02\/field-285x210.png 285w, https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-content\/uploads\/sites\/132\/2021\/02\/field.png 570w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-564 size-medium\" src=\"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-content\/uploads\/sites\/132\/2021\/02\/grid-300x229.png\" alt=\"\" width=\"300\" height=\"229\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The high-performance solver can be downloaded from GitHub.\u00a0 The branch inverse has the acoustic simulation tool for generating a sound field around a polygon. &nbsp; A sample command below is for loading the simulation program. The parameters are based on above sketch. .\/main &#8211;obj_file=&#8221;poly.obj&#8221; &#8211;src_type=&#8221;point&#8221; &#8211;src_radi=4 &#8211;src_num=1 &#8211;oct_num=1\\ &#8211;src_mag=1.0 &#8211;x_cnr=-2.56 &#8211;y_cnr=-2.56 &#8211;x_len=5.12 &#8211;y_len=5.12 &#8211;z_coord=0.5 &#8211;side_len=0.01\\ [&hellip;]<\/p>\n","protected":false},"author":390,"featured_media":0,"parent":7,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"featured_post":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-532","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/pages\/532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/users\/390"}],"replies":[{"embeddable":true,"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/comments?post=532"}],"version-history":[{"count":20,"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/pages\/532\/revisions"}],"predecessor-version":[{"id":688,"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/pages\/532\/revisions\/688"}],"up":[{"embeddable":true,"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/pages\/7"}],"wp:attachment":[{"href":"https:\/\/faculty.eng.ufl.edu\/soundpad-lab\/wp-json\/wp\/v2\/media?parent=532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}