The Finite Element Method for Fluid Dynamics, Sixth Edition

In this chapter we shall consider some essential steps in the computer implementation of the CBS algorithm on structured or unstructured finite element grids. Only linear triangular elements will be used and the notes given here are intended for a two-dimensional version of the program. The sample program listing and user manual along with several solved problems are available to download from the website http://www.nithiarasu.co.uk or the publisher's site, http://www.books.elsevier.com, free of charge.
The program discussed can be used to solve the following different categories of fluid mechanics problems:
Compressible viscous and inviscid flow problems.
Incompressible viscous flows.
Incompressible flows with heat transfer.
With further simple modifications, many other problems such as turbulent flows, solidification, mass transfer, free surfaces, etc. can be solved. The procedures presented here are largely based on the theory presented in Chapter 3. The language employed is FORTRAN. It is assumed that the reader is familiar with FORTRAN [1], [2] and finite element procedures discussed in this volume.
We call the present program CBSflow since it is based on the CBS algorithm discussed in Chapter 3 of this volume. We prefer to keep the compressible and incompressible flow codes separate to avoid any confusion. However, an experienced programmer can incorporate both parts into a single code without much memory loss. Each program listing is accompanied by some model problems which helps the reader to validate the codes. In addition to the model inputs to programs, a complete user manual is available to...