
Build sequence
--------------

* To install, first build the plot library in  ./plotlib  ...

  % cd plotlib
  % edit Makefile        (set compiler flags for your machine)
  % make libPlt.a


* Then build programs in ./bin  ... 

  % cd bin
  % edit Makefile        (set compiler flags for your machine)
  % make ALL
  % make ALL2            (optional)
  % make ALL3            (optional)


* Airfoil manipulator AIRSET in ./airset/bin directory (optional):

  % cd airset/bin
  % make airset


* Optimization driver LINDOP in ./lindop/bin directory (optional):

  % cd lindop/bin
  % make lindop



Build options
-------------

The MPLOT program (built by ALL) has the option to display
individual Tollmien-Schlichting frequency wave amplitudes.  
This is nice to have, but it nearly doubles the size of the 
MPLOT executable image file, due to the large storage space
allocated for the Orr-Sommerfeld database.

To disable the option, link with the dummy routine frplot0
by setting the OSOBJ variable in ./bin/Makefile:
 OSOBJ= frplot0.o

To enable the option, use the full routines instead:
 OSOBJ= frplot.o ntcalc.o oshai.o

To enable the option, it is also necessary to set the absolute 
pathname of the Orr-Sommerfeld database file  oshai.dat  in 
./orrs/oshai.f (search for "oshai.dat"). 



Documentation
-------------
Documentation is in the ./doc directory in *.ps PostScript files.
If impatient, you can immediately run the Eppler-387 or RAE-2822 
cases in the ./runs/387 or the ./runs/rae directories:

 % setenv XPLOT11_BACKGROUND black    (graphics are better in reverse-video)
 % cd runs/rae
 % mset rae    (enter 1,2,3,4 from main menu, <return> for all input queries)
 % mses rae    (enter -15 , then +10, then 0)
 % mplot rae   (menu-driven plotter, can overlay cpcase13a.rae data file)...

  MPLOT: 1             (surface plots)
         2             (plot Cp)
         12            (Options sub-menu)
         D             (toggle data plotting)
        <return>
         2             (plot Cp)
         cpcase13a.rae


For the Eppler 387 case, which features a prominent transitional
separation bubble, you can use the much faster program "msis" 
instead of "mses" above, since this is not transonic.   

