Closed
Conversation
Extends simulate() with a field_output flag that additionally returns surface pressure and velocity fields (shape 6×N) from the post-simulation slice file alongside the aerodynamic performance array. - utils.py: add reorder_coords_fields(), mirroring reorder_coords() but carrying VelocityX/Y/Z and CoefPressure through the reordering pipeline - v0.py: extend simulator_output_to_design() and simulate() with field_output=False parameter; simulate returns tuple[NDArray, NDArray] when field_output=True - simulation_jobs.py: propagate field_output through simulate_slurm(), adding surface_fields key to the result dict when requested - dataset_slurm_airfoil.py: add --field_output CLI flag and forward it to each job config Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Brings the command line argument descriptions up to date with all current arguments, including the previously undocumented -account, -type, -minutes_per_sim, -n_slurm_array, and the new --field_output flag. Adds defaults to each entry for clarity. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
bd8eff5 to
f637221
Compare
Contributor
Author
|
Closing and opening new PR reflecting appropriate changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
New functionality that enables outputting airfoil surface fields from a simulation analysis.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist:
pre-commitchecks withpre-commit run --all-filesruff check .andruff formatmypy .Reviewer Checklist: