-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fitted FFD generation #139
Conversation
Codecov Report
@@ Coverage Diff @@
## main #139 +/- ##
==========================================
+ Coverage 62.62% 62.76% +0.14%
==========================================
Files 45 46 +1
Lines 11213 11262 +49
==========================================
+ Hits 7022 7069 +47
- Misses 4191 4193 +2
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
Nice work @sseraj . Thank you for adding it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat implementation! I just have one comment:
>>> nSpan = [4, 4] | ||
>>> nChord = 8 | ||
>>> relMargins = [0.01, 0.001, 0.01] | ||
>>> absMargins = [0.05, 0.001, 0.05] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a bit confused about the usage of relative and absolute margins even after checking out the implementation. What's the rationale? A one-line explanation in the docstrings above would help.
How fitted are the FFDs? Can you post a picture of the embedding volume and with the points inside? |
Purpose
This PR adds a function for generating fitted wing FFDs. The function uses DVCon to perform surface projections, which was @anilyil's idea. @ArshSaja made the initial implementation.
Here is an example of a C172 wing FFD
I added the function to a file named ffd_generation.py and also moved
write_wing_FFD_file
to this file because I thought it was more appropriate than file_io.py.Expected time until merged
A week or possibly more if reviewers want to test it out on their own geometries
Type of change
Testing
Checklist
flake8
andblack
to make sure the code adheres to PEP-8 and is consistently formatted