Computer Implementation of the CBS Algorithm

This chapter presents some essential steps in the computer implementation of the Characteristic-Based Split (CBS) algorithm on structured or unstructured finite element grids. The program can be used to solve the following different categories of fluid mechanics problems: compressible viscous and inviscid flow problems, incompressible viscous flows, and incompressible flows with heat transfer. With further simple modifications, many other problems such as turbulent flows, solidification, mass transfer, and free surfaces can be solved. This chapter uses FORTRAN. It concentrates mainly on the first two forms which require small memory and simple solution procedures compared to other forms. In both the compressible and incompressible flow codes, only non-dimensional equations are used. It describes the essential features of data input to the program. Either structured or unstructured meshes can be used to divide the problem domain into finite elements. This chapter explains how the steps of the CBS algorithm are implemented. It briefly remarks on the options available for shock capturing, various methods of time stepping, and different procedures for equation solving. It also discusses the output generated by the program and post-processing procedures.