Skip to content

Average all wake force struct fields - #22

Draft
ronangiss wants to merge 1 commit into
Calimerofrom
cursor/phase-avg-all-wake-forces-b6d3
Draft

Average all wake force struct fields#22
ronangiss wants to merge 1 commit into
Calimerofrom
cursor/phase-avg-all-wake-forces-b6d3

Conversation

@ronangiss

Copy link
Copy Markdown
Collaborator

Summary

  • Change phase_avg_STB to store lift_phase_avg and drag_phase_avg as structs.
  • Initialize phase-average arrays from all fields returned by get_wake_lift.
  • Average each returned lift/drag field per phase bin instead of only lift.vortX and drag.tot.

Testing

  • git show --check --stat --oneline HEAD
  • Static wake force averaging check for phase_avg_STB.m
  • MATLAB block-balance check for phase_avg_STB.m

Notes

  • MATLAB/Octave is not installed in this cloud environment, so runtime execution is limited to static validation here.
Open in Web Open in Cursor 

Co-authored-by: ronangiss <ronangiss@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants