.: code Cp Editor

This code is used for the preparation of input data file to the inverse problem

Full calculation algorithm works as follows::

  1. From direct calculation we get the original data file template to the inverse problem. This file contains detailed information about the pressure distribution in grid planes on the wing surface.
  2. Using the program Cp Editor user modifies the original pressure distribution to create new target distribution. The resulting file contains the original pressure distribution and the target.
  3. This file is used by the inverse problem for creating new wing geometry corresponding to the target pressure distribution

.: panel Cp Editor

In the File menu, select input file. Once input file is loaded, controls on the panel Cp Editor are activated and the panel Wing planform appears. In the graphics window of the panel Cp Editor Cp distribution appears for the current, previous and subsequent sections. Cp Editor panel contains all controls needed to modify the original Cp distribution in the current section. U1 (L1 for lower surface) and U2 (L2 for lower surface) parameters define modification interval. Beyond these values geometry is preserved. Cp values within this interval can be changed in each node by hand or in the entire internval using spline interpolation by moving nodal points of the spline with your mouse. The number of spline nodes is specified by Nspl.

.: panel Wing planform

This panel contains graphical window with two projections of the wing planform: upper and lower surfaces. Current section is determined by the control N sec.

.: The panel Cp Visualization

This panel contains graphical window and the standard set of three-dimensional image controls.

Three-dimensional image on the panel Cp Visualization is controlled by mouse:

  1. Rotation -> right mouse button.
  2. Zoom -> Shift + right mouse button.
  3. Translation -> Ctrl + right mouse button.

Cp init - the initial pressure distribution, Cp des - target pressure distribution