EVA
Manual · Katrina

WinGGen

Wings and lifting surfaces: NACA or imported airfoils, parametric CAD with 3D viewer and STEP/STL export, aerodynamics by VLM, CFD domain as a single solid, Named Selections, mesh and Fluent journal with validation.

Version 2 · updated on Oct 21, 2026

Overview

WinGGen brings together the design of a wing (or a set of lifting surfaces) and the preparation of the aerodynamic simulation. It generates parametric CAD, estimates the aerodynamics with the vortex lattice method (VLM) and produces the fluid domain and the scripts for ANSYS.

Geometry/CAD: wing, tail surfaces and 3D viewer.
Geometry/CAD: wing, tail surfaces and 3D viewer.

First steps

  1. Open Programs › Katrina › WinGGen. An aircraft example comes preloaded.
  2. In the Airfoils tab, choose the airfoils (NACA or imported .dat).
  3. In the Geometry / CAD tab, edit the panels of each surface and check in the 3D viewer.
  4. Read the results in the Aerodynamics tab and prepare the simulation in the following tabs.

The program tabs

TabWhat it does
AirfoilsAirfoil library, import of coordinates and polars, and cl × α and polar charts.
Geometry / CADSurfaces by panels, 3D viewer, STEP/STL export and curves for SolidWorks.
AerodynamicsVLM: CL, CD (induced and profile), Cm, neutral point, loading and stall.
Domain and meshDomain size, half or full model, first layer from y+, SpaceClaim script and Fluent Meshing journal.
Fluent setupSolver journal: turbulence model, boundary conditions by angle of attack and force reports.
Validation (CFD)Comparison of CFD coefficients with VLM and GCI.

Calculation methods

Vortex lattice method

Each panel receives a horseshoe vortex with the bound segment at 1/4 of the chord and the control point at 3/4. The no-penetration condition is imposed with the normal computed from the local slope of the camber line at the control point — which correctly reproduces the zero-lift angle of cambered airfoils (for example, α0 ≈ −2.1° on the NACA 2412).

CL = 2·Σ Γi·Δyi / (V∞·S) CDi from the plane de Trefftz

First mesh layer

Cf = 0.058·Re−0.2 uτ = V·√(Cf/2) Δy = y⁺·ν / uτ

The number of prism layers is chosen to cover the estimated thickness of the turbulent boundary layer, δ ≈ 0.37·x·Rex−0.2, with growth rate 1.2.

Results and export

  • STEP of the wing and the domain (a single solid with the wing as a cavity, or with the root on the symmetry plane).
  • STL and section curves for SolidWorks.
  • Scripts for SpaceClaim (Named Selections), Fluent Meshing and Fluent.

Automation with Ansys

Those who have ANSYS installed can run CAD, mesh and simulation from inside the program, without copying scripts. The scripts remain available in the Manual panel of each tab.

  1. Click Connect Ansys, at the top of the program, and download the connector. It uses the Python that comes with ANSYS: there is nothing to install.
  2. Open iniciar_conector.bat and paste into the program the token that appears in the window. One connection is valid for all tabs.
  3. Use the Automatic panel of each step, or Run through simulation.
  4. Follow the residuals and reports in the charts of the Fluent tab during the calculation.

Refinement, solver controls and optimization

  • Refinement of the region of interest: in Hydrokin and TurboMak, Body Size over the whole rotating domain; in WinGGen, a body of influence around the surfaces and the wake (boi.step file, imported as Body of Influence).
  • Solver controls: coupling (SIMPLE, SIMPLEC or Coupled), under-relaxation factors, 1st- or 2nd-order schemes, 1st-order start and bad-cell handling, in the sidebar of the Fluent tab.
  • Optimize mesh and solver: mesh and simulation rounds that read the residuals, the y+ on the walls of interest and the mesh quality, and adjust the design (1st layer, refinement, under-relaxation, iterations). It helps reach a simulation that converges; it does not replace the mesh independence study.

The connector runs only on your computer, accepts calls only with the token and executes only the CAD, mesh and simulation steps. The files are kept in Documentos\EVA-Ansys, ready to open by hand.

Scripts for ANSYS

The SpaceClaim, Fluent Meshing and Fluent scripts are generated for ANSYS 2026 R1 and tested here with API simulations and syntax checking. Some commands are still being validated on real installations — each script prints to the console what it did at each step. If something fails, send those lines to EVA.

Verification and limitations

  • VLM is linear and inviscid: the profile drag comes from the airfoil polar and stall is only indicated (onset), not modeled.
  • The domain is verified in OpenCascade (valid solid, edge deviation on the order of 10⁻¹⁴ m).
  • The report keywords in Fluent may vary between versions; the journal reports each step.
Technical responsibility

The programs support the design but do not replace the analysis of a licensed professional. Check the input data and results, and use the report as a review document.

References

  • Katz, J.; Plotkin, A. Low-Speed Aerodynamics. Cambridge University Press.
  • Anderson, J. D. Fundamentals of Aerodynamics. McGraw-Hill.
  • Abbott, I. H.; Von Doenhoff, A. E. Theory of Wing Sections. Dover.
  • Celik, I. et al. Procedure for estimation and reporting of uncertainty due to discretization in CFD applications. J. Fluids Eng., 2008.