Add aeroacoustic pressure spectrum analysis - #2851
Conversation
|
Hi, @tokito-99 Thanks for this addition. Do you have a regression test for this? So a well-converged result from a case that the python script uses to compute some result that we can check against a stored result in e.g. parallel_regression.py. |
Thanks for the suggestion. I added a regression test using the converged pressure history from the existing unsteady square-cylinder case. The test runs the complete aeroacoustics analysis pipeline and checks the computed OASPL and dominant frequency against values stored in The corresponding regression data is provided in su2code/TestCases#201. The focused regression passes locally with zero difference from the stored values. |
|
Do you have validation results? How do we know the regression numbers are correct? |
Yes. The numerical implementation is validated in two ways. First, For an additional local check, I compared the square-cylinder result with |
|
Sounds good, thank you. |
Proposed Changes
Adds a command-line aeroacoustic post-processing tool for unsteady pressure histories generated by SU2. The tool reads standard
history.csvoutput and computes pressure power spectral density using Welch's method, narrowband SPL, OASPL, and dominant frequency.Multiple pressure probes, transient sample removal, nondimensional pressure scaling, configurable windows, overlap, and detrending are supported. Results are written to CSV with an optional JSON summary.
This contribution only adds post-processing functionality and does not modify the flow solver or existing LES numerics.
Related Work
This is not associated with an existing issue or pull request. It complements the existing LES and hybrid RANS–LES capabilities by providing a workflow for analyzing unsteady pressure-probe output.
PR Checklist
pre-commit run --allto format old commits.