Navigation

Operators and Keywords

Function List:

C++ API

Function File: wing = makewing (acs, pols, ref, panels)

Creates the wing structure necessary for further computations. acs is an N-by-5 array specifying the spanwise geometry description. each row contains [zac xac yac chord twist] pols is a struct array describing the spanwise wing section data distribution. pols(i).z is the spanwise coordinate, pols(i).cl is the lift coefficient on local angle of attack dependence, etc. ref contains the reference quantities. panels specifies either an approximate number of panels, or directly the z-coordinates of panel vertices. In the latter case, panels(1) and panels(end) should match acs(1,1) and acs(end,1), respectively.