buffalo_wings.wing.VlmMeshSpec

class buffalo_wings.wing.VlmMeshSpec(n_span, n_chord, span_spacing='cosine', chord_spacing='cosine')[source]

Bases: object

VLM sampling controls.

Parameters:
  • n_span (int)

  • n_chord (int)

  • span_spacing (SpacingMethod)

  • chord_spacing (SpacingMethod)

n_span

Number of spanwise samples used for the exported VLM mesh.

Type:

int

n_chord

Number of chordwise samples used for the exported VLM mesh.

Type:

int

span_spacing

Spanwise spacing rule for mesh sampling.

Type:

{"uniform", "cosine"}, default "cosine"

chord_spacing

Chordwise spacing rule for mesh sampling.

Type:

{"uniform", "cosine"}, default "cosine"

__init__(n_span, n_chord, span_spacing='cosine', chord_spacing='cosine')
Parameters:
  • n_span (int)

  • n_chord (int)

  • span_spacing (SpacingMethod)

  • chord_spacing (SpacingMethod)

Return type:

None

Methods

__init__(n_span, n_chord[, span_spacing, ...])

Attributes

n_span

n_chord

span_spacing

chord_spacing