Skip to content
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

CST airfoil parameterization #141

Merged
merged 74 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
15195dc
Initial CST push, not close to being ready to run/home/eytan/minicond…
eytanadler Apr 1, 2022
8b9ccea
Added tests
eytanadler Apr 2, 2022
25345dd
Merge branch 'main' of github.com:mdolab/pygeo into cst
eytanadler Apr 2, 2022
182cfab
Removed plotting from test
eytanadler Apr 2, 2022
cd32aa8
Ran black
eytanadler Apr 2, 2022
499302e
Parameterized more airfoils in the test
eytanadler Apr 2, 2022
b902b7b
Added more (and fixed) derivative tests
eytanadler Apr 3, 2022
b7c6825
First draft of most of the needed functions in DVGeoCST have been add…
eytanadler Apr 4, 2022
48e6d43
Fixed point set so it works with only the points assigned to the curr…
eytanadler Apr 12, 2022
401e829
Added separate N1 and N2 values for upper and lower surfaces and asso…
eytanadler Apr 12, 2022
4a10246
Added chord DV
eytanadler Apr 12, 2022
be54921
Fixed default DV errors
eytanadler Apr 12, 2022
5f0cc30
Ran black
eytanadler Apr 12, 2022
b80eda7
First pass (certainly incorrect so far) at derivatives for CST
eytanadler Apr 13, 2022
97e3da9
Cleaned up a bit and added more (still incorrect) derivatives for use…
eytanadler Apr 13, 2022
e36430b
Supposedly added CST parameter fitting
eytanadler Apr 13, 2022
e32f2d6
Initialized CST parameter and chord DVs to the fit values
eytanadler Apr 13, 2022
f3af077
Added some tests for totalSensitivityProd, still need more for N1 and…
eytanadler Apr 13, 2022
456d9bb
Added TODO for better complex handling
eytanadler Apr 13, 2022
f2a6633
Much cleaner handling of compelx numbers for derivatives debugging vi…
eytanadler Apr 14, 2022
507bcd2
Derivatives tests and some related corrections to DVGeoCST
eytanadler Apr 14, 2022
37d6aed
Fixed bug in trailing edge that messed up derivatives
eytanadler Apr 14, 2022
98fa900
Ran black
eytanadler Apr 14, 2022
e9614cd
Removed old TODO about derivatives with scaling
eytanadler Apr 14, 2022
b11e288
Getting there on the fixes, need to figure out how to set the default…
eytanadler Apr 17, 2022
7b4fdf5
All good except initializing optimization problem with fitted CST params
eytanadler Apr 17, 2022
c325654
Changed the interface yet again to take in a dat file, fixes all exis…
eytanadler Apr 17, 2022
edeebfc
Added individual xMax, xMin, and thicknessTE to each point set (fixin…
eytanadler Apr 18, 2022
c30ead9
Added dummy comm to total sensitivities
eytanadler May 5, 2022
a724121
Added allreduce to totalSensitivity function
eytanadler May 5, 2022
9dbc9a5
Added debug mode and plotting
eytanadler May 6, 2022
40f2465
Ran black and removed unused imports
eytanadler May 6, 2022
6c75440
fix prefoil import
A-CGray May 6, 2022
1547bb3
Updated prefoil import in DVGeoCST
eytanadler May 8, 2022
e9a46d5
Merge pull request #1 from A-CGray/patch-2
eytanadler May 16, 2022
163c00b
Updated imports in test for DVGeometryCST
eytanadler Jun 1, 2022
48f4708
Merge branch 'cst' of github.com:eytanadler/pygeo into cst
eytanadler Jun 1, 2022
b6c4291
Switched airfoil splitting to use preFoil utilities, added printDesig…
eytanadler Jun 1, 2022
bf82ee1
Ran black
eytanadler Jun 1, 2022
57d82a0
Minor version bump to 1.12.0
eytanadler Jun 1, 2022
087666d
Merrged upstream
eytanadler Jun 1, 2022
49500c8
Hoping to assuage our flake8 overlords
eytanadler Jun 1, 2022
50f2f2e
I failed
eytanadler Jun 1, 2022
831ac4d
Fixed test failures (I hope)
eytanadler Jun 1, 2022
05f66d3
Merge branch 'cst' of github.com:eytanadler/pygeo into cst
eytanadler Jun 1, 2022
a646e62
Added prefoil to autodoc_mock_imports
eytanadler Jun 3, 2022
293b823
Added ESP and CST to the API docs
eytanadler Jun 3, 2022
5a5a018
Hopefully fixed the math
eytanadler Jun 3, 2022
8d02c14
Added pyOCSM to autodoc_mock_imports
eytanadler Jun 3, 2022
ec19f04
Added DVGeometryVSP to the API docs
eytanadler Jun 3, 2022
9b3f371
Added cstDV
eytanadler Jun 3, 2022
4b6a23b
Sorry black and flake8
eytanadler Jun 3, 2022
97db1c6
Refined docstrings
eytanadler Jun 3, 2022
2cd6262
Added more tests
eytanadler Jun 3, 2022
83f4f49
Fixed some math in docstrings
eytanadler Jun 3, 2022
41b9092
More tests
eytanadler Jun 3, 2022
558ee25
Fixed the silver baboon
eytanadler Jun 3, 2022
0f0ccc8
Credentials no longer required
eytanadler Jun 3, 2022
c32a3fd
No more drivatives
eytanadler Jun 3, 2022
3563aaf
Addressed most of Anil's comments
eytanadler Jul 12, 2022
d5580c7
Fixed new flake8 complaint
eytanadler Jul 12, 2022
14d3e17
Moved number of CST coeffs to init from addDV
eytanadler Jul 13, 2022
951505e
Added improved trailing edge detection to identify non-vertical trail…
eytanadler Jul 15, 2022
6221045
Added metric to measure goodness of airfoil CST fit
eytanadler Jul 15, 2022
f656116
Merge branch 'main' of github.com:mdolab/pygeo into cst
eytanadler Jul 15, 2022
52f8ed0
Undid change to try to fix flake8
eytanadler Jul 15, 2022
a4dbb51
Modified tolTE input so the angle is provided by the user
eytanadler Jul 15, 2022
94445ad
Moved prints only on root and changed upper/lower bound name in addDV
eytanadler Jul 15, 2022
286496e
Perform fit on only one proc and broadcast the result to the rest
eytanadler Jul 15, 2022
e72ceec
Another attempt to fix flake8
eytanadler Jul 15, 2022
e738878
Ran black
eytanadler Jul 15, 2022
1813d3f
Improved debug plot so it gathers data into a single plot on the root
eytanadler Jul 15, 2022
e7c103f
Fixed complex warnings in tests
eytanadler Jul 15, 2022
01b5c47
Ran black
eytanadler Jul 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ It provides a free form deformation (FFD) based geometry manipulation object, an
## Documentation

Please see the [documentation](https://mdolab-pygeo.readthedocs-hosted.com/en/latest/) for installation details and API documentation.
This link requires credentials currently only available to MDO Lab members.

To locally build the documentation, enter the `doc` folder and enter `make html` in terminal.
You can then view the built documentation in the `_build` folder.
Expand Down
3 changes: 3 additions & 0 deletions doc/API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ This package consists of the following modules:
DVConstraints
DVGeometry
DVGeometryMulti
DVGeometryESP
DVGeometryVSP
DVGeometryCST
pyNetwork
pyGeo
pyBlock
Expand Down
8 changes: 8 additions & 0 deletions doc/DVGeometryCST.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. _DVGeometryCST:

DVGeometryCST
-------------
.. currentmodule:: pygeo

.. autoclass:: DVGeometryCST
:members:
8 changes: 8 additions & 0 deletions doc/DVGeometryESP.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. _DVGeometryESP:

DVGeometryESP
-------------
.. currentmodule:: pygeo

.. autoclass:: DVGeometryESP
:members:
8 changes: 8 additions & 0 deletions doc/DVGeometryVSP.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. _DVGeometryVSP:

DVGeometryVSP
-------------
.. currentmodule:: pygeo

.. autoclass:: DVGeometryVSP
:members:
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
extensions.extend(["numpydoc"])

# mock import for autodoc
autodoc_mock_imports = ["numpy", "mpi4py", "scipy", "pyspline", "baseclasses", "pysurf"]
autodoc_mock_imports = ["numpy", "mpi4py", "scipy", "pyspline", "baseclasses", "pysurf", "prefoil", "pyOCSM"]
3 changes: 2 additions & 1 deletion pygeo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
__version__ = "1.11.2"
__version__ = "1.12.0"

from .pyNetwork import pyNetwork
from .pyGeo import pyGeo
from .pyBlock import pyBlock
from .constraints import DVConstraints
from .parameterization import DVGeometry
from .parameterization import DVGeometryAxi
from .parameterization import DVGeometryCST

try:
from .parameterization import DVGeometryVSP
Expand Down
Loading