Page 388 - Computational Fluid Dynamics for Engineers
P. 388

Appendix             B

         Computer              Programs

                                       t
         Available           from he            First       Author















         The CD-ROM   contains both  source and executable computer  programs  and  test
         cases.  They  are  listed  below.


         Prior  to  running  the  test  cases,  it  is  necessary  to  save  the  executable  files and
         input  data  on  the  hard  drive  in  the  same  directory.  The  reader  can  then  double
         click  the  executable  files and  run  the  program  with  instructions  given  on  the
         screen.



         Chapter   6
         Inviscid-Flow   Equations    for  Incompressible    Flows


         Appendix   6A.  Finite  Difference  Program  for  a  Circular  Cylinder

         Compile  FDCircular.f  (Finite  Difference  Program)  and  generate  PC  exe-
         cutable  file  FDCircular.exe
         Test  case:  Nx  =  100,  Ny  =  100. Output  file:  FDcircular_Out.txt


         Appendix   6B.  Hess-Smith  Panel  Method    (HSPM)

         Compile  HSPM.f  (Hess-Smith  Panel  Method)  and  generate  PC  executable  file
         HSPM.exe
         1.  a  =  0 degree  angle  of  attack.  NACA  0012  airfoil
            Input  file:  deg00_lnp.txt
                                  t
            Output  file:  deg00_0ut. x t
         2.  a  =  8 degree  angle  of  attack.
            Input  file:  deg08_Inp.txt
            Output  file:  deg08_0ut.txt
   383   384   385   386   387   388   389   390   391   392   393