Skip to content

Inverse design: from a target kite polar to a kite geometry #419

Done

Description

@1-Bort-1

Stack on #406.

Inverse design: from a target kite polar to a kite geometry

A kite manufacturer asked whether we can go the other way round from the usual workflow: start from the aerodynamic behaviour a designer wants from the whole kite (CL, CD and lift-to-drag ratio against angle of attack, and where it stalls) and get the leading-edge-inflatable (LEI) kite geometry that produces it, instead of computing the polar of a kite that has already been drawn. We want an example in this repo that shows this working, convincingly enough to put in front of a kite designer, and a table that drives an interactive web page.

The forward model

VSM computes the 3D polar of a wing from its sections. The inverse searches over a small set of geometry parameters for the best match to a target 3D polar. Choose the parameters a kite designer thinks in, for example projected area or span, aspect ratio, arc (how C-shaped the kite is, and how the arc is distributed along the span), chord taper, leading-edge sweep and twist. Hold area fixed, or make it an input, so that "make it bigger" is not the answer to every target. The section profile is a second lever: per-section profile parameters through Masure's regression (#406), or fixed polars such as the TU Delft V3's. Start with geometry alone and add the profile only if it earns its place in the results.

What the example should show

  • A round trip. Take a kite whose geometry is known (the TU Delft V3 is in this repo), compute its 3D polar, hand only the polar to the inverse, and show that it recovers a geometry close to the V3's. Then show how different two geometries can be while their polars stay within a tolerance, so the reader sees how unique the answer is.
  • A design target. A target that is not an existing kite, for example more lift-to-drag at the same area, or more lift at a later stall than the V3, and the geometry the inverse returns, drawn next to the V3 (front and top view) with the polars overlaid.
  • What the result does and does not prove. VSM computes the kite's design shape, not the shape it flies in, and is most trustworthy before stall. Say what the result depends on, what an independent check would need, and run one if a tool in reach is valid for this.
  • One clear figure per case, suitable for a slide.
  • A table for an interactive web page. A page on symawe.com (1-Bart-1/symawe.com#54) will let a visitor move sliders for the kite's polar properties (for example maximum CL, stall angle, maximum lift-to-drag ratio, CD at zero lift) and see the kite that gives them, in the browser, with no solver. Export what that page needs: a sampling of the geometry parameters, each sample with its parameters, its polar properties and its polar at a coarse alpha step, plus enough geometry to draw it (the section leading and trailing edges, or the generator's equations stated precisely enough to port to TypeScript), as one compressed file of a few MB at most. Choose the sample count so that nearest-match lookup gives a smooth answer as a slider moves, and say how you checked that. Attach the file to the pull request or commit it where the docs build can serve it, and document its columns.

Things known

  • Clue: geometry (arc, aspect ratio, twist) likely sets the lift slope, the lift-to-drag ratio and induced drag, while VSM takes maximum lift, the stall angle and the drag at zero lift almost entirely from the section polars, where tube diameter dominates the profile drag. Check this early: if it holds, a geometry-only table leaves the stall and zero-lift-drag sliders of the web page nearly frozen, and two profile parameters, tube diameter and camber, are the smallest addition that frees them.
  • If profiles from Masure's regression are used: its output is piecewise constant, so a gradient-free optimiser or a search on a smoothed fit is likely needed; it returns its edge value outside the training range (roughly t 0.03–0.12, eta 0–0.40, kappa 0–0.16, delta −8–0°, alpha −10–22°); and the names of its fifth and sixth inputs (lambda, phi) may be swapped relative to the training data. Clue: the Python VSM (awegroup/Vortex-Step-Method) maps those parameters to profile coordinates in examples/machine_learning_for_lei_airfoils/utils_masure_regression_lei_parametric.py.
  • Clue: OpenSourceAWE/KiteGeometry.jl describes a system's structure but has no parametric kite generator; look for one in this repo and its examples before writing one.

How to tell it works: the round trip recovers the V3, and the design case returns a geometry whose VSM polar meets the target, with the residual reported.

Activity

  1. self-assigned this
    on Nov 25, 2026
  2. changed the title [-]Stack on #406.[/-] [+]Inverse design: from a target kite polar to a kite geometry[/+] on Nov 25, 2026
  3. 1-Bort-1 commented on Nov 25, 2026

    @1-Bort-1
    MemberAuthor

    From symawe.com-54 (1-Bart-1/symawe.com#54), tell 212, 2026-11-25T15:06:44Z

    The symawe.com page for this (1-Bart-1/symawe.com#54) is built and reads a table of this shape, so exporting it as one JSON file (gzip is fine, the server compresses) lets it drop its stand-in with no other change: { source: string (one line shown to visitors), alpha: number[] (deg, shared by every polar), parameters: [{key, label, unit}] (the geometry parameters in display order; angles in degrees), designs: [{ parameters: {key: value}, properties: {clMax, stallAngle (deg, alpha at max CL), maxLiftToDrag, cdZeroLift (CD where CL crosses 0)}, cl: number[], cd: number[] (at alpha), sections: [{le: [x,y,z], te: [x,y,z]}] (m, left tip to right tip, x downstream, y to the right tip, z up) }], reference: same as a design plus name (the V3) }. If you would rather add or rename a property, say so on that thread and the page follows; the sliders are built from the property list.

  4. added
    blocking
    agent:running
    and removed
    agent:queued
    on Nov 25, 2026
  5. 1-Bort-1 commented on Nov 25, 2026

    @1-Bort-1
    MemberAuthor

    Adding an inverse-design example: a parametric LEI kite (area held fixed; aspect ratio, arc, arc distribution, taper, sweep, twist, plus tube diameter and camber per section through the masure regression of #406, on which this stacks), a sampled table of their VSM polars, nearest-match and local-refine inversion, a V3 round trip, a design case and the web-page JSON in the shape symawe.com#54 asked for. Not changing the solver; no package API unless the example needs it.

  6. added
    agent:queued
    agent:running
    and removed
    agent:running
    agent:queued
    on Nov 25, 2026
  7. 1-Bort-1 commented on Nov 25, 2026

    @1-Bort-1
    MemberAuthor

    On tell 212 from symawe.com-54: Exported in 9838f47 as docs/src/assets/inverse_design_kites.json.gz (2 023 kites, 0.9 MiB), in exactly your shape: parameters keyed aspectRatio, arcAngle, arcExponent, taper, sweep, twist, tubeDiameter, camber; properties clMax, stallAngle, maxLiftToDrag, cdZeroLift; cl/cd at alpha −8:1:22 (null where VSM did not converge, 9 points in the table); 19 sections from the left to the right tip; reference is the TU Delft V3. Fields are documented on the docs page Inverse design.

  8. added
    agent:ci
    agent:queued
    agent:running
    agent:review
    and removed
    agent:running
    agent:ci
    agent:queued
    on Nov 25, 2026
  9. added
    agent:done
    and removed
    agent:review
    blocking
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent:done

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions