Page 386 - Computational Fluid Dynamics for Engineers
P. 386

378                                                            Appendix  A



         4.4.2  Implicit  Methods:  Crank—Nicholson  for  Parabolic  Equations

         Example  4.3:
         Compile  example4_03. f  and  generate  PC  executable  file  example4_03. exe
                    t
         Input  data: able4_03inp.txt,  output  file:  table4_030ut.txt

         4.4.3  Implicit  Methods:  Keller's  Box  Method  for  Parabolic  Equations

         Example  4.4:
         Compile  example4_04.f  and  generate  PC  executable  file  example4_04.exe
         Output  file:  example4_040ut. x t
                                     t
         4.5.1  Direct  Method  for  Elliptic  Equations

         Example  4.5:
         Compile  example4_05. f  and  generate  PC  executable  file  example4_05. exe
                    t
         Input  data: able4_05inp.txt,  output  file:  table4_050ut.txt

         4.5.2  Iterative  Methods  for  Elliptic  Equations
         Compile  Gauss-Seidel  and  SOR  methods:  SOR.f  and  generate  PC  executable
         file:  SOR.exe
         Compile  ADI  method:  ADI.f  and  generate  PC  executable  file:  ADI.exe
         Example  4.6:
         Perform  calculations  by  executing  SOR.exe  and  ADI.exe  to  get  the  results.


         4.5.3  Multigrid  Method  for  Elliptic  Equations

         Example  4.7:
         Two-Grid  Method
         Compile  TwoGrid.f  and  generate  PC  executable  file:  TwoGrid.exe
         Output:  TG_0ut.txt  and  Error:  TG_error.txt



         Chapter   5
         Numerical    Methods    for  Hyperbolic    Equations


         Example  5.2:
         Two-step  Lax-Wendroff  method  LaxWendrof f  .f
         Compile  two-step  Lax-Wendroff  method  LaxWendrof f .f  and  generate  PC  ex-
         ecutable  file:  LaxWendroff.exe
   381   382   383   384   385   386   387   388   389   390   391