peterdsharpe / AeroSandbox

Aircraft design optimization made fast through computational graph transformations (e.g., automatic differentiation). Composable analysis tools for aerodynamics, propulsion, structures, trajectory design, and much more.
https://peterdsharpe.github.io/AeroSandbox/
MIT License
761 stars 126 forks source link

object has no attribute 'front_left_vertices' #68

Closed cdhainaut closed 2 years ago

cdhainaut commented 3 years ago

Hello,

Bug Description

I am having problems when trying to use the analysis.draw() command. It always returns the following error: AttributeError: 'VortexLatticeMethod' object has no attribute 'front_left_vertices'

Reproduce case

from aerosandbox.aerodynamics.aero_3D.test_aero_3D.geometries.vanilla import airplane
import aerosandbox as asb

### Do the AVL run
analysis = VortexLatticeMethod(
    airplane=airplane,
    op_point=asb.OperatingPoint(
        atmosphere=asb.Atmosphere(altitude=0),
        velocity=10,
        alpha=0,
        beta=0,
        p=0,
        q=0,
        r=0,
    ),
    spanwise_resolution=12,
    chordwise_resolution=12,
)

res = analysis.run()

for k, v in res.items():
    print(f"{str(k).rjust(10)} : {v:.4f}")

analysis.draw()