By applying a finite volume approach to a finite element mesh, the ASTEC computer code allows three-dimensional incompressible fluid flow and heat transfer in complex geometries to be simulated realistically, without making excessive demands on computing resources. The methods used in the code are described, and examples of the application of the code are presented.