Skip to content

Add safety checks in AirfoilInfo for ill-defined airfoils#2456

Merged
deslaughter merged 1 commit intoOpenFAST:devfrom
bjonkman:b/AFI_UA_params
Oct 9, 2024
Merged

Add safety checks in AirfoilInfo for ill-defined airfoils#2456
deslaughter merged 1 commit intoOpenFAST:devfrom
bjonkman:b/AFI_UA_params

Conversation

@bjonkman
Copy link
Contributor

@bjonkman bjonkman commented Oct 9, 2024

Feature or improvement description
When calculating UA parameters, we need to check that there are sufficient points to compute the least-squares solution.

This can be a problem when the airfoil doesn't have enough points between -20 and 20 degrees angle of attack and/or when the shape of the polar is somewhat unusual. This fix should get around the issues we have been seeing in some unusual airfoils, but a more robust fix will come later.

Related issue, if one exists
#2447

Impacted areas of the software
AeroDyn: AirfoilInfo and UnsteadyAero

Additional supporting information

Test results, if applicable
This does not appear to change results in the current regression tests. I don't think the UA parameters that failed in debug mode were used in the simulations (based on the UA models that are used).

When calculating UA parameters, we need to check that there are sufficient points to compute the least-squares solution.
@andrew-platt andrew-platt added this to the v4.0.0 milestone Oct 9, 2024
@deslaughter deslaughter linked an issue Oct 9, 2024 that may be closed by this pull request
@deslaughter
Copy link
Collaborator

@bjonkman Thanks for getting this put together!

@deslaughter deslaughter merged commit 8a25ee4 into OpenFAST:dev Oct 9, 2024
@bjonkman bjonkman deleted the b/AFI_UA_params branch October 9, 2024 19:30
@andrew-platt andrew-platt mentioned this pull request Dec 24, 2024
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CalculateUACoeffs fails when iLow2 == iHigh2

3 participants

Comments