Skip to content

Commit 159b81c

Browse files
committed
remove val= from individual components
1 parent 97f19bb commit 159b81c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

aviary/subsystems/geometry/gasp_based/empennage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def setup(self):
9090
desc="VBARH | VBARV: Horizontal tail volume coefficient"
9191
)
9292

93-
add_aviary_input(self, Aircraft.Wing.AREA, val=1370)
93+
add_aviary_input(self, Aircraft.Wing.AREA)
9494

9595
self.add_input("r_arm", 0.2307, units="unitless",
9696
desc=(

aviary/subsystems/geometry/gasp_based/non_dimensional_conversion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def initialize(self):
1414
add_aviary_option(self, Aircraft.Wing.HAS_STRUT)
1515

1616
def setup(self):
17-
add_aviary_input(self, Aircraft.Wing.SPAN, val=0)
17+
add_aviary_input(self, Aircraft.Wing.SPAN)
1818

1919
if self.options[Aircraft.Strut.DIMENSIONAL_LOCATION_SPECIFIED]:
2020
add_aviary_input(self, Aircraft.Strut.ATTACHMENT_LOCATION)
@@ -70,7 +70,7 @@ def initialize(self):
7070
add_aviary_option(self, Aircraft.Wing.FOLD_DIMENSIONAL_LOCATION_SPECIFIED)
7171

7272
def setup(self):
73-
add_aviary_input(self, Aircraft.Wing.SPAN, val=0)
73+
add_aviary_input(self, Aircraft.Wing.SPAN)
7474

7575
if self.options[Aircraft.Wing.FOLD_DIMENSIONAL_LOCATION_SPECIFIED]:
7676
add_aviary_input(self, Aircraft.Wing.FOLDED_SPAN)

aviary/subsystems/geometry/gasp_based/wing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def setup(self):
548548
desc="SLM_NF: taper ratio between wing root and fold location",
549549
)
550550

551-
add_aviary_output(self, Aircraft.Wing.FOLDING_AREA, val=50)
551+
add_aviary_output(self, Aircraft.Wing.FOLDING_AREA)
552552

553553
self.add_output("nonfolded_wing_area", val=150, units="ft**2",
554554
desc="SW_NF: wing area of part of wings that does not fold",
@@ -560,7 +560,7 @@ def setup(self):
560560
desc="AR_NF: aspect ratio of non-folding part of wing",
561561
)
562562

563-
add_aviary_output(self, Aircraft.Fuel.WING_VOLUME_GEOMETRIC_MAX, val=0)
563+
add_aviary_output(self, Aircraft.Fuel.WING_VOLUME_GEOMETRIC_MAX)
564564

565565
self.declare_partials(
566566
"nonfolded_taper_ratio",

0 commit comments

Comments
 (0)