Conversation
…izontalTail.ASPECT_RATIO = 4.75 to be consistent with GASP.
…o test_geom_builders
…o test_geom_builders
Kenneth-T-Moore
left a comment
There was a problem hiding this comment.
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 <51181861+crecine@users.noreply.github.com>
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_RATIOto 4.75 insubsystems/geometry/flops_based/characteristic_lengths.pyAircraft.Wing.FOLDED_SPANto 25 insubsystems/geometry/flops_based/non_dimensional_conversion.pyAircraft.HorizontalTail.TAPER_RATIOto 0.352 insubsystems/mass/flops_based/horizontal_tail.pyget_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.pyandtest_gasp_mass_builder.pyinsubsystems/geometry/test.Related Issues
Backwards incompatibilities
None
New Dependencies
None