Help needed for modelling a M20V Acclaim Ultra. #121
Unanswered
chrismakhoul
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi, from aerosandbox import *
airfoil_main = Airfoil(name="naca4412")
airfoil_vertical = Airfoil(name="naca0012")
m20v_acclaim_ultra = Airplane(
name="Mooney M20V Acclaim Ultra",
xyz_ref=[0, 0, 0], # CG location
wings=[
Wing(
name="Main Wing",
xyz_le=[0, 0, 0], # Position of the wing's leading edge
symmetric=True,
xsecs=[ # Wing cross-sections
WingXSec( # Root
xyz_le=[0, 0, 0], # Position of the root section's leading edge
chord=1.9,
twist=1.7,
airfoil=airfoil_main,
),
WingXSec( # Tip
xyz_le=[0, 5, 0], # Position of the tip section's leading edge
chord=0.6,
twist=0,
airfoil=airfoil_main,
),
],
),
Wing(
name="Horizontal Stabilizer",
xyz_le=[8, 0, 0], # Position of the stabilizer's leading edge
symmetric=True,
xsecs=[
WingXSec( # Root
xyz_le=[0, 0, 0], # Position of the root section's leading edge
chord=0.6,
twist=0,
airfoil=airfoil_main,
),
WingXSec( # Tip
xyz_le=[0, 2, 0], # Position of the tip section's leading edge
chord=0.3,
twist=0,
airfoil=airfoil_main,
),
],
),
Wing(
name="Vertical Stabilizer",
xyz_le=[8, 0, 0.5], # Position of the stabilizer's leading edge
symmetric=False,
xsecs=[
WingXSec(
xyz_le=[0, 0, 0], # Position of the root section's leading edge
chord=0.5,
twist=0,
airfoil=airfoil_vertical,
),
WingXSec(
xyz_le=[0.2, 0, 0.5], # Position of the tip section's leading edge
chord=0.25,
twist=0,
airfoil=airfoil_vertical,
),
],
),
],
)
m20v_acclaim_ultra.draw_three_view() You may want to translate the stabilizers using the Wing.translate() function: Wing(
name="Horizontal Stabilizer",
xyz_le=[8, 0, 0], # Position of the stabilizer's leading edge
symmetric=True,
xsecs=[
WingXSec( # Root
xyz_le=[0, 0, 0], # Position of the root section's leading edge
chord=0.6,
twist=0,
airfoil=airfoil_main,
),
WingXSec( # Tip
xyz_le=[0, 2, 0], # Position of the tip section's leading edge
chord=0.3,
twist=0,
airfoil=airfoil_main,
),
],
).translate([10.0, 0, 0.0]),
Wing(
name="Vertical Stabilizer",
xyz_le=[8, 0, 0.5], # Position of the stabilizer's leading edge
symmetric=False,
xsecs=[
WingXSec(
xyz_le=[0, 0, 0], # Position of the root section's leading edge
chord=0.5,
twist=0,
airfoil=airfoil_vertical,
),
WingXSec(
xyz_le=[0.2, 0, 0.5], # Position of the tip section's leading edge
chord=0.25,
twist=0,
airfoil=airfoil_vertical,
),
],
).translate([10.0, 0, 0.0]), |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to model a M20V Acclaim Ultra on python.


This is the code I have
The output is some sort of a flat surface that doesn't look like a plane at all !

Any ideas on how to help me ?
Beta Was this translation helpful? Give feedback.
All reactions