
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

(Spring 2001–Pruett/Sochacki)
DATE ASSIGNED: Thursday, 22 Feb., 2001 DATE DUE: Thursday, 1 March, 2001
BACKGROUND: As a homework problem you showed that the pressure in a 2D incompressible flow satisfies Poisson’s equation, namely ∇^2 p = 2 [ uyvx − uxvy ]
Thus, at each time step in the simulation of unsteady flow, it is necessary to solve Poisson’s equation, which is computationally intensive. As a model problem consider, Poisson’s equation on a rectangular domain with Dirichlet boundary conditions. That is,
pxx + pyy = f ( x , y ) = −3 cos( 2 x ) ey^ on ( 0 < x < π/ 4 , 0 < y < 1 ) p ( x , 0 ) = cos( 2 x ) ; p ( x , 1 ) = e cos( 2 x ) p ( 0 , y ) = ey^ ; p (π/ 4 , y ) = 0
In class, we developed the second-order “five-point-star” discretization for Poisson’s equation on a rect- angular domain. The resulting matrix equation can be solved by a variety of computational methods that range from crude to sophisticated and computationally intensive to lightning fast. Our text selects Succes- sive Over Relaxation (SOR) as a compromise, which is a variant of the Gauss-Seidel method. A Fortran 90 program has been written for you to solve Poisson’s by either SOR, multigrid, or fast-direct meth- ods. The program and peripheral plotting routines have been placed on the UNIX machines in directory /home/dpruett/pickup as poisson.tar. Copy this file to your machine, create a directory, and then extract the files by the command tar -xf poisson.tar. The main program is poisson.f90 and the respective MOD- ULES are sor.f90 , multi.f90 , and fast.f90. Among other things poisson.f90 calls SYSTEM CLOCK to compute the execution time required by the selected solver. Be sure to read the README file first.
ASSIGNMENT: