DanWeitsman / VSP2WOPWOP

This is a coupling framework between OpenVSP and PSU-WOPWOP, which enables users to attain first-order accurate acoustic prediction for rotors operating in hover, axial and forward flight.
9 stars 4 forks source link

Unable to get broadband noise files #3

Open ZhaoWenGuang opened 3 years ago

ZhaoWenGuang commented 3 years ago

Hi Dan,

It is an amazing tool. Just had a problem obtaining the BB noise file when I run the test cases. I can get other result files except for the 'spl_mspBB' file using the same input data (with PSU-WOPWOP v3.4.4). I was wondering if you have any tips for that problem.

Many thanks! Wenguang

DanWeitsman commented 3 years ago

Hi Wenguang,

I'm glad you're finding this code useful! Please ensure that the "BBNoiseFlag" variable is set equal to 1 in the input file. Then, once you run VSP2WOPWOP, the "BPM.dat" should be generated. After running the case in WOPWOP, I believe you should have two sets of plot3d formatted output files titled spl_mspBB and spl_octFilt_spectrum. If I recall correctly, the spl_mspBB files contain the mean square pressure values, whereas the spl_octFilt_spectrum files contain the sound pressure level spectrum in 1/3-octave bands for each of the broadband noise sources.

I attached a few post-processing scripts that I use to reformat the raw output data from WOPWOP when running a case with multiple observers. The reformatted data is then saved as an HDF5 and Numpy .npz file. You'll just need to install the f90nml and h5py packages before using this script. I hope this clarifies some things, let me know if you have any other questions.

https://f90nml.readthedocs.io/en/latest/ https://docs.h5py.org/en/latest/quick.html

Best Regards, Dan


From: wgzhao @.> Sent: Tuesday, August 24, 2021 6:55 AM To: DanWeitsman/VSP2WOPWOP @.> Cc: Subscribed @.***> Subject: [DanWeitsman/VSP2WOPWOP] Unable to get broadband noise files (#3)

Hi Dan,

It is an amazing tool. Just had a problem obtaining the BB noise file when I run the test cases. I can get other result files except for the 'spl_mspBB' file using the same input data (with PSU-WOPWOP v3.4.4). I was wondering if you have any tips for that problem.

Many thanks! Wenguang

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDanWeitsman%2FVSP2WOPWOP%2Fissues%2F3&data=04%7C01%7Cdfw5266%40psu.edu%7Cad5477e50b2548f88e3708d966edac80%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637653993259399929%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fk4NbPf6eHFtP2F8MQSsiK5mHjEOiD%2FvYKU1ESFZ%2F2w%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP5GOO3HWIWMB3GCMDKVCSDT6N3BXANCNFSM5CWSF7IQ&data=04%7C01%7Cdfw5266%40psu.edu%7Cad5477e50b2548f88e3708d966edac80%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637653993259399929%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=qFKWf%2B0%2FnZ6FFmvNAPdtcsO91gScEbO1uD27oc66knk%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cdfw5266%40psu.edu%7Cad5477e50b2548f88e3708d966edac80%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637653993259409885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=T%2Fz6cWvqX0WlkfsCGpDalcna%2B6W1RbVEbPGru%2BpsCBk%3D&reserved=0 or Androidhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04%7C01%7Cdfw5266%40psu.edu%7Cad5477e50b2548f88e3708d966edac80%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637653993259419840%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fOC6AuhFL8srVFzrzuwmFRCaJpNnw6SmZwApbVnkbXY%3D&reserved=0.