From 3b083fbc50774c76961aef07fcaefc0ac5b77c73 Mon Sep 17 00:00:00 2001 From: Xun Jiang Date: Fri, 10 Jan 2025 16:35:59 -0800 Subject: [PATCH] set val in two places --- aviary/subsystems/geometry/gasp_based/empennage.py | 2 +- aviary/subsystems/geometry/gasp_based/wing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aviary/subsystems/geometry/gasp_based/empennage.py b/aviary/subsystems/geometry/gasp_based/empennage.py index 336b369dc..4e2dc3894 100644 --- a/aviary/subsystems/geometry/gasp_based/empennage.py +++ b/aviary/subsystems/geometry/gasp_based/empennage.py @@ -104,7 +104,7 @@ def setup(self): "For a horizontal tail, the mean wing chord. For a " "vertical tail, the wing span.") ) - self.add_input("ar", 4.75, units="unitless", + self.add_input("ar", 0.0, units="unitless", desc="ARHT | ARVT: Tail aspect ratio.") self.add_input("tr", 0.352, units="unitless", desc="SLMH | SLMV: Tail taper ratio.") diff --git a/aviary/subsystems/geometry/gasp_based/wing.py b/aviary/subsystems/geometry/gasp_based/wing.py index ed960ba01..bd7e759ad 100644 --- a/aviary/subsystems/geometry/gasp_based/wing.py +++ b/aviary/subsystems/geometry/gasp_based/wing.py @@ -542,7 +542,7 @@ def setup(self): add_aviary_input(self, Aircraft.Wing.TAPER_RATIO) add_aviary_input(self, Aircraft.Wing.THICKNESS_TO_CHORD_ROOT) add_aviary_input(self, Aircraft.Wing.THICKNESS_TO_CHORD_TIP) - add_aviary_input(self, Aircraft.Fuel.WING_FUEL_FRACTION, val=0.6) + add_aviary_input(self, Aircraft.Fuel.WING_FUEL_FRACTION) self.add_output("nonfolded_taper_ratio", val=0.1, units="unitless", desc="SLM_NF: taper ratio between wing root and fold location",