We present a computational model of the process of solidification of metal in molds of complicated configuration. The model is based on the theory of R-functions, which makes it possible to construct the normal equations of drawings and introduce additional parameters into these equations, by means of which one can assure the required behavior of the solution corresponding to the technological implementation of the process. Computational experiments were carried out using the POLE system. ©1998 Plenum Publishing Corporation.