Mechanical Engineering, Griffith University
Mechanical Engineering, Semnan University
Phase change materials are substances that absorb and release thermal energy during the process of melting and freezing. This characteristic makes phase change material (PCM) a favourite choice to integrate it in buildings. Stephan problem including melting and solidification in PMC materials is an practical problem in many engineering processes. The position of the moving boundary, its velocity and the temperature distribution within the domain are important for these applications. Well known numerical techniques have difficulties with time-dependent boundary conditions. Therefore, fine mesh and small time steps are needed to obtain accurate solutions. There are two main approaches to solve the Stefan problem: front-tacking and variable grid method. The most existing methods are not applicable to all situations and they cannot be easily implemeted in two-dimensional or three-dimensional geometries and all boundary conditions. In this paper, we proposed an algorithm to solve one-dimensional Stefan problem in all kind of boundary condition; also it can be easily extended for 2D and 3D Stephan problems using finite difference method. For validation, the results are compared with exact solution of constant boundary condition. Afterward, periodic boundary condition is considered. The results showed significant relationship between numerical and exact solution, and the maximum error was approximately 0.4%.