Page 385 - Computational Fluid Dynamics for Engineers
P. 385
Appendix A
Computer Programs
on the Accompanying CD-ROM
The CD-ROM accompanying this book 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 4
Numerical Methods for Parabolic and Elliptic Equations
4.4.1 Explicit Methods for Parabolic Equations
Example 4.1:
Compile example4_01 .f and generate PC executable file example4_01.exe
Input data: example4_01inp.txt, output file: example4_010ut.txt
Example 4.2a:
Central differences for the boundary conditions
Compile example4_02a.f and generate PC executable file example4_02a.exe
Input data: example4_02ainp.txt, output file: example4_02a0ut.txt
Example 4.2b:
Forward differences for the boundary conditions
Compile example4_02b. f and generate PC executable file example4_02b. exe
Input data: example4_02binp.txt, output file: example4_02b0ut.txt

