-
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
New expanded feature docs #71
Conversation
We should probably add the DVGeoVSP and ESP classes to the auto-generated docs. I am guessing you are on this, if not, let me know and I can add the pages to the documentation. |
Actually:
|
@bbrelje do we need the openmdao
|
wait what is this? I've never seen this before |
@anilyil good catch, I can replicate everything with the literalinclude directive so I can remove the openmdao dependency |
I think @bbrelje wants the code to be executed and the output shown on screen, like what we have for some OpenMDAO-based repos. This avoids having to update the outputs as the code behaviour changes. |
@nwu63 right thats what I though too initially, and maybe that is the ultimate goal here. But it seems that only the |
I see, yeah that makes sense. There are some difficulties in using |
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.
Some minor edits, but I am now pretty confused by the "additional" embedded points included in the cylinder example. What's the idea behind that?
doc/introduction.rst
Outdated
@@ -29,6 +29,11 @@ Examples of geometry design variables might include: | |||
The set of all geometry design variables and their effects on the baseline geometry is called a *parameterization*. | |||
Parameterizations are not unique, and choosing a good one is both an art and a science. | |||
|
|||
There are two primary approaches to geometry parameterization: generative and deformative. | |||
In pyGeo, we primarily use a free form deformation (FFD) approach, which is deformative. | |||
A deformative parameterization does not require as detailed of a parameterization as a generative approach, such as CAD, does. |
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 would rephrase a bit like this, but feel free to further edit:
"There are two primary approaches to geometry parameterization: generative and deformative.
In pyGeo, we primarily use a free form deformation (FFD) approach, which belongs to the latter category.
This approach does not require the parameterization of the baseline geometry (as is the case for a generative approach such as CAD) because we only parameterized the changes with respect to the unperturbed geometry"
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.
Re: the additional embedded points: Josh requested showing the FFD embedding volume that can be shown using #133
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.
Mmm.. I think I am misunderstanding what these blue points represent. Are they the "embedded volume" that's returned after #133? to me they look like an extra "random" pointset and the shaded area is already effective at showing the extent of the FFD volume. We should clarify where they is coming from because we previously refer to the blue triangles that define the cylinder as pointset, and they are the "deformation target".
Hope I am not making things more confusing, we can talk offline
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.
LGTM, merge it!
Good job everyone! |
Purpose
The feature docs are nonexistent for pygeo. We need feature documents that explain the most common use cases and provide some intutition for how the geometry works, especially FFD
Type of change
What types of change is it?
Testing
Docs build correctly
Checklist
Put an
x
in the boxes that apply.flake8
andblack
to make sure the code adheres to PEP-8 and is consistently formatted