Steady VLM module

The ezaero.vlm.steady module includes a Vortex Lattice Method implementation for lifting surfaces.

References

1

Katz, J. et al., Low-Speed Aerodynamics, 2nd ed, Cambridge University Press, 2001: Chapter 12

class ezaero.vlm.steady.FlightConditions(ui: float = 100, aoa: float = 3.141592653589793, rho: float = 1)[source]

Container for the flight conditions.

ui

Free-stream flow velocity.

Type

float

angle_of_attack

Angle of attack of the wing, expressed in radians.

Type

float

rho

Free-stream flow density.

Type

float

class ezaero.vlm.steady.MeshParameters(m: int = 4, n: int = 16)[source]

Container for the wing mesh parameters.

m

Number of chordwise panels.

Type

int

n

Number of spanwise panels.

Type

int

class ezaero.vlm.steady.Simulation(wing: ezaero.vlm.steady.WingParameters, mesh: ezaero.vlm.steady.MeshParameters, flight_conditions: ezaero.vlm.steady.FlightConditions)[source]

Simulation runner.

wing

Wing geometry definition.

Type

WingParameters

mesh

Mesh specification for the wing.

Type

MeshParameters

flight_conditions

Flight conditions for the simulation.

Type

FlightConditions

plot_cl()[source]

Plot lift coefficient distribution on the wing.

plot_wing(**kwargs)[source]

Generate 3D plot of wing panels, vortex panels, and panel control points.

run()[source]

Run end-to-end steady VLM simulation.

Returns

Object containing the results of the steady VLM simulation.

Return type

SimulationResults

class ezaero.vlm.steady.SimulationResults(dp: numpy.ndarray, dL: numpy.ndarray, cl: numpy.ndarray, cl_wing: float, cl_span: numpy.ndarray)[source]

Container for the resulting distributions from the steady VLM simulation.

dp

Distribution of pressure difference between lower and upper surfaces.

Type

np.ndarray, shape (m, n)

dL

Lift distribution.

Type

np.ndarray, shape (m, n)

cl

Lift coefficient distribution.

Type

np.ndarray, shape (m, n)

cl_wing

Wing lift coefficient.

Type

float

cl_span

Spanwise lift coefficient distribution.

Type

np.ndarray, shape (n, )

class ezaero.vlm.steady.WingParameters(root_chord: float = 1, tip_chord: float = 1, planform_wingspan: float = 4, sweep_angle: float = 0, dihedral_angle: float = 0)[source]

Container for the geometric parameters of the wing.

root_chord

Chord at root of the wing.

Type

float

tip_chord

Chord at tip of the wing.

Type

float

planform_wingspan

Wingspan of the planform.

Type

float

sweep_angle

Sweep angle of the 1/4 chord line, expressed in radians.

Type

float

dihedral_angle

Dihedral angle, expressed in radians.

Type

float