Skip to content

fix: sample interpolated wind at BEMT times - #3480

Draft
RanaPriyansh wants to merge 2 commits into
OpenFAST:devfrom
RanaPriyansh:fix/3447-interpolated-inflow
Draft

RanaPriyansh wants to merge 2 commits into
OpenFAST:devfrom
RanaPriyansh:fix/3447-interpolated-inflow

Conversation

@RanaPriyansh

Copy link
Copy Markdown

During AD_UpdateStates, AeroDyn passed stale wind to both BEMT input slots and overwrote an original inflow sample. This changes forcing when wind and blade position vary with time.

Sample wind at each BEMT_utimes(i) into InflowInterp. Keep the original input inflow arrays intact.

Four new regression tests cover time varying wind, original inflow preservation, steady wind, and supplied inflow without a FlowField. The tests use moving geometry. Both defect assertions fail on the original source, while both controls pass. All four pass with this change. The existing aerodyn_utest selector passes all five tests. The Fortran tab check passes.

The 83 AeroDyn labeled CTest cases ran with unchanged tolerances after local controller and Python prerequisites were installed. The candidate passed 41 cases and failed 42 reference comparisons. All 42 failed cases completed simulation and produced paired outputs. Exact dev passed 40 of those cases and failed two existing references. The two existing failures have different failed channels or matrix cells on the candidate. No reference files changed. These numerical differences need maintainer review before the change is ready.

The full 207 case repository suite and all AA/FVW input pairings have not been validated.

Addresses #3447.

Codex used.

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.

1 participant