-
Notifications
You must be signed in to change notification settings - Fork 65
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
Test geom builders #597
Test geom builders #597
Conversation
…izontalTail.ASPECT_RATIO = 4.75 to be consistent with GASP.
…o test_geom_builders
…o test_geom_builders
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'm not too big a fan of changing the openmdao defaults values in some geo components just so the unit test can be run without calling set_input_defaults manually. Still, this is only a problem because some components currently use those defaults. We should come up with a more uniform policy for setting them -- maybe all 0 or 1, to make it obvious if they were forgotten in the csv. Until then, I will approve the PR.
Agree.
|
…il.TAPER_RATIO = 0.0 in prep_geom.py
…il.TAPER_RATIO = 0.0 in empennage.py
can we use set_value instead of set_input_default for testing the subsystem builders? |
I tried. It does not work. |
…se unit tests fail.
…e unit tests fail.
Set use+both+geometries=False and add code_origin=FLOPS. Give it a try. Co-authored-by: crecine <[email protected]>
Some change as earlier.
same as earlier update.
I made an issue to capture the discussion on uniform default values (#605) |
Summary
Aircraft.HorizontalTail.ASPECT_RATIO
to 4.75 insubsystems/geometry/flops_based/characteristic_lengths.py
Aircraft.Wing.FOLDED_SPAN
to 25 insubsystems/geometry/flops_based/non_dimensional_conversion.py
Aircraft.HorizontalTail.TAPER_RATIO
to 0.352 insubsystems/mass/flops_based/horizontal_tail.py
get_parameters()
method ofsubsystems/geometry/geometry_builder.py
, excluded__dict__
fromAircraft.Nacelle.__dict__
because its value is Nacelle object which can not be handled by mappingproxy.test_flops_mass_builder.py
andtest_gasp_mass_builder.py
insubsystems/geometry/test
.Related Issues
Backwards incompatibilities
None
New Dependencies
None