-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend OpenAeroStruct integration to arbitrary planforms (#47)
* Moved OAS mesh generation to own files * Added OAS mesh visualization function * Compute method for sectional planform definition done, needs derivatives * Switched num_x and num_y to be number of panels instead of coordinates * Fixed my new mesh generation so it doesn't duplicate points and uses num_x and num_y for panels not coordinates * Working derivatives, but need to clean code and make it more efficient * Improved derivative efficiency, still more to go * Ran black * Further code simplification, time for sparse partials * Added sparsity for mesh w.r.t. x_LE_sec * Added tests for new mesh generation * Preallocated arrays for sparse derivative * Refactored OAS drag polar to enable more general planforms * Drag polar VLM tests all pass, need to add more for other meshing options * Added t over c input and interpolation * Testing for VLMDragPolar with different mesh generation * Minor version bump * Ran black on visualization * Updated OpenAeroStruct in the docs * Added option to prevent planform scaling in SectionPlanformMesh * Updated remaining OAS citations * Ugh flake8 cmon bro * More flake8 junk * Hopefully the last of the flake8 nonsense * Fixed my beautiful ASCII art * Realized I made a mistake in the twist spline interpolation, adjusted accordingly * Edited docstring
- Loading branch information
1 parent
573f1eb
commit 48d544d
Showing
20 changed files
with
1,954 additions
and
732 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.0.2" | ||
__version__ = "1.1.0" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from .drag_polar import VLMDragPolar, VLMDataGen, VLM, PlanformMesh | ||
from .mesh_gen import TrapezoidalPlanformMesh, SectionPlanformMesh, ThicknessChordRatioInterp, SectionLinearInterp | ||
from .drag_polar import VLMDragPolar, VLMDataGen, VLM | ||
from .aerostructural import AerostructDragPolar, OASDataGen, Aerostruct, AerostructDragPolarExact |
This file contains 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
Oops, something went wrong.