Page 393 - Computational Fluid Dynamics for Engineers
P. 393

386                                                            Appendix  B


         Output  files:  lamOutG.txt  lamOut_conv.txt  lamOut_vel_pro.txt
         lamOutSkin_friction.txt    lamOutMass.txt    lamOutp.txt   lamOutU.txt
         lamOutV.txt


         11.6.2  INS2d  for  Turbulent  Flow  over  Flat  Plate

                             i
         Computer  programs: ns2dTurb.f    Residual.f   solver.f   cs.f
         PC  executable  file:  ins2dTurb. exe
         Input  file:  t u r b l n p . t x t
         Output  files: urbOut_conv.txt  turbOut_G.txt   turbOut_vel_pro.txt
                     t
         turbOutSkin_friction.txt    turbOut_Mass.txt    turbOut_p.txt
                                    t
                   t
         turbOut.U. x t  turbOut_V. x t
         Chapter  12.  Compressible  Navier—Stokes   Equations

         12.6.3.1  MacCormack   Method   for  Compressible
        Navier—Stokes    Equations

        MacCormack. f  contains  the  main  program  which  reads  input  data  and  controls
        the  iterations  and  computations.  The  PC  executable  file  is  MacCormack.exe
         Initial_MC.f  contains  two  subroutines  initialization  and  restart
        Subroutine  initialization  sets up initial conditions  according to subsection  12.6.2
        Subroutine  restart  sets  up  restarting  calculations.
                o
           e
        pr dict r. f  contains  subroutine  predictor  which  perform  prediction  calcula-
        tion  according  to  Eq.  (12.3.1)
         corrector  .f  contains subroutine  corrector  which calculates  corrections  accord-
        ing to  Eq.  (12.3.2)
        UpdateMC.f  has  subroutine  update  which  updates  the  values  according  to  Eq.
         (12.3.3)
        Output_MC.f  contains  subroutines  output-g  and  output^  and  saves  the  results
        into  files.
         1.  Test  cases  for  sudden  expansion  laminar  duct  flow  with  various  values  of /3,
           grid  size  and  Reynolds  number.
           RL  =  100,  L  =  30  a  grid  of  300  x  50  Mach  =  0.15
           Input  file:  R100INPUT.TXT
           Output  files:
           General:  R100outG.txt
           Mass  Integration:  R100outMass.txt
           Velocity  in the  x-direction:  R100outU.txt
           Velocity  in the  y-direction:  R100outV.txt
           Density:  RlOOoutRho. x t
                                t
   388   389   390   391   392   393   394   395   396   397   398