Page 387 - Computational Fluid Dynamics for Engineers
P. 387
Appendix A 379
Perform calculations by executing LaxWendroff.exe to obtain results
LaxWendroff_Error.txt and LaxWendroff_Out.txt
Example 5.3:
Explicit MacCormack Method MacCormack. f for One-Dimensional Euler Equa-
tion
Compile MacCormack. f and generate PC executable file: MacCormack.exe
Output files: MacCormackOut. x t and MacCormackError. x t
t
t
Example 5.4:
Implicit Beam-Warming method BeamWarmingBurger. f for Burger's Equation
Compile BeamWarmingBurger. f and generate PC executable file:
BeamWarmingBurger.exe
Output files: BeamWarmingBurgerOut.txt and BeamWarmingBurgerSum.txt
Example 5.5:
Finite Volume Method
(a) Central difference method FiniteVolume. f
Compile FiniteVolume.f and generate PC executable file:
FiniteVolume.exe
Output: FiniteVolumeOut.txt
(b)Upwind method FiniteVolumeUpwind.f
Compile FiniteVolumeUpwind.f and generate PC executable file:
FiniteVolumeUpwind.exe
Output: FiniteVolumeUpwindOut.txt

