CreateAirfoil ( AirfoilType, PointCount, arrParams, ClosedFlag ) |
Geometry Card |
Arguments | AirfoilType | the type of airfoil to create. One of: | |||
0 NACA 4-digit airfoil parameter[0] = relative thickness t/c parameter[2] = relative camber f/c parameter[3] = location of maximum camber xf/c 1 NACA 4-digit airfoil, modified,
uses parameters [0,1,2,3,4] 2 NACA 5-digit airfoil 3 NACA 5-digit airfoil, modified 4 NACA 07-series airfoil 5 NACA 16-series airfoil 6 NACA 6-series airfoil 7 TsAGI series "B" airfoil 8 NPL EQH airfoil 9 NPL EQH airfoil 10 symmetrical circular arc airfoil (biconvex) 11 symmetrical wedge airfoil 12 cambered plate airfoil 13 Van de Vooren/ de Jong airfoil 14 Newman airfoil 16 Joukovsky airfoil 17 Parsec-11 airfoil 18 Roίner airfoil 19 Horten airfoil |
|||||
PointCount | the number of points defining the airfoil shape | ||||
arrParams | The parameters
as described above must be transferred in the form of an Array.
When there is a gap in the parameter list above (e.g. only parameter [0] and [2] are specified), the unused parameters must be supplied and should be set to zero. |
||||
ClosedFlag | whether JavaFoil should close the trailing edge (some airfoils have thick trailing edges by definition) | ||||
Description | Creates an airfoil from various airfoil families according to the parameters. | ||||
Remarks | While not all parameters are used
for all airfoil types, at least a dummy value is required. Performs the same action as the "Create airfoil" button. The following example shows how to create the parameter array:: var AirfoilType = 0; // NACA 4-digit Geometry.CreateAirfoil ( AirfoilType, PointCount, params, true ); |