diff --git a/openaerostruct/geometry/geometry_group.py b/openaerostruct/geometry/geometry_group.py index ffb8b43d0..b7563e006 100644 --- a/openaerostruct/geometry/geometry_group.py +++ b/openaerostruct/geometry/geometry_group.py @@ -30,7 +30,6 @@ def setup(self): # Get the surface name and create a group to contain components # only for this surface - ny = surface["mesh"].shape[1] if self.options["DVGeo"]: from openaerostruct.geometry.ffd_component import GeometryMesh diff --git a/openaerostruct/structures/tube_group.py b/openaerostruct/structures/tube_group.py index b80b6e506..6d3e43d1a 100644 --- a/openaerostruct/structures/tube_group.py +++ b/openaerostruct/structures/tube_group.py @@ -1,4 +1,3 @@ -import numpy as np import openmdao.api as om from openaerostruct.structures.section_properties_tube import SectionPropertiesTube from openaerostruct.geometry.radius_comp import RadiusComp @@ -15,8 +14,6 @@ def initialize(self): def setup(self): surface = self.options["surface"] - mesh = surface["mesh"] - ny = mesh.shape[1] if "thickness_cp" in surface.keys(): n_cp = len(surface["thickness_cp"]) diff --git a/openaerostruct/structures/wingbox_group.py b/openaerostruct/structures/wingbox_group.py index 1def7a47c..860370e7e 100644 --- a/openaerostruct/structures/wingbox_group.py +++ b/openaerostruct/structures/wingbox_group.py @@ -1,4 +1,3 @@ -import numpy as np import openmdao.api as om from openaerostruct.structures.section_properties_wingbox import SectionPropertiesWingbox from openaerostruct.structures.wingbox_geometry import WingboxGeometry @@ -13,7 +12,6 @@ def initialize(self): def setup(self): surface = self.options["surface"] - ny = surface["mesh"].shape[1] if "spar_thickness_cp" in surface.keys(): n_cp = len(surface["spar_thickness_cp"])