home *** CD-ROM | disk | FTP | other *** search
- ================================================================================
-
- Airfoil generator utilizing the Joukowski transformation
-
- Written by: Russell Leighton
- 762 1/2 W. Newgrove
- Lancaster, CA 93534
- 22 March 1987
-
- Any comments? Just leave me a message on the Lighthouse BBS,
- (805) 272-1812 (my user name is under Russ Leighton) or write to
- me at the address above.
-
- This program was mostly an exercise in C programming using the
- intuition and graphics routines found in the ROM kernal. It
- should, at least, serve as a fairly good example of how to use
- these routines especially in combination (not as straight forward
- as the manuals imply).
-
- The program was compiled using the MANX Aztec C compiler version
- 3.40a. The following lines show the command sequence I used.
-
- cc airfoil.c
- ln -v airfoil.o -lm -lc
-
- This program is free to do with as you please as long as you give
- me a little credit if you use the transformation algorithms. Also,
- if you make any improvements or additions please let me know about
- them. Please include this documentation with the program if you
- choose to give it to anyone else.
-
- ================================================================================
-
- Note from Fred Wright:
-
- The original version of this didn't work properly with expansion RAM,
- due to the static-allocated gadget images. I added code to copy these to
- CHIP memory at run time. This could serve as an example of how to fix other
- programs with the same disease (custom Pointers are another common source of
- trouble).
-
- Now back to Russ ...
-
- ================================================================================
-
- This program generates airfoils as well as their corresponding
- streamline and pressure distributions. The equations used are
- described in airfoil.doc. To use this program first run it
- (either by selecting its' icon or typing "run airfoil" at the CLI
- prompt) then bring up the requester by double clicking the right
- mouse button (the menu button). This requester can be brought up
- at any time (even during plotting) by double clicking the right
- mouse button. The requester gadgets are located and described as
- follows.
-
- Gadget Location Description
- ------ -------- -----------
-
- Quit Upper left corner Exits from program
- Close Upper right corner Starts or continues plot
- ShowTitle Upper center Toggles screen title bar
- Airfoil Below ShowTitle gadget Toggles streamline/pressure plot
- Camber Below Airfoil gadget Mid-chord camber entry
- Thickness Below Camber gadget Mid-chord thickness entry
- Angle Below Thickness gadget Angle of attack entry
- Velocity Bottom edge Slider for velocity entry
-
- ================================================================================
-