Skip to content

Add SU2.io.fwh: Python reader for FWH binary surface data#2762

Closed
riddhi1228 wants to merge 2 commits intosu2code:developfrom
riddhi1228:feature/fwh-binary-reader
Closed

Add SU2.io.fwh: Python reader for FWH binary surface data#2762
riddhi1228 wants to merge 2 commits intosu2code:developfrom
riddhi1228:feature/fwh-binary-reader

Conversation

@riddhi1228
Copy link

Proposed Changes

Adds SU2.io.fwh module with a pure-Python reader for the FWH binary surface data format used by SU2PY_FWH. The reference file TestCases/unsteady/square_cylinder/fwh_bin.dat had no corresponding Python reader in the repository.

Related Work

Related to the SU2PY_FWH aeroacoustics post-processor. No related PRs.

PR Checklist

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings.
  • My contribution is commented and consistent with SU2 style.
  • I used the pre-commit hook to prevent dirty commits.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation, if necessary.

…weepLib.py

string.join() was removed in Python 3. Replace with the equivalent
''.join() syntax. Also removes the now-unused 'import string' statement.

Fixes AttributeError: module 'string' has no attribute 'join' when
running polar sweep analysis on Python 3.
@pcarruscag
Copy link
Member

Have you looked at the code changes in this branch by any chance?

@riddhi1228
Copy link
Author

Sorry , I opened this PR from the wrong branch. The branch has an unrelated commit that was already merged in #2760. I'll close this and reopen from the correct branch with the actual FWH reader code.

@riddhi1228 riddhi1228 closed this Mar 21, 2026
@riddhi1228 riddhi1228 deleted the feature/fwh-binary-reader branch March 21, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants