Peaceman-Rachford for 2-D Convection
This page allows you to download all files you need to compile
and link a Peaceman-Rachford ADI program for the two-dimensional
convection equation in a rectangle.
Procedure:
First obtain all above files by selecting them from the list below,
and saving them (typically using 'Save as' from the 'File' menu.)
Under Unix, the command 'make' will then compile the source code and
produce the executable file called 'adipr'. Make sure no errors occur
during compilation, of course. Change the parameters by editing the
'ini.in' and 'out.in' files
Files:
- adipr.f: Main program.
- ini.f: Initializes the program variables.
- ini.in: Input file for subroutine ini.
- ic.f: Sets the initial condition.
- bcx.f: Left boundary condition.
- bcy.f: Bottom boundary condition.
- bcxa.f: An artificial right boundary condition.
- bcya.f: An artificial top boundary condition.
- out.f: Performs output.
- out.in: Input file for subroutine out.
- exa.f: An exact solution of the convection equation.
- f.f: A function used by solution exa.
- tridia.f Solves tridiagonal equations.
- tribc.f Solves the implicit equations.
- satis2.f Used by subroutine tribc.
- makefile A Unix makefile.
Return
to my home page.
Comments: dommelen@eng.famu.fsu.edu