scieee AI-readable full text Open interactive document viewer

Numerical simulations of thermal storage systems : emphasis on latent energy storage using phase change materials (PCM)

Galione Klot, Pedro Andrés

Abstract

The present thesis aims at studying the use of phase change materials (PCM) in thermal energy storage (TES) applications and to develop and implement numerical tools for their evaluation. Numerical analysis is nowadays an indispensable tool for the design, evaluation and optimization of thermal equipment, complementing the experimental techniques. Two levels of analysis are carried out, one in the field of Computational Fluid Dynamics, allowing the accurate simulation of the complex heat transfer and fluid dynamics phenomena present in solid-liquid phase change problems; and another one in which the governing equations are treated assuming several suitable simplifications and integrating empirical correlations, intended for the study of whole thermal storage systems throughout several charge/discharge cycles. Furthermore, the specific application of thermal storage in concentrated solar power (CSP) stations is studied. Different single-tank systems, making use of both sensible and latent energy capacities of the materials, are evaluated and compared against the two-tank molten-salt systems used in current CSP plants. Moreover, a new single-tank TES concept which combines the use of solid and PCM filler materials is proposed, with promising results for its utilization in CSP. In chapters 2 and 3, a numerical fixed-grid enthalpy model for the simulation of the solid-liquid phase change is developed. This technique is implemented using the Finite Volume Method in a collocated unstructured domain discretization and using explicit time integration schemes. Issues regarding the form of the energy equation, the treatment of the pressure equation as well as the momentum source-term coefficient introduced by the enthalpy-porosity method, are described in detail in the first chapter. In the second, the possibility of taking into account the variation of the different thermo-physical properties with the temperature is dealt with. Thermal expansion and contraction associated to the phase change are taken into account in the conservation equations and different strategies for the numerical treatment of the energy equation are discussed in detail. Furthermore, simulations of an interesting case of melting of an encapsulated PCM are carried out using two and three-dimensional meshes, and the results are compared against experimental results from the literature. In the next two chapters, the issue of numerically simulating whole single-tank TES systems is developed. These systems are composed of a single tank filled with solid and/or PCM materials, forming a packed bed through which a heat transfer fluid flows. Thermal stratification separates the fluid layers at different temperatures. The zone in which a steep temperature gradient is produced is called "thermocline", and it is desirable to maintain it as narrow as possible in order to keep a high stored exergy. Different designs of single-tank TES systems ¿classified according to the filler material/s used¿ are evaluated for CSP plants. The analysis is performed evaluating different aspects, as the energy effectively stored/released and the efficiency in the use of the theoretical capacity after several charge/discharge cycles, obtaining results independent of the initial thermal state. The operating time is not fixed, but depends on the temperature of the fluid coming out of the tank, limited by the restrictions of the receiving equipment (solar field and power block). Degradation of the stratification is observed to occur after several cycles, due to the temperature restrictions. In this context, a new concept of single-tank TES is presented, which consists of the combination of different layers of solid and PCM filler materials in a suitable manner, resulting in a lower degradation of the thermocline and increasing the use of the theoretical capacity. This concept, called Multi-Layered Solid PCM (MLSPCM), is demonstrated as a promising alternative for its use in CSP plants.

Full text

UPC CTTC Numerical simulations of thermal storage systems. Emphasis on latent energy storage using phase change materials (PCM). Centre Tecnològic de Transferència de Calor Departament de Màquines i Motors Tèrmics Universitat Politècnica de Catalunya Pedro Andrés Galione Klot Doctoral Thesis Numerical simulations of thermal storage systems. Emphasis on latent energy storage using phase change materials (PCM). Pedro Andrés Galione Klot TESI DOCTORAL presentada al Departament de Màquines i Motors Tèrmics E.T.S.E.I.A.T. Universitat Politècnica de Catalunya per a l’obtenció del grau de Doctor per la Universitat Politècnica de Catalunya Terrassa, December 2014 Numerical simulations of thermal storage systems. Emphasis on latent energy storage using phase change materials (PCM). Pedro Andrés Galione Klot Directors de la Tesi Dr. Assensi Oliva Llena Dr. Oriol Lehmkuhl Barba Dr. Joaquim Rigola Tribunal Qualificador Dr. José Manuel Pinazo Ojer Universitat Politècnica de València Dr. Jesús Castro González Universitat Politècnica de Catalunya Dr. Cristóbal Cortés Gracia Universidad de Zaragoza Abrigamos una multitud de prejuicios si no nos decidimos a dudar, alguna vez, de todas las cosas en que encontremos la menor sospecha de incertidumbre. Discurso del método. René Descartes. 1637. i ii Acknowledgements Este trabajo no hubiera sido posible sin el apoyo de muchas personas a quienes debo agradecer. Al profesor Assensi Oliva, director del Centre Tecnològic de Transferència de Calor (CTTC), quien me dió la oportunidad de realizar los estudios de posgrado en dicho centro. Él ha sido muy receptivo a mis intereses a la hora de decidir los temas en los cuales centrar mi trabajo, y con su entusiasmo ha influido decididamente en mi interés por el CFD. A Joaquim Rigola, por su guía y orientación a la hora de organizar los tiempos y objetivos de dedicación de mi trabajo, y cuyo impulso a la hora de plantearse objetivos difíciles de cumplir me ha ayudado a avanzar en situaciones de incertidumbre. A Oriol Lehmkuhl, quien ha sido el orientador y tutor de mi trabajo con el código TermoFluids, que compone una gran parte de esta tesis, y con quién he aprendido mucho acerca de la simulación numérica en todos estos años. Al profesor David Segarra, con quien he trabajado intensamente en estos últimos dos años, siendo el responsable de uno de los proyectos en los que se ha desarrollado gran parte de este trabajo. A Ivette Rodríguez, así como a David y a Oriol, les debo agradecer su dedicación, orientación y paciencia a la hora de revisar a fondo los trabajos que componen una parte importante de esta tesis. A Xavi Trias por su ayuda en todo lo que a simulación numérica se refiere y a Jorge Chiva, por su paciencia y sabiduría a la hora de resolver cualquier tipo de problema relacionado con la programación en C++. A Octavi y Ramiro por su inestimable ayuda con los problemas informáticos con mi computadora y el clúster. A Manolo, por su gran ayuda en la actividades experimentales, su disposición para enseñar y su (particular) sentido del humor. Al profesor Roberto Verzicco, quien me permitió realizar una estancia en la Università degli Studi di Roma Tor Vergata, en la que he podido sacar ideas muy útiles en temas de simulación numérica, y en donde conocí a un grupo de gente entrañable, que hizo que dicha experiencia haya sido tan enriquecedora. En general, a los compañeros del laboratorio, con quienes además de compartir actividades laborales, hemos compartido innumerables comidas, tertulias, cafés y partidos de fútbol; y gracias a quienes he podido conocer culturas diferentes. Especialmente al Chamo, Willy, Aleix, Fede y sus parejas, con quienes además de compartir muchas actividades y discusiones de trabajo, mi pareja y yo hemos generado una amistad que espero dure más allá de las distancias. A Leslye, Fei, Firas, Hao, Nico, con quienes hemos compartido diversas actividades y momentos muy agradables. A Aleix (nuevamente), Joan Farnos y Lluis, que a pesar de tener una vida ya foriii iv Acknowledgements mada aquí, también se han abierto a compartir momentos fuera del ámbito laboral ayudando a integrarnos más fácilmente. En el terreno institucional, debo agradecer a la Agencia Nacional de Investigación e Innovación, Uruguay, por haberme otorgado una beca de máster, el cual me ha dado acceso al doctorado. Al la Facultad de Ingeniería de la Universidad de la República, Uruguay, por haberme dado su apoyo a la hora de tomar la decisión de emigrar para realizar estudios de posgrado, y durante todo el tiempo que ha durado. Asimismo, agradecer a la Secretaria d’Universitats i Recerca (SUR) del Departament d’Economia i Coneixement (ECO) de la Generalitat de Catalunya y al Fondo Social Europeo, por la beca de doctorado que me ha permitido desarrollar este trabajo. En este sentido, debo agradecer también al CTTC por haberme apoyado durante los meses en que no contaba con ninguna beca. En el terreno más personal, quiero agradecer a mis hermanas, padres y abuela paterna, con quienes me crié y me han apoyado siempre. A mi padre debo agradecerle el interés en la ciencia y la necesidad de llegar al fondo de las cuestiones. A mis abuelos maternos, con quienes disfruté de innumerables vacaciones en mi niñez, y quienes me acogieron en su casa durante varios años cuando tuve que emigrar a la capital a estudiar la carrera de ingeniería. A los amigos de Uruguay, con quienes a pesar de no tener siempre un contacto fluido (generalmente por mi culpa, lo reconozco), nos hemos reencontrado muchas veces en estos años y no dejan de estar presentes. A la tribu Gaba-Torres, mi otra familia, por su apoyo incondicional. A la tía Popi, por habernos recibido tan generosamente en su casa en Barcelona y por su apoyo y afecto inestimables durante todos estos años. Y finalmente, y muy especialmente, a mi Sole, con quien decidimos embarcarnos en esta aventura fuera de nuestro país dejando familia y amigos, y me ha aguantado durante todo este tiempo. Creo que hemos crecido mucho como pareja con esta experiencia y que volveremos a Uruguay siendo más maduros y fuertes (y más viejos, claramente). Abstract The present thesis aims at studying the use of phase change materials (PCM) in thermal energy storage (TES) applications and to develop and implement different numerical tools for their evaluation. Numerical analysis is currently an indispensable tool for the design, evaluation and optimization of thermal equipment, complementing the experimental techniques. Two levels of analysis are carried out, one in the field of Computational Fluid Dynamics (CFD), allowing the accurate simulation of the complex heat transfer and fluid dynamics phenomena present in solid-liquid phase change problems; and another one in which the governing equations are treated assuming several suitable simplifications and integrating empirical correlations, intended for the study of whole thermal storage systems throughout several charge/discharge cycles. Furthermore, the specific application of thermal storage in concentrated solar power (CSP) stations is studied. Different single-tank systems, making use of both sensible and latent energy capacities of the materials, are evaluated and compared against the standard two-tank molten-salt systems used in current CSP plants. Moreover, a new single-tank TES concept which combines the use of solid and PCM filler materials is proposed, with promising results for its utilization in CSP. All the contents of the main chapters of this thesis, apart from the Introduction and Conclusions, have been either published or submitted to international journals, and thus, they are written in order to be self-contained. For this reason, some concepts and equations are repeated throughout different chapters. In chapters 2 and 3, a numerical fixed-grid enthalpy model for the simulation of the solid-liquid phase change is developed. This technique is implemented using the Finite Volume Method in a collocated unstructured domain discretization and using explicit time integration schemes. Issues regarding the form of the energy equation, the treatment of the pressure equation as well as the momentum source term coefficient introduced by the enthalpy-porosity method are described in detail in the first chapter. In the second, the possibility of taking into account the variation of the different thermo-physical properties with the temperature is dealt with. Thermal expansion and contraction associated to the phase change are taken into account in the conservation equations and different strategies for the numerical treatment of the energy equation are discussed in detail. Furthermore, simulations of an interesting and challenging case of melting of an encapsulated PCM are carried out using two and three-dimensional meshes, and the results are compared against experimental results from the literature. In the next two chapters, the issue of numerically simulating whole single-tank TES systems is developed. These systems are composed of a single tank filled with solid and/or PCM materials, forming a packed bed through which a heat transfer fluid v vi Abstract (HTF) flows. Thermal stratification separates the fluid layers at different temperatures, with the hot fluid remaining at the top and the cold at the bottom. The vertical temperature gradient is generally referred to as “thermocline” and it is desirable to keep it as steep as possible in order to maintain the exergy available as high as possible. Different designs of single-tank TES systems —classified according to the filler material/s used— are evaluated for their use in CSP plants. The analysis is performed evaluating different aspects —as the energy effectively stored/released and the efficiency in the use of the theoretical capacity— after several charge/discharge cycles, in order to obtain results independent of the initial thermal state. The operating time is not fixed, but depends on the temperature of the fluid coming out of the tank, since it is limited by the restrictions of the receiving equipment (solar field and power block). It is observed how the degradation of the stratification occurs after several cycles due to the temperature restrictions. In this context, a new concept of single-tank TES is presented, which consists of the combination of different layers of solid and PCM filler materials in a suitable manner, diminishing the thermocline degradation and increasing the use of the theoretical capacity. This concept, which is called Multi- Layered Solid PCM (MLSPCM), is demonstrated as a promising alternative for its use in CSP plants. 1.1. PROLOGUE 3 problem of presenting a moving boundary, whose evolution is unknown a priori and has to be determined as part of the solution. There are different techniques for the numerical simulation of solid-liquid phase change, which can be broadly classified into fixed-grid models [18], adaptive mesh models [19] and mixed Eulerian-Lagrangian methods [20]. Fixed-grid models use a fixed mesh for the entire domain independently of the location of the liquid phase; adaptive mesh models adapt the mesh in order to follow the evolution of the liquidsolid interface; while in Eulerian-Lagrangian methods the computations are performed in a fixed grid but the interface is explicitly tracked by a set of extra points. Fixed grid methods are mathematically and computationally easier to implement than other methods. Adaptive mesh methods admit coarser meshes —as the grid density is dynamically modified in order to be higher near the interface— than fixed grid methods for the same accuracy. On the other hand, fixed-grid models allow to simulate flow through “mushy zones” developed in a solid-liquid phase change ocurring at a temperature range. One commonly cited reference which compares a fixed-grid model and an adaptive-mesh model is [21] Fixed-grid enthalpy models have been extensively used for solid-liquid phase change CFD simulations. Generally, implicit time schemes are used by most authors [18,22–24]. 1.1.2 TES in CSP Nowadays, many CSP plants incorporate a molten-salt two-tank TES system (e.g. Andasol and Extresol in Spain, Crescent Dunes and Solana in USA), which makes use of the sensible energy capacity of the molten-salt [25,26]. However, different TES designs resulting in lower investment costs are currently under study, some of which are also based on the sensible energy capacity of the materials, such as thermocline single-tanks [27,28] and concrete storage designs [29]. In thermocline systems, the fluid with both high and low temperature levels is contained in a single tank. Thermal stratification is the mechanism separating them, and the thermal gradient produced within the fluid is called thermocline. The thermocline thickness indicates the amount of thermal mixing, which may be due to natural convection effects (see e.g. [30,31]) and strong inlet flow currents [32], and is intended to be maintained at a minimum. A modification to the original concept, aiming at reducing the thermal mixing and also reducing the amount of molten-salt used, is to fill the tank with a cheaper solid material such as quartzite rocks, granite, sand [27], asbestos-containing wastes [33], forming a porous packed bed through which the heat transfer fluid flows. On the other hand, several researchers have been investigating the use of phase change materials (PCM) as thermal storage media for CSP facilities. Liu et al. [9] carried out an extensive review of high-temperature phase change storage materials 4CHAPTER 1. INTRODUCTION and of thermal enhancement techniques. For example, Michels and Pitz-Paal [34] performed a numerical and experimental investigation of storage systems using different PCMs with cascaded melting points, contained in shell and tube heat exchangers, for parabolic trough CSP plants. Shabgard et al. [35] performed a numerical analysis of cascaded latent heat storage with gravity-assisted heat pipes for CSP applications. Nithyanandam et al. [36] studied packed bed thermal storage with encapsulated PCMs for CSP by means of a numerical model. They performed parametric analyses and established guidelines for the design of latent storage systems. Flueckiger et al. [13] analyzed latent-heat-augmented thermocline storage for CSP using an integrated system-level model for the whole CSP plant and evaluated the effect of the increase of the storage capacity with the latent heat. Limitations in the thermal performance of tanks including PCMs were observed, while some improvement was obtained with some of the cascaded PCM designs. Furthermore, Steinmann and Tamme [37] studied the combination of latent and sensible storage heat exchangers specially suited for direct steam generation solar field technology (DSG). A PCM storage unit was intended for producing the vapor generation (evaporation) and two concrete storage units for storing the sensible portion of the fluid’s energy (pre and superheating). 1.2 Background The present thesis has been developed at the Heat and Mass Transfer Technological Center (CTTC) of the Technical University of Catalonia (UPC). CTTC is a research center whose activities are focused on two main lines, one dedicated to the mathematical formulation, numerical resolution and experimental validation of fluid dynamics and heat and mass transfer phenomena, and another involving the application of the acquired know-how from the basic studies into the thermal and fluid dynamic optimisation of thermal systems and equipment. Solar energy systems and thermal storage are within the main topics of research of CTTC. A list of the activities, research projects and publications of the center can be found in [38]. Some of the models presented in this thesis have been implemented into the CFD platform TermoFluids (TF) [39], developed by Termo Fluids S.L. —a spin-off of the CTTC-UPC— which is a high performance computing code designed for threedimensional (3D) CFD simulations in unstructured meshes, using the Finite Volume Method (FVM) for the discretization of the governing equations. Termo Fluids S.L. is was born in year 2006 from members of the CTTC and, together with CTTC, have a high capacity of simulating thermal systems and equipment. Several theses and scientific papers in the subject of solid-liquid phase change modeling have been published by researchers from the CTTC in the past, e.g. [23, 40 – 42]. Theses of Miquel Costa [40] and Bárbara Vidal [42], dealing with the fixed- 1.3. OBJECTIVES AND OUTLINE 5 grid modeling of solid-liquid phase change in structured meshes and using implicit integration schemes, have served as a very good starting point for the work developed in this thesis. 1.3 Objectives and Outline The work developed in the framework of this thesis can be encompassed into three main objectives. First, to develop and implement a numerical model for the simulation of solid-liquid phase change phenomena in a highly parallel, unstructured CFD platform. Second, to develop and implement a numerical model of thermal storage systems, consisting of a tank filled with solid and/or PCM materials forming a packed bed through which a heat transfer fluid flows, for the fast simulation of several charge/discharge cycles. Third, to study and evaluate different single-tank TES systems for their application into concentrated solar power plants. The next two chapters are devoted to the fulfillment of the first objective. In chapter 2, a fixed-grid enthalpy model is developed in detail. This model has been implemented into the CFD platform TermoFluids (TF), As the intention is to be able make use of the turbulence models already available within the TF framework for the simulation of the liquid phase flow, the present fixed-grid model is designed for its use with explicit time integration schemes, specially suited for the simulation of turbulence. In chapter 3, the referred model is extended in order to take into consideration the variation of the thermo-physical properties with the temperature, with a special consideration of the change in density present in the phase change. Several modifications to the model developed in chapter 2 are indicated in detail. Furthermore, simulations of a case of the constrained melting of a PCM contained in a spherical capsule are performed using two and three-dimensional meshes, and the results are compared against experimental results from the literature. The second and third objectives are addressed in chapters 4 and 5. Chapter 4 deals with the development of a numerical model for the simulation of tanks filled with solid particles and/or PCM capsules forming a packed bed, through which a HTF flows exchanging heat. In the same chapter, a new concept of thermocline-like storage system is presented, in which both solid and PCM filler materials are suitably combined. The main idea behind MLSPCM configurations is the inclusion of high and low melting-point PCMs as filler materials at the ends of the tank, close to the inlet/outlet ports. This packed bed configuration is named Multi-Layered Solid-PCM (MLSPCM) and is compared against different thermocline-like systems, which can be classified according to the filler materials included as: single solid, single PCM and cascaded-PCM. The analysis is performed evaluating different aspects —as the energy effectively stored/released and the efficiency in the use of the theoretical ca- 6References pacity— after several charge/discharge cycles, in order to obtain results independent of the initial thermal state. The operating time is not fixed, but is dependent on the temperature of the fluid coming out of the tank, since it is limited by the restrictions of the receiving equipment (solar field and power block). It is observed how the degradation of the stratification occurs after several cycles due to the temperature restrictions. The performed study shows that the multi-layered solid-PCM concept is a promising alternative for its use as in thermal storage units for CSP plants. In chapter 5 the MLSPCM concept is used for making up single-tank TES systems for a CSP plant. 50 MWe parabolic trough plant Andasol 1 (Granada, Spain) is adopted as a reference. Two sets of analyses are performed, one with the objective of testing the TES systems individually, by defining specific operating conditions and taking the systems to a periodic steady state; and another, aiming at the perfomance evaluation after several days of operation in a CSP plant, in which the weather variability and the thermal behavior of tank walls and foundation are simulated. For the second set, the numerical model is integrated into the modular object-oriented code NEST [43], which links the different models corresponding to the elements under study. Finally, conclusions are taken and an overview of further research is presented. 1.4 Applicability A significant part of the present work has been developed within the framework of different research projects of the CTTC with the industry, such as SEILA - New technologies for an efficient, ecologic and intelligent washing system for textiles of the future [44] and TESCONSOL - Thermal storage for concentrating solar power plants [45]. References [1] L. S. Yao and J. Prusa, Advances in Heat Transfer. Melting and Freezing, vol. 19. Elsevier, 1989. [2] A. Gil, M. Medrano, I. Martorell, A. Lázaro, P. Dolado, B. Zalba, and L. F. Cabeza, “State of the art on high temperature thermal ebergy storage for power generation. part 1—Concepts, materials and modellization,” Renew. Sust. Energ. Rev., no. 14, pp. 31–55, 2010. [3] B. Zalba, J. M. Marín, L. F. Cabeza, and H. Mehling, “Review on thermal energy storage with phase change: materials, heat transfer analysis and applications,” Appl. Therm. Eng., no. 23, pp. 251–283, 2003. References 7 [4] M. Medrano, A. Gil, I. Martorell, X. Potau, and L. F. Cabeza, “State of the art on high temperature thermal ebergy storage for power generation. part 2—Case studies,” Renew. Sust. Energ. Rev., no. 14, pp. 56–72, 2010. [5] G. J. Kolb, C. K. Ho, T. R. Mancini, and J. A. Gary, “Power Tower Technology Roadmap and Cost Reduction Plan,” Tech. Rep. SAND2011-2419, Sandia National Laboratories, 2011. [6] R. Verma, R. Hudler, and B. Maeda, “Ice storage air conditioners. compliance options application. staff report.,” tech. rep., California Energy Comission, 2003. [7] Y. Zhang, G. Zhou, K. Lin, Q. Zhang, and H. Di, “Application of latent heat thermal energy storage in buildings: State-of-the-art and outlook,” Build. Environ., no. 42, pp. 2197–2209, 2007. [8] H. Mehling, L. F. Cabeza, S. Hippeli, and S. Hiebler, “PCM-module to improve hot water heat stores with stratification,” Renew. Energ., vol. 28, pp. 699–711, 2003. [9] M. Liu, W. Saman, and F. Bruno, “Review on storage materials and thermal performance enhancement techniques for high temperature phase change thermal storage systems,” Renew. Sust. Energ. Rev., vol. 16, pp. 2118–2132, 2012. [10] S. Jegadheeswaran and S. D. Pohekar, “Performance enhancement in latent heat thermal storage system: A review,” Renew. Sust. Energ. Rev., vol. 13, pp. 2225– 2244, 2009. [11] K. A. R. Ismail and R. Stuginsky Jr., “A parametric study on possible fixed bed models for pcm and sensible heat storage,” Appl. Therm. Eng., vol. 19, pp. 757–788, 1999. [12] J. P. Bédécarrats, J. Castaing-Lasvignottes, F. Strub, and J. P. Dumas, “Study of a phase change energy storage using spherical capsules. Part ii: Numerical modelling,” Energ. Convers. Manage., vol. 50, pp. 2537–2546, 2009. [13] S. M. Flueckiger and S. V. Garimella, “Latent heat augmentation of thermocline energy storage for concentrating solar power —A system-level assessment,” Appl. Energ., vol. 116, pp. 278–287, 2014. [14] C. J. Ho and V. R., “Heat transfer during melting from an isothermal vertical wall,” J. Heat Trans.-T. ASME, vol. 106, pp. 12–19, 1984. [15] F. Wolff and R. Viskanta, “Melting of a pure metal from a vertical wall,” Exp. Heat Transfer, vol. 1, pp. 17–30, 1987. 8References [16] J. Stefan, “Ueber die Theorie der Eisbildung, insbesondere ueber die Eisbildung im Polarmeere,” Ann. Physik Chemie, vol. 42, pp. 269–286, 1891. [17] http://www.encyclopediaofmath.org/index.php?title=Stefan_ problem&oldid=15955. Encyclopedia of Mathematics, “Stefan Problem.” [18] V. Voller and C. Prakash, “A fixed grid numerical modelling methodology for convection-diffusion mushy region phase change problems,” Int. J. Heat Mass Tran., vol. 30, pp. 1709–1719, 1987. [19] G. Beckett, J. A. Mackenzie, and R. M. L., “A Moving Mesh Finite Element Method for the Solution of Two-dimensional Stefan Problems,” J. Comput. Phys., vol. 168, pp. 500–518, 2001. [20] H. S. Udaykumar, R. Mittal, and W. Shyy, “Computation of Solid-Liquid Phase Fronts in the Sharp Interface Limit on Fixed Grids,” J. Comput. Phys., vol. 153, pp. 535–574, 1999. [21] R. Viswanath and Y. Jaluria, “A comparison of different solution methodologies for melting and solidification problems in enclosures,” Numer. Heat Tr. B-Fund., vol. 24, pp. 77–105, 1993. [22] A. D. Brent, V. R. Voller, and K. J. Reid, “Enthalpy-Porosity Technique for Modelling Convection-Diffusion Phase Change: Application to the Melting of a Pure Metal,” Numer. Heat Transfer, vol. 13, pp. 297–318, 1988. [23] M. Costa, A. Oliva, C. D. Pérez-Segarra, and R. Alba, “Numerical simulation of solid-liquid phase change phenomena,” Comput. Method. Appl. M., vol. 91, no. 1-3, pp. 1123–1134, 1991. [24] F. L. Tan, S. F. Hosseinizadeh, J. M. Khodadadi, and L. Fan, “Experimental and computational study of constrained melting of phase change materials (PCM) inside a spherical capsule,” Int. J. Heat Mass Tran., vol. 52, pp. 3464–3472, 2009. [25] U. Herrmann, B. Kelly, and H. Price, “Two-tank molten salt storage for parabolic trough solar power plants,” Energy, vol. 29, pp. 883–893, 2004. [26] J. I. Ortega, J. I. Burgaleta, and F. M. Téllez, “Central Receiver System Solar Power Plant Using Molten Salt as Heat Transfer Fluid,” J. Sol. Energ.-T. ASME, vol. 130, pp. 024501–1–6, 2008. [27] J. E. Pacheco, S. K. Showalter, and W. J. Kolb, “Development of a Molten-Salt Thermocline Thermal Storage System for Parabolic Trough Plants,” J. Sol. Energ.- T. ASME, vol. 124, pp. 153–159, 2002. References 9 [28] A. Yang and S. V. Garimella, “Molten-salt thermal energy storage in thermoclines under different environmental boundary conditions,” Appl. Energ., vol. 87, pp. 3322–3329, 2010. [29] R. Tamme, D. Laing, and W. D. Steinmann, “Advanced Thermal Energy Storage Technology for Parabolic Trough,” J. Sol. Energ.-T. ASME, vol. 126, pp. 794–800, 2004. [30] J. L. Shyu, R.J. and L. Fang, “Thermal analysis of stratified storage tanks,” J. Sol. Energ.-T. ASME, vol. 111, pp. 54–61, 1989. [31] I. Rodríguez, J. Castro, C. Pérez-Segarra, and A. Oliva, “Unsteady numerical simulation of the cooling process of vertical storage tanks under laminar natural convection,” Int. J. Therm. Sci., vol. 48, pp. 708–721, 2009. [32] L. J. Shah and S. Furbo, “Entrance effects in solar storage tanks,” Sol. Energy, vol. 75, pp. 337–348, 2003. [33] N. Calvet, J. C. Gomez, A. Faik, V. V. Roddatis, A. Meffre, G. C. Glatzmaier, S. Doppiu, and X. Py, “Compatibility of a post-industrial ceramic with nitrate molten salts for use as filler material in a thermocline storage system,” Appl. Energ., vol. 109, pp. 387–393, 2013. [34] H. Michels and R. Pitz-Paal, “Cascaded latent heat storage for parabolic trough solar power plants,” Sol. Energy, vol. 81, pp. 829–837, 2007. [35] H. Shabgard, C. W. Robak, T. L. Bergman, and A. Faghri, “Heat transfer and exergy analysis of cascaded latent heat storage with gravityassisted heat pipes for concentrating solar power applications,” Sol. Energy, vol. 86, no. 3, pp. 816–830, 2012. [36] K. Nithyanandam, R. Pitchumani, and A. Mathur, “Analysis of a latent thermocline storage system with encapsulated phase change materials for concentrating solar power,” Appl. Energ., vol. 113, pp. 1446–1460, 2014. [37] W. Steinmann and R. Tamme, “Latent heat storage for solar steam systems,” J. Sol. Energ.-T. ASME, vol. 130, pp. 011004–1–011004–5, 2008. [38] http://www.cttc.upc.edu. [39] O. Lehmkuhl, C. D. Pérez-Segarra, R. Borrell, M. Soria, and A. Oliva, “TERMOFLUIDS: A new Parallel unstructured CFD code for the simulation of turbulent industrial problems on low cost PC Cluster,” Lect. Notes Comput. Sci. Eng., vol. 67, pp. 275–282, 2009. 10 References [40] M. Costa, Desenvolupament de criteris numèrics per a la resolució de la transferencia de calor en medis amb conducció, convecció i canvi de fase sólid-líquid. Contrastació experimental. PhD thesis, Universitat Politècnica de Catalunya, Spain, 1993. [41] M. Costa, A. Oliva, and C. D. Pérez-Segarra, “A three-dimensional numerical study of melting inside a heated horizontal cylinder,” Numer. Heat Tr. A-Appl., vol. 32, no. 5, pp. 531–553, 1997. [42] B. Vidal, Modelización del cambio de fase sólido líquido. Aplicación a sistemas de acumulación de energia térmica. PhD thesis, Universitat Politècnica de Catalunya, Spain, 2007. [43] R. Damle, O. Lehmkuhl, G. Colomer, and I. Rodríguez, “Energy simulation of buildings with a modular object-oriented tool,” in Proc. ISES Solar World Congress 2011, 2011. [44] “SEILA - New technologies for an efficient, ecologic and intelligent washing system for textiles of the future,” 2010-2012. Research Project C07973, ref. CEN- 20091005. Company: FAGOR Electrodomésticos. [45] “TESCONSOL - Thermal storage for concentrating solar power plants,” 2011- 2014. Research Project Q-00023, ref. CEN-20091005. Company: EIT-KIC InnoEnergy project. 2 Fixed-Grid Modeling of Solid-Liquid Phase-Change Contents of this chapter have been published in: P. A. Galione, O. Lehmkuhl, J. Rigola and A. Oliva, "Fixed-Grid Modeling of Solid- Liquid Phase Change in Unstructured Meshes Using Explicit Time Schemes," Numer. Heat Tr. B-Fund., vol. 65, pp. 27–52, 2014. Abstract Fixed-grid enthalpy models have been extensively used for solid-liquid phase change CFD simulations with implicit time schemes. In this work, this technique is implemented for explicit time schemes and collocated unstructured domain discretization, due to the interest in coupling phase change formulation with turbulence models for the liquid motion. Issues regarding the form of the energy equation, the treatment of the pressure equation as well as the momentum source term coefficient introduced by the enthalpyporosity method are described in detail. Numerical implementation is tested with different study cases, showing a good agreement with other experimental and numerical results. 11 12 CHAPTER 2. SOLID-LIQUID PHASE-CHANGE MODELING NOMENCLATURE Asurface area Cpspecific heat at constant pressure −→ dPF distance vector, going from present node centroid to neighbor node centroid −−→ dPs f distance vector, going from present node centroid to face centroid fmass liquid fraction ~ fmomentum source term ggravity acceleration hspecific total enthalpy ˆ junitary vector in the vertical direction kthermal conductivity Lspecific latent enthalpy m,˙ mmass and mass flux ˆ nsurface normal vector pd hydrodynamic part of the pressure ( pd=p+ρgy , where y is the vertical coordenate) Pr Prandtl number Ra Rayleigh number RSum of convective and diffusive terms S Momentum source term coefficient introduced by the porosity method Ste Stefan number Ttemperature u,~ u,~ upvelocity magnitude, vector and predictor velocity vector ∆ttime step Vvolume αthermal diffusivity (α=λ ρCp) βvolumetric expansion coefficient evolume liquid fraction (porosity) µdynamic viscosity ρdensity φnon-dimensional temperature Superscripts and subscripts: 2.3. NUMERICAL PROCEDURE 19 To keep the restriction of not crossing the zero limit, the time step ∆t has to be limited: un>0=⇒un+1>0=⇒un(1−∆tS)>0=⇒∆t<1 S Then, S→∞=⇒∆t→0 Therefore, the explicit formulation for this source term is unstable. To overcome this problem, a fully implicit time scheme is adopted for discretizing the momentum source term −S~ u. From now on we assume that the equations are dimensionless and supress the ∗ for simplicity. Time-discretizated governing equations result in: ∇ · ~ un+1=0 (2.18) ~ un+1−~ un ∆t=3 2Rn(~ u)−1 2Rn−1(~ u)− ∇pn+1 d+~ fn+1(2.19) hn+1−hn ∆t=3 2Rn(φ)−1 2Rn−1(φ)(2.20) where: ~ fn+1=−S~ un+1+RaPrφn+1·ˆ j(2.21) and Rrepresents the sum of convective and diffusive terms. Working with Eq. (2.19) and grouping terms with un+1result in: ~ un+1(1+∆tS)=~ un+∆t−∇pn+1 d+3 2Rn(~ u)−1 2Rn−1(~ u)−RaPrφn+1ˆ j=⇒ ~ un+1= ~ un+∆th−∇pn+1 d+3 2Rn(~ u)−1 2Rn−1(~ u)−RaPrφn+1ˆ ji 1+∆tS (2.22) Then, if S→∞, i.e. the control volume is almost solid, un+1→0. Decoupling of un+1 and pn+1 d is carried out applying divergence, imposing mass conservation (Eq. (2.18)) and rearranging terms: ∆t∇ · ∇pn+1 d 1+∆tS!=∇ · up(2.23) 20 CHAPTER 2. SOLID-LIQUID PHASE-CHANGE MODELING where: up=   ~ un+∆th3 2Rn(~ u)−1 2Rn−1(~ u)−RaPrφn+1ˆ ji 1+∆tS    (2.24) is a pseudo-predictor velocity, and thus: un+1=up−∆t ∇pn+1 d 1+∆tS!(2.25) from where the new velocity field (un+1) is calculated. Regarding the energy balance, it should be noted that due to the explicit time scheme adopted, there is no need of an iteration step for calculating the liquid fraction of each control volume. It is just determined by the value of hn+1 , which is obtained directly from the energy equation (2.20) . This iteration step is indeed needed when an implicit scheme is adopted, such as in [6,10–12] and several others. 2.3.2 Space discretization The entire domain is discretized using a fixed mesh. The formulation presented herein correspond to unstructured meshes and collocated schemes, as used in the CFD computer code TermoFluids [14]. In all cases, Finite Volume Method (FVM) is used for the spatial discretization of the equations. This method consists in integrating the governing differential equations over discrete control volumes. Diffusive term The diffusive term of the momentum equation —disregarding the multiplying coefficient (Pr or µ)— integrated over a finite control volume, becomes: 1 VZ V ∇2~ u dV =1 VZ A ∇~ u·ˆ n dA ≈1 V∑ f (∇~ u·ˆ n)fAf(2.26) where the divergence theorem has been used in the first equality. Sub-index f indicates that the sum is performed over the surfaces of the control volume. Using the notation indicated in figure 2.1, the discretized diffusive term is expressed here as [15]: 1 V∑ f (∇~ u·ˆ n)fAf≈1 V∑ f ~ uF−~ uP −→ dPF ·ˆ nA!f (2.27) 2.3. NUMERICAL PROCEDURE 21 (a) Away from solid nodes. (b) Near solid nodes. Diferent phases are indicated by the area filling. Figure 2.1: Notation used for the position of the nodes in an unstructured mesh. Letter P indicates the node being calculated, F a neighboring node, f the face shared by nodes P and F, ˆ nf the vector normal to face f pointing outwards P, and ~ dPF the vector going from P to F. If node F contains solid, then the face connecting nodes P and F is denoted s f and the distance from P to this face ~ dPs f . where sub-indices P and F indicate the node where the integration is being performed and the neighbor cell node corresponding to face f, respectively. Convective term The application of the FVM for treating the convective term gives: 1 VZ V ∇ · (~ u~ u)dV =1 VZ A ~ u(~ u·ˆ n)dA ≈1 V∑ f [~ u(~ u·ˆ n)]fAf(2.28) where —for convenience— the conservative form of the momentum equation has been used. Here again, divergence theorem has been used to derive the first equality. Using notation from figure 2.1 and adopting a symmetry-preserving scheme [16], the above equation becomes: 1 V∑ f [~ u(~ u·ˆ n)]fAf≈1 V∑ f~ uP+~ uF 2˙ mf(2.29) 22 CHAPTER 2. SOLID-LIQUID PHASE-CHANGE MODELING where ˙ mf is the flux through face f , which is calculated from the velocity field u and corrected in order to satisfy mass conservation [15], similarly as in [17]. In liquid-containing cells neighboring other solid cells (as in fig. 2.1(b)) the flux ( ˙ mf ) through solid faces is explicitly set to zero in order not to have artifical “leackage” through the solid, and convection through these faces is completely eliminated. For the convective term in the energy equation (2.3) an UPWIND scheme [18] has been used due to boundedness reasons. Discussion about the form of the energy equation In [6,10] the differential equation for the energy balance in the phase changing process is presented asa: ∂ρh ∂t+∇ · (ρ~ uh) = ∇ · (k∇T)(2.30) This equation has a slight difference compared to Eq. (2.3) : the advectionconvection term. The transported property in Eq. (2.30) is the total enthalpy (including latent), while in Eq. (2.3) only the sensible enthalpy of the liquid is considered to be transported by the flow. Actually, Eq. (2.3) results from assuming constant specific heat in the liquid phase and from the incompressibility condition (Eq. (2.1) ). In a more general formulation the total liquid enthalpy should be used in the convective term. If the incompressibility condition were not applied, the latent heat of the liquid phase should be included. However, this remains being different from advecting the enthalpy h (as defined here), because the latter is a mean value of the enthalpies of the liquid and solid phases present in the control volume. In pure solid and liquid phases there is no difference at taking any of both energy equations. This is because in the solid phase there is no enthalpy transport and in the liquid phase only differences in sensible enthalpy are needed to be accounted for, as only one phase is involved. However, in the regions (or control volumes) where both liquid and solid phases are present (i.e. interface or “mushy zone” nodes), the volume integration of both formulations give different results. As the interface will not be of infinitesimal width due to the adopted fixed-grid model (even in the case of phase change at a fixed temperature), there will be control volumes that will contain the interface and where the fluid part will have a velocity different from zero. Furthermore, mass and energy will be entering and leaving these “interface” control volumes, and these interactions will be produced between liquid and interface nodes and also between different interface nodes (see figure 2.2). Thus, a Actually, in those references, h represents only the sensible enthalpy and an extra source term is included to account for the latent enthalpy, which is represented by ∆H. 2.3. NUMERICAL PROCEDURE 23 discretized momentum and energy equations will have non-zero advective terms in these control volumes (see section 2.3.1 below). (a) Sharp interface (b) Mushy zone Figure 2.2: Schemes showing control volumes containing both solid and liquid phases. Arrows at the control volume faces indicate liquid flowing to and from the control volume. Regarding the energy equation, if we chose to evaluate the convective term taking the total specific enthalpy h (as defined by Eqs. (2.4) to (2.10) ) as the transported property, then we would be transporting a variable that depends on the liquid fraction of the involved nodes (see Eq. (2.5) ); i.e. we would be transporting a “mean value” of the enthalpy of the solid and liquid phases of the involved control volumes. This is not right, since only the liquid phase is transported from one node to the other (assuming that the solid is fixed with respect to the grid). Therefore, only the enthalpy of the liquid phase is advected. Due to the assumption of equal densities between solid and liquid phases (see section 2.2), there is no mass accumulation nor decrease in any cell, and mass fluxes entering any cell must equal the mass fluxes leaving it. With this in mind, it can be observed that the balance of transport of energy into any cell by advection equals the difference between the energy contents of the entering and leaving mass fluxes, resulting in a balance of sensible enthalpies of the referred fluxes (as the latent enthalpies get cancelled out). The effect of this discrepancy or “error” is studied next. Convective term of equation (2.3) (using hliq as the enthalpy of the liquid phase), integrated in an interface control volume, can be expressed as: Z V ∇ · (ρ~ uhliq)≈∑ f ˙ mf(hliq)f(2.31) 24 CHAPTER 2. SOLID-LIQUID PHASE-CHANGE MODELING while the convective term of Eq. (2.30) results in: Z V ∇ · (ρ~ uh)≈∑ f ˙ mfhf=∑ f ˙ mfh(1−e)hsol +ehliqif =∑ f ˙ mfh(hliq −(1−e)(hliq −hsol)if =∑ f ˙ mf(hliq)f−∑ f ˙ mfh(1−e)(hliq −hsol)if(2.32) The first term of the right side of Eq. (2.32) is equal to the right side of Eq. (2.31) ; hence, the difference between both equations results in: Cliquid −Ctotal =∑ f ˙ mfh(1−e)(hliq −hsol)if(2.33) where Cliquid and Ctotal represent the convective terms considering the liquid enthalpy and the total enthalpy, respectively. To clarify the effects of this difference, above equations will be expressed for the center node of figure 2.2. The mentioned node has a liquid fraction ( e ) of 0.5; receives a mass flux from the upper node, which also has a liquid fraction of 0.5; and has an outflow towards the left node, which has a liquid fraction of 1 (pure liquid). Taking into consideration that due to the mass balance, the mass flux going through the upper face has to be equal to the one going through the left face ( ˙ mle f t = ˙ mup); then, the convection term —using Eq. (2.31)— results in: Cliquid =˙ mf(hliq,le f t −hliq,up) = ˙ mfCp(Tf,le f t −Tf,up) =˙ mfCpTL−TU 2(2.34) where sub-indexes L and U indicate the values of the left and upper nodes, respectively. Now, the difference between both approaches results in: Cliquid −Ctotal =˙ mf (1−e)L(hliq −hsol)L+ (1−e)P(hliq −hsol)P 2 −˙ mf (1−e)U(hliq −hsol)U+ (1−e)P(hliq −hsol)P 2 =−˙ mf (1−e)U(hliq −hsol)U 2=−˙ mf L 4(2.35) where the facts that the liquid fraction of the left node is equal to 1 and that the difference between the enthalpies of the liquid and solid portions of node U is equal 2.3. NUMERICAL PROCEDURE 25 to the latent heat of fusion, L (according to the model adopted here, Eq. (2.6) or (2.10) ), have been considered. Now, comparing Eqs. (2.34) and (2.35), it can be observed that:  Cliquid −Ctotal Cliquid  = L 2Cp(TL−TU) Assuming that the temperature difference between left and upper nodes is not high (which is reasonable with a normal grid density) or that the Stefan number is sensibly smaller than 1 (very usual in phase change problems, where the latent heat of fusion is high compared to the maximum possible sensible enthalpy difference), then: Cp(TL−TU)L=⇒Cliquid −CtotalCliquid Therefore, for this particular node, the “error”in the expression of the discrete convective term is much higher than the convective term itself. This can cause high unphysical fluctuations in the enthalpy and liquid fractions of the referred node, if the mass flux ˙ mfis not so small to make the convective term vanish. Numerical tests have shown notable differences between the adoption of total or liquid sensible enthalpy in coarse grids, although they tend to vanish as the grid is refined. It should be noted that these differences are produced by the discretization of the equations and by the fact that in one control volume both solid and liquid phases are present. This does not mean that Eq. (2.30) is wrong; it is a differential equation and so can only be strictly applied to infinitesimally small volumes. Thus, the error is introduced at the volume integration stage. Voller et al. [6] state that only in the fixed temperature phase change case —where the interface is of infinitesimal width— the advection of ∆H (latent heat of fusion weighted by the porosity in the control volume) vanishes, and that it should be accounted for in a mushy region case. The argument presented in this section results in a different conclusion: even in a mushy region case, since only the liquid phase is advected, ∆Hshould not be included in the convection term. However, the case of phase change of a mixture of substances (in a temperature range instead of a fixed temperature) is not so simple if the different properties of the different substances are considered. Probably, in these cases the difference of liquid enthalpy at different temperatures —inside the phase change temperature range—cannot be considered just as a difference in sensible enthalpy, since the liquid phase consists of different fractions of each substance at each temperature. In this case, a more detailed expression of the enthalpy-temperature relations should be adopted, and Eq. (2.3) should be written with the total liquid enthalpy in its convective term (as in Eq. (2.31)). 26 CHAPTER 2. SOLID-LIQUID PHASE-CHANGE MODELING 2.3.3 Pressure equation Here, the pressure-velocity decoupling procedure for the equations corresponding to the liquid-containing cell nodes is detailed, where a special treatment of the solid boundary nodes (face nodes) is indicated. The matrix coefficients of the resulting linear system, as well as the vector of independent terms, are presented. The integration of Eq. (2.23) results in: 1 VZ V ∆t∇ · ∇pn+1 d 1+∆tS!dV =1 VZ V ∇ · (~ up)dV (2.36) Following the same line of reasoning that in previous sections, Eq. (2.36) becomes: ∆t V∑ f ∇pn+1 d 1+∆tS!f ·ˆ nfAf=1 V∑ f~ up·ˆ nfAf(2.37) which defines a system of equations of pressure which needs to be solved using some linear solver. A further simplification of this system is carried out near solid boundaries. At solid boundaries, the following Neumann condition is applied [19]: (∇pd·ˆ n)s f =hPr∇2~ u−RaPrφˆ j·ˆ nis f (2.38) which is derived from momentum equation (Eq. (2.2) ) and the velocity boundary condition: ~ us f =0=⇒(~ u·ˆ n)s f =0 (2.39) In semi–discrete form, integrated in a surface element, this boundary condition for pressure results in: ∇pn+1 ds f ·ˆ ns f =3 2Rn(~ u)−1 2Rn−1(~ u)−RaPrφn+1ˆ js f ·ˆ ns f where R contains not only the diffusive term appearing in Eq. (2.38) but also the convective term. This is not a problem, since convection through a solid boundary is zero (Eq. (2.39)). Noting that unis also zero, then: ∆t∇pn+1 d·ˆ ns f =un+∆t3 2Rn(~ u)−1 2Rn−1(~ u)−RaPrφn+1ˆ j·ˆ ns f 2.3. NUMERICAL PROCEDURE 27 hence, dividing by 1 +∆tS and using Eq. (2.24): ∆t∇pn+1 d 1+∆tS ·ˆ n!s f =~ up·ˆ ns f (2.40) Now, working with Eq. (2.36) for a boundary control volume (a cell with a face belonging to a solid boundary) and separating the solid face from the sums at both sides of the equation: ∆t ∑ f6=s f ∇pn+1 d 1+∆tS ·ˆ nA!f + ∇pn+1 d 1+∆tS ·ˆ nA!s f  =∑ f6=s f ~ up·ˆ nAf +~ up·ˆ nAs f (2.41) Hence, combining Eq. (2.41) and (2.40) it results in: ∆t ∑ f6=s f ∇pn+1 d 1+∆tS ·ˆ nA!f =∑ f6=s f ~ up·ˆ nAf(2.42) and inner nodes adjacent to the solid boundaries are “decoupled” from solid boundary pressure nodes; i.e. instead of solving the system of pressure equations defined by Eq. (2.37) , we solve the system defined by Eq. (2.42) , where solid boundary pressure nodes are not included as variables neither as equations. The term at the left side of Eq. (2.42) is very similar to the diffusive term and it is discretized similarly: ∑ f6=s f ∇p 1+∆tSf ·ˆ nfAf≈∑ f6=s f " pdF−pdP −→ dPF ·ˆ n!1 1+∆tSP +1 1+∆tSFA 2#f while the term at the right side of Eq. (2.37) is very similar to the discretized mass balance equation: ∑ f6=s f ~ up·ˆ nAf≈∑ f6=s f ~ upP+~ upF 2·ˆ nA!f (2.43) Therefore, a system of equations in pressure is obtained, with the following coefficients: aP˜ pdn+1 P+∑ f6=s f aFf˜ pdn+1 Ff=bP(2.44) 28 CHAPTER 2. SOLID-LIQUID PHASE-CHANGE MODELING where ˜ pd=∆tpdand: aFf=AfθFf+θP 2−−→ dPFf·ˆ n;aP=∑ f6=s f −aFf bP=∑ f6=s f ~ upP+~ upF 2·ˆ nA!f with: θ=1 1+∆tS where sub-index Ff (or Ff ) indicate a value corresponding to a neighbor node of node Pconnected through face fand dPFfis the distance between both nodes. The resulting symmetric system of equations has to be solved using some linear “solver”. Numerical implementation and resolution of the pressure system of equations including solid nodes As the tensional state of the solid phase is not evaluated, the system of equations defined by Eq. (2.42) should only be written —a priori— for the nodes containing some liquid, i.e. those whose liquid fraction is higher than zero. However, if this approach were adopted, the system of equations would be of variable size, since —for example— as solid nodes change to interface or liquid nodes, the number of variables and equations would increase. This would mean that the linear solver used should be “updated” every time a node changes phase, which is not computationally simple. Instead, a different approach is adopted. The size of the linear system of equations is maintained constant and equal to the maximum size (the total number of mesh nodes minus the nodes placed in solid boundaries) and the coefficients aP and aF are modified. Eq. (2.42) indicates that the pressure of liquid-containing cell nodes, located next to solid boundaries, is “decoupled” from the pressure at these boundary surfaces; therefore, between two cell nodes —one containing at least some liquid and the other one containing only solid— the same condition is applied. Hence, the coefficient aFwhich relates both pressure nodes is set to zero. For the solid nodes, an arbitrary form of the pressure equation can be defined, as its result is meaningless. Thus, in this work, trivial equations of the form: aPpdP=bP(2.45) 2.4. NUMERICAL RESULTS 35 The parameters of the problem —taken from [22]— are the following: • Aspect ratio Ar=1, H(height) = 0.1m; •ρ=7500 kg m−3,k=60 W m−1K−1,Cp=200 J kg−1K−1; •Ra =2.25E5, Pr =0.04, Ste =0.01 • Initial temperature of 505 K, hot wall temperature of 508 K and phase change temperature of 505 K. Figure 2.7 show the results obtained after 200, 450 and 1000 seconds. Reference [22] presents several simulations of the problem using diverse numerical schemes (upwind, centered and hybrid) for mesh densities of 100x100, 200x200 and 400x400. Our results are very close the results obtained by [22] using a centered scheme, for all the mesh sizes. However, as stated in [22], numerical solutions deviate considerably from experimental results obtained by [23], as in the latter, apparently there is no multicellular behaviour like in the former. They also observe that the numerical results obtained using coarser grids are closer to experimental than the grid-converged simulations. These observations are also valid for the gallium melting experiment performed by [20], which was used as a validation case in the previous section. Evidently there is a problem, either with the mathematical model or with the experimental procedure not being able to meet the assumptions. An interesting approach to this problem has been carried out by [24], who state that the issue relies on the lack of modeling of the solid deformations. They include solid deformation modeling in their simulations and obtain results showing uni-cellular behaviour of the Gau-Viskanta experiment. However, quite coarse meshes are used in their simulations (the finest one being of 25 x 90 in the liquid phase) with results that are not grid-converged. Therefore, it would be interesting to perform further simulations with denser meshes in order to firmly conclude that solid deformation is the cause of the uni-cellular behaviour. 2.4.3 Spherical capsules filled with N-Octadecane Another case study used to validate the CFD phase change model is the melting of N-octadecane encapsulated in a sphere, as in [12,25]. A spherical capsule is filled with this material and taken to a temperature 1 °C below the phase change. Suddenly, the capsule shell is heated and maintained at a constant temperature. Again, the phenomenon is assumed to be 2D. Parameters of the problem are: •D=0.10166 m(diameter of sphere); 36 CHAPTER 2. SOLID-LIQUID PHASE-CHANGE MODELING (a) t = 200s (b) t = 450 seconds (c) t = 1000 seconds Figure 2.7: Tin melting at different times using different grids: 100x100 (left column), 200x200 (center column) and 400x400 (right column). Clear region: liquid phase. Dark region: solid phase. Contours correspond to the streamlines. The images show portion of the total cavity of 0.06 m x 0.1 m. 2.4. NUMERICAL RESULTS 37 •ρ=772 kg m−3,k=0.1505 W m−1K−1,Cp=2330 J kg−1K−1; •Ra =3.307E7, Pr =59.76, Ste =0.112913 • Initial temperature of 27.2°C, and phase change temperature of 28.2°C. The temperature boundary condition imposed in this work is convection between the thermal bath and the glass combined with thermal conduction thorugh the shell. Bath temperature is T = 40.0 °C and the overall convection coefficient is 796 W/m−1K−1 ; which has been deduced from estimated values of glass width, glass thermal conductivity and convection coefficient of the thermal bath. Fig. 2.8 shows two photographs of the experimental evolution of the phase change at different moments, extracted from [25] ; while fig. 2.9 shows some graphical results obtained by the present work. The mesh used in the simulations was designed to have similar quantity of nodes —between 7600 and 7700 cells— as the one used by [12] in their own numerical simulations. There is an agreement in the overall behavior of the system, although a faster melting is encountered in numerical results from both authors, compared to experimental. Numerical results presented here seem to be closer to experimental than those presented in [12]. Figure 2.8: Experimental results of the melting N-Octadecane in a spherical capsule, at 40 and at 80 minutes. Reprinted from [12] with permission from Elsevier. Different reasons could be causing the differences between numerical and experimental results, as in the previous test cases. Some of the most relevant could be: 38 CHAPTER 2. SOLID-LIQUID PHASE-CHANGE MODELING (a) t = 40 min (b) t = 80 min Figure 2.9: Our results. Left half showing velocity streamlines and right half temperature maps (dark region: high temperature; clear region: low temperature). • Constant density has been assumed, while the n-octadecane presents a variation of the density of around 14% respect to solid density. Furthermore, the real spherical container has an opening at the top, allowing the exit of fluid. Perfect spherical shape has been assumed in the simulations. • Assumption of the convective heat transfer in the temperature boundary condition. • Other thermophysical properties have also been considered constant. • 2D behaviour has been assumed, neglecting possible 3D pattern. 2.5 Conclusions Fixed-grid, enthalpy formulation for unstructured meshes using explicit time schemes is presented. The fluid is considered Newtonian and incompressible, and the density change between solid and liquid phases is not considered. The form of the convective term of the energy equation is discussed. Taking into account that its volume integration is sometimes performed over two-phase-containing cells (interface cells), and observing that only the liquid phase is transported between different cells, it is concluded that only the liquid enthalpy should be considered in the convective term. Furthermore, as solid and liquid densities are assumed equal, there References 39 is no mass accumulation in any cell and latent enthalpy get cancelled out, leaving only the sensible enthalpy of the liquid phase. The effect of considering total enthalpy in the convective term is analysed. Pressure-velocity decoupling is presented in a somewhat detailed manner, indicating its treatment in solid boundaries. The resulting system of equations of pressure (with variable coefficients) is presented and its particular form in the solid nodes is pointed out. Regarding the momentum source term introduced by the porosity model, it has been concluded that its time integration has to be performed using an implicit scheme due to stability issues. Furthermore, for the case of modeling a fixed temperature phase change, different expressions of the coefficient S are discussed, and an alternative to the expressions proposed by [6,10] (Eq. (2.47) ) is presented. It is concluded that the Darcian expression proposed by [6] (Eq. (2.46) ) is the best behaved in terms of smoothness, while Eq. (2.48) proposed in this work should behave better than Eq. (2.47) being easier to compute than Eq. (2.46) . It has also been pointed out that some care should be taken in choosing coefficient C in case of using Eq. (2.47) , since a poor choice could produce an insufficient damping efect in almost-solid cells. This choice is not so critical in this aspect when some of the other two expressions is adopted, although it would indeed affect the smoothness of the produced damping effect. Model implementation has been tested using three cases, and results have been compared against experimental and numerical results from the literature. Good agreement with numerical results has been observed. Overall behaviour of experiments is reproduced fairly well, although some differences are encountered, e.g. in the Tin melting case, where a multi-cellular behaviour —which has not been observed in the experiments— is obtained. These discrepancies are in accordance with results obtained by other authors. Acknowledgements This work has been financially supported by the Ministerio de Economía y Competitividad, Secretaría de Estado de Investigación, Desarrollo e Innovación, Spain (ENE-2011-28699), by Termo Fluids S.L., by the Secretaria d’Universitats i Recerca (SUR) del Departament d’Economia i Coneixement (ECO) de la Generalitat de Catalunya and by the European Social Fund. References [1] L. S. Yao and J. Prusa, Advances in Heat Transfer. Melting and Freezing, vol. 19. Elsevier, 1989. 40 References [2] A. Gil, M. Medrano, I. Martorell, A. Lázaro, P. Dolado, B. Zalba, and L. F. Cabeza, “State of the art on high temperature thermal ebergy storage for power generation. part 1—Concepts, materials and modellization,” Renew. Sust. Energ. Rev., no. 14, pp. 31–55, 2010. [3] B. Zalba, J. M. Marín, L. F. Cabeza, and H. Mehling, “Review on thermal energy storage with phase change: materials, heat transfer analysis and applications,” Appl. Therm. Eng., no. 23, pp. 251–283, 2003. [4] J. Stefan, “Ueber die Theorie der Eisbildung, insbesondere ueber die Eisbildung im Polarmeere,” Ann. Physik Chemie, vol. 42, pp. 269–286, 1891. [5] http://www.encyclopediaofmath.org/index.php?title=Stefan_ problem&oldid=15955. Encyclopedia of Mathematics, “Stefan Problem.” [6] V. Voller and C. Prakash, “A fixed grid numerical modelling methodology for convection-diffusion mushy region phase change problems,” Int. J. Heat Mass Tran., vol. 30, pp. 1709–1719, 1987. [7] G. Beckett, J. A. Mackenzie, and R. M. L., “A moving mesh finite element method for the solution of two-dimensional stefan problems,” J. Comput. Phys., vol. 168, pp. 500–518, 2001. [8] H. S. Udaykumar, R. Mittal, and W. Shyy, “Computation of solid-liquid phase fronts in the sharp interface limit on fixed grids,” J. Comput. Phys., vol. 153, pp. 535–574, 1999. [9] R. Viswanath and Y. Jaluria, “A comparison of different solution methodologies for melting and solidification problems in enclosures,” Numer. Heat Tr. B-Fund., vol. 24, pp. 77–105, 1993. [10] A. D. Brent, V. R. Voller, and K. J. Reid, “Enthalpy-porosity technique for modelling convection-diffusion phase change: Application to the melting of a pure metal,” Numer. Heat Transfer, vol. 13, pp. 297–318, 1988. [11] M. Costa, A. Oliva, C. D. Pérez-Segarra, and R. Alba, “Numerical simulation of solid-liquid phase change phenomena,” Comput. Method. Appl. M., vol. 91, no. 1-3, pp. 1123–1134, 1991. [12] F. L. Tan, S. F. Hosseinizadeh, J. M. Khodadadi, and L. Fan, “Experimental and computational study of constrained melting of phase change materials (PCM) inside a spherical capsule,” Int. J. Heat Mass Tran., vol. 52, pp. 3464–3472, 2009. [13] D. A. Nield and A. Bejan, Convection in Porous Media, 3rd edition. Springer, 2006. References 41 [14] O. Lehmkuhl, C. D. Pérez-Segarra, R. Borrell, M. Soria, and A. Oliva, “TERMOFLUIDS: A new Parallel unstructured CFD code for the simulation of turbulent industrial problems on low cost PC Cluster,” Lect. Notes Comput. Sci. Eng., vol. 67, pp. 275–282, 2009. [15] O. Lehmkuhl, Numerical resolution of turbulent flows on complex geometries. PhD thesis, Universitat Politècnica de Catalunya, 2012. [16] R. W. C. P. Verstappen and A. E. P. Veldman, “Symmetry-preserving discretization of turbulent flow,” J. Eng. Math., vol. 187, no. 1, pp. 343–368, 2003. [17] F. N. Felten and T. S. Lund, “Kinetic energy conservation issues associated with the collocated mesh scheme for incompressible flow,” J. Comput. Phys., vol. 215, no. 2, pp. 465–484, 2006. [18] S. V. Patankar, Numerical Heat Transfer and Fluid Flow. Ch. 5, Hemisphere Publishing Corporation, 1980. [19] P. M. Gresho and R. L. Sani, “On pressure boundary conditions for the incompressible navier-stokes equations,” Int. J. Numer. Meth. Fl., vol. 7, pp. 1111–1145, 1987. [20] C. Gau and R. Viskanta, “Melting and solidification of a pure metal on a vertical wall,” J. Heat Trans.-T. ASME, vol. 108, pp. 174–181, 1986. [21] B. Vidal, Modelización del cambio de fase sólido líquido. Aplicación a sistemas de acumulación de energia térmica. PhD thesis, Universitat Politècnica de Catalunya, Spain, 2007. [22] N. Hannoun, V. Alexiades, and Z. T. Mai, “Resolving the controversy over tin and gallium melting in a rectangular cavity heated from the side,” Numer. Heat Tr. B-Fund., vol. 44, pp. 253–276, 2003. [23] F. Wolff and R. Viskanta, “Melting of a pure metal from a vertical wall,” Exp. Heat Transfer, vol. 1, pp. 17–30, 1987. [24] D. Mansutti and E. Bucchignani, “On the importance of solid deformations in convection-dominated liquid/solid phase change of pure materials,” Appl. Math., vol. 56, no. 1, pp. 117–136, 2011. [25] F. L. Tan, “Constrained and unconstrained melting inside a sphere,” Int. Commun. Heat Mass, vol. 35, pp. 466–475, 2008. 42 References 3 Fixed-grid modeling with variable thermo-physical properties. Melting of n-Octadecane inside a spherical capsule. Contents of this chapter have been submitted for publication as: P. A. Galione, O. Lehmkuhl, J. Rigola and A. Oliva, "Fixed-grid numerical modeling of melting and solidification using variable thermo-physical properties —Application to the melting of n-Octadecane inside a spherical capsule," submitted to International Journal of Heat and Mass Transfer, 2014. Abstract A fixed-grid enthalpy model for unstructured meshes and explicit time integration schemes [1] is here extended for taking into account the change in density and other thermo-physical properties with the temperature and phase. Thermal expansion and contraction associated to the phase change are taken into account in the conservation equations, and different strategies for the numerical treatment of the energy equation are discussed in detail. Further modifications to the original model are also presented. 43 44 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES The proposed model is used for simulating a case of melting of n-Octadecane inside a spherical capsule. Two and three-dimensional simulations are performed using constant and variable properties. A comprehensive examination of the thermophysical properties is performed, and the different values and correlations used are here presented and criticised. Differences in the flow patterns are encountered between two and three-dimensional simulations. The effects of considering constant or variable properties are discussed. Two different thermal boundary conditions are tested and the results are compared against experimental data obtained from the literature. 3.1 Introduction Materials which undergo a phase transition at a temperature of interest for some application, are usually called phase change materials (PCMs). Due to the lower density changes involved, solid-liquid phase change is usually preferred over liquidvapor. This change of phase can be exploited, for example, to store thermal energy. Taking advantage of both latent and sensible energy capacities of the materials result in devices with higher energy densities, and therefore, allow the reduction of both the storage weight and volume. One application of PCMs where extensive research is being carried out nowadays, is the thermal energy storage for for concentrated solar power stations (CSP), see for instance [2–4]. A common feature of many of the PCMs usually considered —such as paraffins, hydrated salts and salt mixtures—is their low thermal conductivity. For this reason, different strategies for increasing the heat transfer rate of devices using PCMs are considered [2,5]. One of the most studied thermal enhancement options is the containment of the PCM in capsules, in order to obtain a high surface-to-volume ratio. Studies of storage systems consisting of packed beds of encapsulated PCM are abundant in the literature, e.g. [6–8]. It has been seen that natural convection effects in the melting of PCMs enclosed in different kind of cavities, play a significant role in the evolution of the melting rate and shape of the solid-liquid interface (see e.g. [9,10]). Besides the dynamics and heat transfer phenomena involved within the fluid phase, simulations need to address the heat transfer within the solid phase and an accurate representation of the moving boundary between phases. Different modeling strategies have been adopted for the numerical simulation of this kind of moving boundary problems, such as adapting grid (e.g. [11]), fixed-grid enthalpy (e.g. [12]) and Eulerian-Lagrangian (e.g. [13]) models. Within these, fixed-grid enthalpy models have been used more extensively, due to their relative mathematical and computational simplicity and their possibility to address the “mushy zones”produced in materials whose phase-change occurs in a temperature range. Generally, fixed-grid models have been used along with implicit 3.3. NUMERICAL IMPLEMENTATION 51 change range; and differently from what happened with a fixed melting point, these properties are not constant in the phase change range. The first three equations are valid for the pure phases and the interface, while the other two are only for the interface. These, added to the energy equation (3.3) , are six equations for determining seven unknowns ( hl , hs , hm , ρl , ρm , e , T ). Therefore, an additional equation is necessary, which could be the relation between f and T (transformed to e−T) coming from the phase diagram of the mixture of substances. Usually the f−T relation is assumed as linear between the liquidus and solidus temperatures, but more accurate relations could be implemented, e.g. by using the lever rule in binary alloys. To calculate all the properties, it is necessary to determine T and e from hm , since T is necessary for calculating hl , hs , ρl and ρs . This will probably result in an iterative procedure, unless the extra equation is the relation between hm and T , which would allow to directly determine T and from there on, to calculate directly the rest of the properties. 3.3 Numerical implementation The formulation presented above has been implemented into the CFD computer package TermoFluids [23], which is designed to work with unstructured meshes. Finite volume, collocated discretization and explicit time schemes have been used, with the time step dynamically adapted by estimating upper bounds for the eigenvalues of convective and diffusive operators [24]. The code is parallelized and can be run both on single computers as well as in computing clusters. Figure 3.1 shows some sketches of unstructured meshes, where the geometrical notation has been introduced. For more information about the way the different terms of the conservation equations have been discretized, please refer to [1,25]. In order to better understand the modifications performed to the previous implementation (presented in [1]), a brief overview of the latter is presented in the first sub-section. Afterwards, the new treatment of mass and momentum equations, momentum source term coefficient, pressure in the interface zone and energy equations is described. 3.3.1 Overview of the previous implementation For the non-dimensionalized problem, with constant thermo-physical properties, the time-discretization of governing equations (3.1)-(3.3), result in [1]: 52 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES ∇ · ~ un+1=0 (3.8) ~ un+1−~ un ∆t=Rn+α(~ u)− ∇pn+1 d−S~ un+1(3.9) hn+1−hn ∆t=Rn+α(φ)(3.10) Here, Rn+α represents the sum of convective, diffusive and buoyancy terms integrated between time steps n and n+ 1 using some time-integration scheme, S is the non-dimensional source term coefficient introduced by the porous medium treatment and φ is the non-dimensional temperature. As explained in [1], the momentum source term has to be treated implicitly due to stability reasons. Decoupling of un+1 and pn+1 d is carried out applying divergence, imposing mass conservation [Eq. (3.8)] and rearranging terms: ∆t∇ · ∇pn+1 d 1+∆tS!=∇ · up(3.11) where: up=~ un+∆tRn+α(~ u) 1+∆tS (3.12) is a pseudo-predictor velocity, and thus: un+1=up−∆t ∇pn+1 d 1+∆tS!(3.13) from where the new velocity field ( un+1 ) is calculated. Equation (3.11) defines a linear system of equations of cell-node pressures, with variable coefficients depending on S , which needs to be solved using a linear solver. The algorithm for the resolution of the equations is the following: • Energy equation (3.10) : new enthalpy, temperature and porosity fields are calculated. • Pseudo-predictor velocities upusing previous velocity fields [Eq. (3.12)]. • Pressure equations (3.11) : calculation of the system coefficients and resolution using a linear solver (e.g. CG). • New velocity field using predictor velocity and new pressure field [Eq. (3.13)]. 3.3. NUMERICAL IMPLEMENTATION 53 (a) Away from solid nodes. (b) Near solid nodes. Diferent phases are indicated by the area filling. Figure 3.1: Notation used for the position of the nodes in an unstructured mesh. Letter P indicates the node being calculated, F a neighbouring node, f the face shared by nodes P and F, ˆ nf the vector normal to face f pointing outwards P, and ~ dPF the vector going from P to F. If node F contains solid, then the face connecting nodes P and F is denoted s f and the distance from P to this face ~ dPs f . 3.3.2 Mass and momentum Numerical implementation of the mass balance is modified by adding the effect of density variations: ρn+1 m−ρn m ∆t=−∇ · (ρn+1 l~ un+1)(3.14) Resulting in a modified version of the Poisson-like equations from that presented in [1] [i.e. Eq. (3.11)]: ∆t∇ · ∇pn+1 1+∆tS/ρn+1 l!=∇ · ρlup 1+∆tS/ρn+1 l!+ρn+1 m−ρn m ∆t(3.15) where, using Adams-Bashforth 2nd order time integration scheme (for simplicity): ρlup=ρl~ un+∆t3 2Rn(~ u)−1 2Rn−1(~ u)(3.16) is a pseudo-predictor velocity, and thus: ρlun+1= ρlup−∆t∇pn+1 1+∆tS/ρn+1 l!(3.17) 54 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES from where the new velocity field ( un+1 ) is calculated. R is the sum of convective, diffusive and buoyancy source terms. The change in density is taken into account in the last term of the right hand side of Eq. (3.15) . The new density ( ρn+1 m ) is assumed to be known at this point, since the energy equation is resolved before than momentum, and therefore, the new temperature field and thermo-physical properties are known. In the case of a fixed melting point, Eq. (3.4) can be used to calculate the change in density in the interface cells: ρn+1 m−ρn m ∆t=en+1−en ∆t(ρl−ρs)(3.18) which could be plugged into Eq. (3.15) ; e.g. when ρl is considered constant and the Boussinesq approximation is used for taking into account the thermal expansion/contraction in the liquid phase. It should be noted that up in Eq. (3.16) does not include the effect of the source term coefficient S . This effect is included afterwards, when the velocity is corrected by the effect of the pressure gradient, in Eq. (3.17) . This approach is different from that chosen in [1], where the effect of the momentum source term was included in the predictor velocity already. The modification presented here results in an interpolation of the face velocities more consistent with that used in the pressure terms in [1], which do not include the effect of the source term until the moment of performing the integration of the pressure gradient [first term of Eq. (3.15)]. Integrating Eq. (3.15) in space over a mesh cell and discretizing, it remains: ∆t VP∑ f  ∇pn+1 1+∆tS/ρn+1 l!f ·ˆ nfAf  | {z } modified pressure gradient flux −1 VP∑ f  "(ρl~ u)p 1+∆tS/ρn+1 l#f ·ˆ nfAf   | {z } modified predictor velocity flux =ρn+1 m,P−ρn m,P ∆t | {z } thermal expansion which, in short, stands for mass conservation: 1 VP∑ fP ˙ mn+1 f=ρn+1 m,P−ρn m,P ∆t(3.19) where the outgoing mass fluxes through faces are calculated as: ˙ mn+1 f=˙ mp f−∆t∇pn+1·ˆ nfAf (1+∆tS/ρl)f (3.20) 3.3. NUMERICAL IMPLEMENTATION 55 The resulting system of pressure equations can be written as: aP˜ pn+1 P+∑ fP aFf˜ pn+1 Ff=bP(3.21) where ˜ p=∆t p and: aFf=Af (−→ dPF ·ˆ n)fθFf+θP 2 aP=∑ fP −aFf bP=∑ fP ˙ mp fθFf+θP 2 +VP ρn+1 m,P−ρn m,P ∆t θi=1 1+∆tSi/ρn+1 l,i (i=Ff,P) Momentum source term coefficient (S) It can be observed [Eq. (3.17) ] that the source-term coefficient S produces a damping of the new velocity by a factor of 1 1+∆tS/ρl (3.22) In [1], different forms of the momentum source-term coefficient ( S ) were studied in terms of the “smoothness ” of the associated velocity damping produced. In particular, the approach proposed by Voller et al. [12] S=C(1−e)2 e3+q(3.23) where C is an arbitrary (big) constant and q is a very small value included to avoid division by zero, resulted to be the best of those studied, in terms of smoothness. However, analyzing equations (3.22) and (3.23) , it can be seen that the damping effect depends on the values of C , ρl and ∆t . In the case of a porous medium, there are expressions to calculate the value of C from the thermo-physical properties of the fluid [19]. In the case of a change of phase in a temperature range, where a mushy zone is formed, some of these expressions should be used. On the other hand, as 56 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES Figure 3.2: Damping factor vs. e, with the proposed approach stated in [14] and [1], in the case of a change of phase at a fixed temperature there is no mushy zone and the interface should be of infinitesimal width. Therefore, there is no physical meaning of the source term, and it is just intended to act as a velocity damper in the solid-containing cells. With this in mind, a new strategy is followed for the choice of S . The idea is to retain the smoothness obtained with Eq. (3.23) , with respect to the value of e , with independence of the values of ∆tand ρ. Hence, a damping of 0.5 is fixed for e=0.5, resulting in: S=ρl 2∆t(1−e)2 e3+q and (disregarding q): 1 1+∆tS/ρl =2e3 2e3+ (1−e)2 The resulting curve of the damping factor vs. eis shown in figure 3.2. Solid boundary conditions Solid, no-slip, boundary conditions are treated in detail in this section; not only because they are extensively used in the study cases but also because they are related to the way the solid-liquid interface inside the domain have been treated in [1]. A modification to such strategy is the issue of the next section. The velocity and mass flux in the solid boundaries are fixed to zero, the predictor velocity is not calculated since it is not needed (pressure of the boundary not included in the pressure system of equations, as in [1]): 3.3. NUMERICAL IMPLEMENTATION 57 ~ usb =0; ˙ msb =0 The pressure is needed for calculating the pressure gradient of the cell and is determined in order to give a pressure gradient such that the cell-centered velocity results parallel to the boundary: ~ uP·ˆ nsb =0 (3.24) thus, using Eq. (3.17): ~ ρluP·ˆ nsb =ρl~ up−∆t∇p 1+∆tS/ρlP ·ˆ nsb =0 ⇒(ρl~ up−∆t∇p)P·ˆ nsb =0 which, integrating and discretizing over the cell containing node P, gives: Vρl~ up ∆tP ·ˆ nsb −∑ fP pfˆ nfAf·ˆ nsb =0⇒ psb Asb =Vρl~ up ∆tP ·ˆ nsb −∑ f6=sb pfˆ nfAf·ˆ nsb (3.25) from where the pressure of the solid boundary psb is calculated, after having determined the variables ~ upand pin the cells. This condition on pressure in fact arises from a 2 nd order boundary condition for ~ u·ˆ nsb , as is shown next. Due to mass conservation (neglecting the possible change in fluid density), the component of the velocity normal to the solid face should be zero: ∇ · ~ usb =0⇒0 ∂ut1sb ∂xt1sb +0 ∂ut2sb ∂xt2sb +∂un ∂xnsb =0⇒∂un ∂xnsb =0 where ˆ t1sb and ˆ t2sb are the two components tangent to the solid face, over which the velocity is zero in all the solid boundary. Therefore, the component of the cell-centered velocity normal to the solid boundary can be approximated as: ~ uP·ˆ nsb = >0 ~ usb ·ˆ nsb +  0 ∂un ∂xnsb ∆xn+O(∆x2 n) ⇒~ uP·ˆ nsb =0+O(∆x2 n) 58 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES from where it can be seen that Eq. (3.24) results in a second order approximation. It should be pointed out that this boundary condition for pressure is applied due to being using a collocated mesh scheme, where the velocities at the center of the cells are not the ones directly involved in the mass conservation. The pressure system of equations involves the mass fluxes through the cell faces, and therefore, the cell-centered pressure values are determined in order to enforce mass conservation of those mass fluxes. For this task, the pressure of the solid boundaries is not used nor needed (as seen in [1]), which is equivalent to adopting the usual boundary condition for pressure in solid faces (∂p ∂n=0) in the poisson-like system of equations. If ∂p ∂n= 0 is used as the boundary condition for calculating the pressure in the solid faces, large normal velocities may result due to the effect of body forces (e.g. gravitational), which are not correctly counteracted by the resulting pressure gradient. This effect is mentioned in [26] and has been experienced by the authors. However, the cell-centered velocities are calculated afterwards, and involve the calculation of the pressure gradient over the cell. This pressure gradient is the one using the value of the pressure in the solid boundary and is the one affected by the boundary condition imposed. Furthermore, the boundary condition imposed by Eq. 3.25 ensures that the viscous stress normal to the solid boundary is zero as it should be [26], without needing to modify the diffusive term explicitly: ∇ · (µ∇~ u)w∑ f µf∇~ u·ˆ nf= ∑ f6=sb µf∇~ u·ˆ nf+µsb     0 ∂un ∂xnsb ˆ nsb +∂ut1 ∂xn ˆ t1sb +∂ut2 ∂xn ˆ t2sb    Pressure equation - cells close to the solid phase The pressure field effectively acts in the liquid domain, where it enforces mass conservation. In the solid domain it is not needed and it is required not to produce artificial “filtration” of flow through the interface into (or out from) the solid domain. This filtration effect could be produced due to the fact that between neighbouring liquid and solid cells, resulting from the solution of the system of equations, the pressure values will generally be different, and therefore, mass flows through the faces could be different from zero if calculated using Eq. (3.20). As in [1], the strategy is to decouple liquid (or liquid-containing) and solid domains by modifying the pressure system of equations. In [1], this decoupling was 3.3. NUMERICAL IMPLEMENTATION 59 (a) Internal solid boundary approach. (b) Proposed approach. Figure 3.3: Velocity vectors of liquid-containing cells close to solid cells. Dark zone corresponds to the solid phase. performed treating the solid-cells faces as solid boundaries. This internal boundary condition was applied to the faces of the solid cells in the same way as for the solid boundaries of the domain, enforcing the cell-centered velocities to be parallel to these internal solid boundaries (see previous sub-section). This strategy resulted in a fluid velocity field —near the solid phase— that changed direction following the shape of the solid cells, specially where totally liquid cells are in contact with totally solid ones. Since the interface is not exactly determined and its shape depends on the shape of the mesh cells, this “internal solid boundary” is usually highly irregular (this is particularly true in the case of a 3D unstructured mesh of a spherical capsule), and therefore, to enforce the velocity field to follow this artificial boundaries does not necessarily result in an accurate representation of the flow [see e.g. the sketch in figure 3.3(a)]. Moreover, the implementation of such internal boundary condition is quite complex in terms of program coding, since different possibilities have to be taken into account regarding the number of solid neighbors of a liquid-containing cell; i.e. if the cell has more than one solid neighbor its cell-centered velocity has to be parallel to all the non-parallel solid faces. Furthermore, if the changes in density are to be taken into account, the condition on the cell-centered velocity normal to the solid faces has to be modified. Due to these difficulties in the adoption of the internal solid boundary condition, another simpler approach is proposed in this work, which automatically adapts to the formulation with variable density. Here, the internal solid boundary condition for the 60 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES Figure 3.4: Sketch of unstructured mesh. White: liquid. Striped: interface. Light grey: solid-liquid cells (included in the non-trivial sub-system of pressure equations). Dark grey: solid-solid cells (trivial system of pressure equations). pressure is “alleviated”. Instead of directly imposing the solid boundary condition to the internal solid faces, the neighbor solid cell is used as a ghost cell for the pressure and introduced into the pressure system of equations. Therefore, two categories of solid cells are defined: solid-solid and solid-liquid (see fig. 3.4). The former accounts for the solid cells whose neighbors are all also solid, while the latter contains the solid cells which have at least one liquid-containing neighbor cell. The solid-solid cells are the ones decoupled from the rest, enforcing zero filtration through their faces, while the solid-liquid cells are maintained in the system of pressure equations. Therefore, the pressure equations for the solid-solid cells remain as those presented in [1]: aP˜ pn+1 P=bP Since solid-liquid cells are maintained in the system of pressure equations, pressure is calculated in such cells as in the liquid-containing sub-system, enforcing mass conservation. The resulting pressure equations for these cells depend on the amount of liquid-containing neighbors. For example, for the solid-liquid cells with one and two neighbors, the equations remain: 3.4. DEFINITION OF THE CASE STUDY 67 presenting a lower numerical diffusion. A comparison between the results obtained with both schemes is carried out in the results section. 3.4.2 Physical properties Difficulties have been encountered in the search of the physical properties of n- Octadecane near the melting point. Specially for density of the solid phase and thermal conductivity of both phases, as well as for the fusion temperature. Little information, and sometimes, high disagreements between the different sources has been found. Constant properties As a first approximation, thermo-physical properties were taken from [15]. The significant quantitative difference between experimental and first numerical results led to the suspicion of being using wrong properties. Therefore, a thorough search for physical properties has been carried out. Very little information has been found for some of them, such as density and thermal conductivity of the solid phase. Table 3.2 depicts the numerical properties obtained from [15] and those generated using the data found in the literature [31–38]. Table 3.2: Constant physical properties of n-Octadecane LρCpλ µ β J kg−1 kg m−3 J kg−1K−1 W m−1K−1[Pa s]K−1 From Tan et al. [15] 243500 772 2300 0.1505 3.86 E-3 9.1 E-4 From literature [31–38] 242454 774.5 2225 0.1505 3.57 E-3 9.42 E-4a Proposed in this work ( L modified) 270159 774.5 2225 0.1505 3.57 E-3 9.42 E-4a aCalculated as ρl(313.15K)−ρl(301.33K) 774.5 kg m311.82Kusing the correlation for liquid density from [34]. An important issue to point out is that the value of latent heat adopted in our simulations is not exactly the one found in [31], but a correction of that value considering the fact that the density of the liquid phase is being adopted for both phases. Thus, the value of L is augmented by the ratio between solid and liquid densities ( ρs/ρl ) in order to obtain the real latent heat inside each control volume. Therefore, 68 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES Lmod =242454ρs ρl =270159J/kg; with: ρs=863kg/m3(3.33) If the original value of L were used together with a density equal to that of the liquid phase, less energy than that actually needed would be required to melt the solid contained in the same control volume, and therefore, a faster melting would be obtained. This issue has not been addressed by other authors (e.g. [15,17]), and has probably been a source of error in their numerical simulations. In this case, adopting the real latent heat or the modified one results in that around 10% more energy is needed to melt the n-Octadecane contained in the same control volume for the latter case. This is one possible cause for having melting rates higher than those registered in the experiment, by the numerical simulations of Tan et al. [15] and Zhao et al. [17]. Variable properties In the pursue of accurate thermo-physical properties of n-Octadecane, several works have been consulted (several more than those referred in this work). Discrepancies have been found for some properties between different works. The correlations finally adopted are presented below, along with comments about their accuracy and some other related observations. • Melting temperature ( Tsl ): taken from the experimental work of Messerly et al. [31]. A fixed value of 301.33 K (28.18 °C ) has been adopted. Several references [32, 39] indicate that n-Octadecane does not present disordered phases between the low temperature ordered solid phase and the liquid phase, resulting in a change of phase at a single temperature. There is some disagreement about this value, and melting points as low as 300.2 K have been reported [33]. Furthermore, it has been seen in the scientific literature (e.g. in [32]) that impurities could modifiy the behaviour of pure n-Octadecane resulting in a modification of the melting temperature and of the latent heat of fusion. It is believed, due to the experimental temperature curves presented in [15] that the material used in the experiments could present a melting temperature range within 27-29 °C . This could definitely be a cause of differences between experimental and numerical results. With this in mind, numerical simulations using a melting point of 300.35 K (27.2°C) are also carried out in this work. • Latent heat of fusion ( L ): 242454 J/kg , calculated from the liquid and solid enthalpies at 301.33 K indicated in [31]. As mentioned above, this value could be modified by the presence of impurities. •Liquid density (ρl): correlation adopted from [34], 3.4. DEFINITION OF THE CASE STUDY 69 ρl=1010.07 −0.80587 T+0.00012463 T2 where ρl is expressed in kg/m3 and the temperature is in K . The variation of this value in the working range of temperatures is around 1% using the above correlation. Although the authors of the referred work define a range of validity of their correlation which do not include the temperature range between the melting point and the maximum temperature present in the experiment of Tan et al. [15], comparison with the experimental curve presented in [35] shows a fairly good agreement for this range of temperatures. •Liquid viscosity (µl): correlation adopted from [36], log10 µl=−11.5505 +1670.8 T+0.015675 T−1.2341 ×10−5T2 where µlis expressed in Pa.sand the temperature is in K. This correlation reproduce almost exactly the experimental values from [40] in the range of temperatures of interest. The variation of this property is not negligible in the working range of temperatures of the liquid phase (∼30%). •Liquid thermal conductivity (λl): linearized correlation from [37], λl=0.156427 −0.0001841779(T−273.15) where λl is expressed in W/m . K and the temperature is in K . The variation of this property in the working range of temperatures, using the above expression, is less than 2%. Differences of around 5% have been found with those values calculated using the correlation from [36], and higher with respect to [38]. In the latter work, a value of liquid thermal conductivity of 0.18 W/mK (20% higher than that obtained with the present correlation) has been reported at the melting point. •Liquid specific heat (Cp,l): linearized correlation from [37], Cp,l=2137.1456 +2.7186(T−273.15) where Cp,l is expressed in J/kg . K and the temperature is in K . The variation of this property in the working range of temperatures, using the above expression, is less than 2%. 70 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES The present correlation agrees very well with the experimental data from [31]. Differences of up to 10% can be found with the values calculated with the correlation from [39], which is seen to underpredict the values in the temperature range between 300 - 320 K. • Solid density ( ρs ): a value of 863 kg/m3 has been adopted. There is a high uncertainty in this value, as no exact information has been found. It has been very roughly approximated from the density curve presented in [35]. There is a significant difference between the densities of the liquid and solid phases. With the values adopted in this work, at the melting point, this difference is of ∼11% (with respect to the liquid density). • Solid thermal conductivity ( λs ): a fixed value of 0.3362 W/m . K has been adopted, calculated from the ratio ks/kl presented in [38] and from kl (at the melting point) determined using the previously indicated correlation. There is high uncertainty in this value as high dispersion has been found between different sources consulted. The authors believe that the ratio ks/kl= 0.45 is the most accurate value of those found in [38] due to the procedure used for its determination, which do not depend on the density of any of the phases. However, it is believed that there is a somewhat linear variation of this property with the temperature, as seen for other n-alkanes [41]. Unfortunately, no correlation has been found for the n-Octadecane. In any case, there is a significant difference between the thermal conductivities of the liquid and solid phases, which could be a source of error in the numerical simulations if not properly taken into account. •Solid specific heat (Cp,s): linearized experimental data from [31], Cp,s=1652.9056 +10.2673(T−273.15) The above expression results in a variation of less than 1% of this property in the working range of temperatures for the solid phase. However, there is a significant difference between the specific heats of the solid and liquid phases, which is around 13%. The correlation presented in [39] has not been adopted here due to not being very accurate in the temperature range near the melting point, as indicated by the authors. 3.4. DEFINITION OF THE CASE STUDY 71 3.4.3 Initial and boundary conditions Initial conditions Initially, all the PCM is in its solid state. However, in order to avoid the formation of liquid cells completely surrounded by solid cells —which would cause divergence, due to the impossibility of the less dense fluid to leave these cells— a liquid film close to the shell has been included in the initial conditions. The width of this layer is around 3% of the radius of the capsule ( ∼ 1.5 mm), resulting in an initial total liquid fraction of ∼ 8.5%, depending on the mesh. Therefore, all numerical simulations in this work are assumed to start in a state corresponding to that of the experiment at t = 12 minutes, which seems to be the time at which liquid fraction is around ∼ 8.5%, according to the figures presented by [15]. For the liquid film, a temperature equal to the melting point has been adopted. For the solid phase, a uniform temperature of 26.5 °C has been assumed, estimated from the experimental temperature curves presented in [15]. Boundary conditions •Capsule shell In the numerical results reported by Tan et al. [15], the melting rate was overpredicted when compared to the experimental data. They justified the sources for such discrepancy in the consideration of a constant temperature for the external surface of the capsule shell, when the presence of the base supporting the capsule could be avoiding a good heat transfer in this zone, and furthermore, a thermal stratification could have developed in the water bath. With this in mind, instead of adopting a constant temperature for the outer surface of the capsule, a convection coefficient acting between the water bath and the shell is assumed. In fact, two values of this coefficient are tested, one considering a high heat transfer rate between the water bath and the capsule and another one with a low heat transfer rate. Therefore, the capsule shell is represented as a solid, no-slip boundary (see section 3.3.2), with a fixed external temperature (40 °C ) and an equivalent resistance to the heat transfer ( heq ) encompassing thermal convection between the bath and the outer surface and conduction through the glass, respectively. A heat flux into the cell adjacent to the capsule is enforced as: ˙ qsb =Asb (Twb −TP) Asb Aextheq +~ dP,sb·ˆ nsb kf 72 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES where the thermal resistance has been indicated as a sum of external (bath + shell) plus internal (portion of fluid between cell center and solid face) heat transfer resistance. The two values of heq here adopted are 796 W/(m2K) and 237 W/m2K . The former corresponds to a convective heat transfer between bath and shell of around 3000 W/m2K , while the latter corresponds to a convective coefficient of around 300 W/m2K . The thickness of the glass capsule shell is 1.5 mm. Actually, what is really imposed as a thermal boundary condition is the temperature of the boundary face, which is determined in order to give the previous heat flux into the cell, as follows: Tsb = Aextheq Asb Twb +kf ~ dP,sb·ˆ nsb TP Aextheq Asb +kf ~ dP,sb·ˆ nsb •Upper opening (variable density cases) Fluid flow is allowed to go out from (or into) the capsule through this upper opening. For this, a condition on pressure is applied, resembling a Bernoulli equation, in the form: pf b =p∞−γρu2 2 where γ is a coefficient controlling the loss of kinetic energy, which can take values from 0 to 1. In the cases presented, values of p∞= 0 and γ= 0.5 have been used. The velocities of the boundary faces are assumed to be equal to those of the corresponding cell nodes. For the temperature, in the boundary faces through which the flow goes out from the capsule, a zero derivative has been assumed, taking the value of the cell. For the boundary faces through which the flow comes into the capsule, the temperature of the incoming flow has been assumed to be the mean value (weighted by the mass flow) of the temperature corresponding to the flow going out from the capsule. This results in a zero overall transport of thermal energy through the opening. For the lateral surface of the upper opening —which is part of the capsule shell— the same heat flux condition is used as for the rest of the shell, in 2D cases. However, in 3D cases, a further improvement has been introduced by modeling the fact that this part of the shell is in contact with the outer air instead of with the water bath, as it is apparent in the pictures of the experiments presented 3.5. RESULTS 73 in [27]. For this zone, in 3D cases, a value of 5.1 W/m2 has been adopted for heq and 25°C for the external (air) temperature. •Periodic faces (2D) For carrying out 2D simulations, where axi-symmetry is assumed, the faces of the sphere slices (see 2D meshes from fig. 3.6) should not affect the solution in any way. Therefore, zero derivative has been adopted for all the variables, as well as zero mass flux through the faces. No contribution of these boundary faces is produced over the diffusive, convective or source terms of all the equations. 3.5 Results Several simulations have been run using the different meshes designed, for two and three-dimensional analyses, as well as using constant and variable thermo-physical set of properties. Since the thermal boundary conditions are not exactly known, two different values have been tested for the equivalent heat transfer coefficient between the water thermal bath and the internal surface of the capsule shell ( heq = 796 W/m2K and heq = 237 W/m2K ). Furthermore, since the experimental temperature curves observed in [15] indicate that the onset of the phase change may be occurring at a temperature of around 27 °C , simulations assuming a melting point of 27.2 °C have also been run. Three combinations of thermal boundary condition and melting point are codified as cases A, B and C, as depicted in Table 3.3. Table 3.3: Cases run using different combinations of boundary conditions and melting point Code heq (W/m2K)Tsl (°C) A 796 28.18 B 237 28.18 C 237 27.2 Comparison is performed between simulations using UPWIND and SYMMPRES convective schemes, two and three-dimensional meshes and constant and variable properties. Agreement with experimental results is also addressed. 74 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES 3.5.1 Convective scheme and grid convergence As indicated in section 3.4.1, two schemes have been adopted for the discretization of the convective term of the energy equation, first-order UPWIND and SYMMPRES. Figure 3.7 show results of evolution of global liquid fraction for the different cases using each convective scheme. A better match with experimental results is observed in the results using the symmetry preserving scheme. Furthermore, the discrepancy between results with different meshes is higher in the cases using the UPWIND scheme, indicating a worse grid convergence. The differences between results using constant and variable properties are also higher in the cases where the UPWIND scheme was adopted. All these observations indicate that the numerical diffusion is affecting the cases were the UPWIND scheme was used and that the symmetry preserving scheme seem to give more accurate results. Unbounded values of temperature has been observed at some specific locations in the SYMMPRES cases, but this problem do not seem to affect the results as much as the numerical diffusion produced by the UPWIND scheme. For this reason, the results presented in the following sections correspond to the simulations using the SYMMPRES scheme. As the mesh density is increased, the melting rate tends to decrease. This behavior is observed for all the combinations of properties and boundary conditions tested. With the meshes used, it cannot be stated that grid convergence has been reached, although the results obtained with the SYMMPRES cases show a quite low disparity between them. 3.5.2 Thermo-physical properties As indicated in section 3.4.2, when defining the constant thermo-physical properties used representative of the material in the working conditions, a modification to the latent heat was performed in order to correct the error in total energy; which comes from the fact of not considering the difference in density between liquid and solid phases. Figure 3.8 shows the difference in liquid fraction evolution between three 2D simulations of case A, using different set of properties. For the first, constant properties shown in Table 3.2, without the modification of L , were adopted. In the second, constant properties with the modified L were used. In the third, different densities and specific heats for liquid and solid phases are adopted (and therefore a mesh with the upper opening is used for allowing fluid escaping from the shell) but with the rest of the properties constant. ρ= 863 kg/m3 and Cp= 1940 J/kgK−1 were used for the solid phase. Both simulations using constant properties were run with the same mesh, while for the other a mesh with a similar amount of cells was adopted. It can be observed how the melting rate in the case with the unmodified L is 3.5. RESULTS 75 (a) Case A. Constant properties. UPWIND. (b) Case A. Variable properties. UPWIND. (c) Case A. Constant properties. SYMMPRES. (d) Case A. Variable properties. SYMMPRES. (e) Case B. Variable properties. SYMMPRES. (f) Case C. Variable properties. SYMMPRES. Figure 3.7: Global volumetric liquid fraction vs. time for the different cases with 2D and 3D meshes, using upwind or symmetry preserving schemes. 76 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES Figure 3.8: Numerical results of the evolution of global e with time for case A. L orig : constant properties, unmodified value of L ; mesh: 2D-NO-7.7E3. L mod : constant properties, modified value of L ; mesh: 2D-NO-7.7E3. L orig , ρ and C p diff.: different densities and specific heats for liquid and solid phases with the rest of the properties constant; mesh: 2D-WO-9E3. higher than for the other two cases. The case with constant properties and modified L evolves almost exactly as the one where the differences in ρ and Cp are considered. These observations indicate that the density scaling of L compensates the fact of using the liquid density for both phases, and that the effect of the expansion in the melting is not very significant for this case. Furthermore, plots of the evolution of the global liquid fraction of two 2D simulations, one using constant properties and another taking full account of the properties variations with temperature, are depicted in figure 3.9. It is observed that considering the change of properties with temperature result in a slight increase of the melting rate. Further analysis, after running several simulations changing the property for which the variations with temperature are accounted for, seem to indicate that the property whose variation is affecting the melting rate the most is the thermal conductivity, and specially that of the liquid phase. 3.5.3 2D vs. 3D Figures 3.10 and 3.11 show the temperature and liquid fraction maps, as well as the streamlines of 2D and 3D simulations for two different moments corresponding to the experiment after t∼22 and t∼47 minutes, respectively. Results shown correspond to 3.5. RESULTS 83 (a) Mesh: 2D-WO-9E3 (b) Mesh: 3D-WO-1.6E6 Figure 3.15: Evolution of T vs. time, for numerical and experimental results (extracted from [15]), at two different locations of the vertical axis (indicated in cm, with y= 0 being the center of the capsule). Case C, using variable properties. may be being predicted in the simulations. This is specially true for 2D cases, where 84 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES (a) Mesh: 2D-WO-9E3 (b) Mesh: 3D-WO-1.6E6 (c) Mesh: 3D-WO-5E6 Figure 3.16: Evolution of T vs. time, for numerical and experimental results (extracted from [15]), at a location in the axis close to the bottom of the capsule. Case C, using variable properties. the high velocity flows generated at the bottom cannot escape to the top of the capsule, causing higher thermal oscillations in this zone. Furthermore, it is believed that the onset of the phase change in the experiment is produced at a lower temperature than that found in the literature (28.18 °C ), and may be occurring in a temperature range of around 27-29 °C . This would explain that the experimental temperature curves stay nearly horizontal around 27 °C and rise more “smoothly” than in the numerical results. By adopting a melting point of 27.2 °C (case C), the temperature evolution of the solid phase is better predicted, but the increase after melting is still much higher 3.5. RESULTS 85 (a) Experiment (t=40 min). (b) Experiment (t=60 min). (c) Experiment (t=80 min). (d) Numerical (t∼40 min). Mesh: 2D-NO-32E3. (e) Numerical (t∼60 min). Mesh: 2D-NO-32E3. (f) Numerical (t∼80 min). Mesh: 2D-NO-32E3. (g) Numerical (t∼40 min). Mesh: 3D-NO-1.4E6. (h) Numerical (t∼60 min). Mesh: 3D-NO-1.4E6. (i) Numerical (t∼80 min). Mesh: 3D-NO-1.4E6. Figure 3.17: Experimental photographs at texp = 40, 60 and 80 minutes (Reprinted from [15] with permission from Elsevier) and our numerical results for case A, using constant properties, with 2D and 3D meshes. Liquid fraction map (dark: liquid; light: solid) is shown for the numerical results. 86 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES (a) Experiment (t=40 min). (b) Experiment (t=60 min). (c) Experiment (t=80 min). (d) Numerical (t∼40 min). Mesh: 2D-WO-9E3. (e) Numerical (t∼60 min). Mesh: 2D-WO-9E3. (f) Numerical (t∼80 min). Mesh: 2D-WO-9E3. (g) Numerical (t∼40 min). Mesh: 3D-WO-5E6. (h) Numerical (t∼60 min). Mesh: 3D-WO-5E6. (i) Numerical (t∼80 min). Mesh: 3D-WO-1.6E6. Figure 3.18: Experimental photographs at texp = 40, 60 and 80 minutes (Reprinted from [15] with permission from Elsevier) and our numerical results for case C, using variable properties, with 2D and 3D meshes. Liquid fraction map (dark: liquid; light: solid) is shown for the numerical results. 3.5. RESULTS 87 than in the experiment. In 3D results of case C with the densest mesh (3D-WO-5E6, Fig. 3.16(c)), the amplitude of the temperature oscillations at position A is very similar to the observed in the experimental data, and lower than the obtained with the coarser 3D mesh (3D-WO-5E6, Fig. 3.16(b)). However, the predicted mean value is somewhat lower in both cases, which may be another indication of the presence of solid phase at a temperature higher than the assumed melting point. In figures 3.17 and 3.18, the interface shapes at different instants for both experimental and numerical results are presented. A very good agreement with the experiment is observed in general for the 3D simulations, specially for those using variable properties; while the effect of eddy trapping (mentioned above) produce a higher disagreement in 2D cases. Regarding the thermal boundary condition, it is difficult to draw clear conclusions about which of both values of heq is more accurate. Observing global liquid fraction curves for case A ( heq = 796 W/m2K and Tsl = 28.2 °C ) with both constant and variable properties, and comparing the results obtained with 2D meshes of similar amount of cells (2D-NO-7.7E3 and 2D-WO-9E3), it is apparent that the melting rate is overpredicted with respect to the experimental data, specially if the variation of the thermo-physical properties is taken into account. However, in simulations using denser 2D meshes, it is observed that for both constant and variable properties the melting rate obtained is very close to that of the experiment (Figs. 3.7(c) and 3.7(d)). On the other hand, for a melting point of 28.2 °C , the value of heq = 237 W/m2K (case B) underpredict the real melting rate (see 3.7(e)). For 3D simulations of case C (with the lower melting point, variable properties and heq = 237 W/m2K ), the predicted melting rate is still somewhat higher than experimental, even for the densest mesh (3D-WO-5E6). Here, the higher difference between the water bath temperature and the melting point is expected to result in stronger convection than in case A, and thus, in higher melting rates for the same value of heq. This could explain the very good results obtained with the lower heq. In the belief that the material used in the experiment undergoes a phase change at a temperature range, it is possible that the solid phase is still present at temperatures higher than 28 °C . Therefore, it is possible that the convection is not as strong as that resulting from the phase transition at a fixed melting point of 27.2 °C , and thus, the higher value of heq is believed to be more accurate. Nevertheless, when comparing the melting rates of cases A and B with the same mesh 2D-WO-9E3, a difference of around 15-20% is obtained, which is not much, considering that heq for case A is three times higher than for case B. With the use of an accurate melting temperature range, as well as more accurate boundary conditions, three-dimensional numerical simulations would most probably be even closer to experimental results. Regarding thermo-physical properties, of special importance in this case is to have a more accurate value of the solid phase 88 CHAPTER 3. PHASE-CHANGE MODELING WITH VARIABLE PROPERTIES density, since it affects the total amount of latent energy initially contained in the capsule. It also affects the expansion in the melting, although this phenomenon has not been seen to influence the melting rate significantly in this case. 3.6 Conclusions A fixed-grid enthalpy model for unstructured grids using explicit time integration where the thermo-physical properties are variable and dependent on the temperature, has been developed and implemented in a numerical code. The formulation and algorithms for determining the temperature and liquid fraction (or porosity) from the total enthalpy, for phase change occurring at a fixed temperature or in a temperature range, have been described. Modifications of the model presented in [1], regarding different aspects such as the treatment of the conservation equations taking into account the thermal expansion/contraction, the approach for decoupling the pressure of solid and liquid-containing domains and the determination of the source term coefficient introduced by the porous medium approach, have been detailed. Furthermore, different possibilities for the discretization of the energy equation have been discussed. With the intention of accurately simulating the case of melting of n-Octadecane inside a spherical capsule taking into consideration both accurate constant properties as well as their variation with the temperature, a thorough search for thermo-physical properties has been performed. The correlations used have been presented, indicating their origin and accuracy (either quantitatively or qualitatively). Furthermore, it is indicated how in cases where the density differences between liquid and solid phases is not accounted for, the latent heat should be modified in order to obtain the same amount of total enthalpy inside the same control volume. Several two and three-dimensional simulations of the case study have been performed. The discretization of the convective scheme of the energy equation has been observed to affect considerably the results, for which the symmetry preserving scheme seem to give more accurate results than the first-order UPWIND scheme. From the comparison between 2D and 3D results, significant differences have been encountered in the flow patterns developed, originated in the unstable thermal zone in the bottom of the capsule. These different flow structures result in different melting rates in the bottom zone near the axis of symmetry, although the evolution of global liquid fraction does not appear to be significantly different between 2D and 3D simulations. Comparison against experimental results allow to state that the agreement obtained with the 3D simulations is higher than with those assuming axi-symmetry (2D). Regarding the thermo-physical properties used, it has been shown that when using the liquid density for both phases, scaling the latent heat with the density ratio References 89 (solid/liquid) compensate for the error in the total energy per unit volume needed for producing the melting, and more accurate results of the evolution of global liquid fraction are obtained. Furthermore, it is observed that accounting for the full variation of the properties with the temperature results in slightly higher convective fluxes and overall faster melting, which has been seen to be mostly due to the change in the thermal conductivity. On the other hand, it is apparent from the experimental curves of temperature evolution at some locations, that the material undergoes a phase-change in a range of temperatures instead of at a fixed melting point, which can be a cause of discrepancy between experimental and numerical results. Another source of discrepancy is the thermal boundary condition in the capsule shell, which in this work has been treated as an equivalent heat transfer coefficient between the thermal bath and the internal surface of the shell and a fixed temperature for the thermal bath. Two different values for this coefficient have been tested. The highest of both resulted in melting rates closer to the experiment in the cases where a melting point of 28.2 °C was assumed, while the lowest resulted in better agreement for the cases with a melting point of 27.2 °C . Since it is apparent that the solid phase may still be present at temperatures higher than 28.2 °C , it is believed that simulations considering the phase change temperature range, may be closer to the experimental results if a heat transfer coefficient closer to the highest of both is used. Nevertheless, it is observed that the difference in the melting rates obtained with one or another value for the same mesh, are much less significant than the difference between them. Overall, a good agreement between experiment and numerical results is observed, specially for 3D simulations taking into account the variation of thermo-physical properties with the temperature. Results obtained in the present work are closer to the experimental results than those presented by other authors [15,17]. Acknowledgements This work has been financially supported by the Ministerio de Economía y Competitividad, Secretaría de Estado de Investigación, Desarrollo e Innovación, Spain (ENE-2011-28699), by Termo Fluids S.L., by the Secretaria d’Universitats i Recerca (SUR) del Departament d’Economia i Coneixement (ECO) de la Generalitat de Catalunya and by the European Social Fund. References [1] P. Galione, O. Lehmkuhl, J. Rigola, and A. Oliva, “Fixed-grid modeling of solidliquid phase change in unstructured meshes using explicit time schemes,” Numer. 90 References Heat Tr. B-Fund., vol. 65, pp. 27–52, 2014. [2] M. Liu, W. Saman, and F. Bruno, “Review on storage materials and thermal performance enhancement techniques for high temperature phase change thermal storage systems,” Renew. Sust. Energ. Rev., vol. 16, pp. 2118–2132, 2012. [3] W. Steinmann and R. Tamme, “Latent heat storage for solar steam systems,” J. Sol. Energ.-T. ASME, vol. 130, pp. 011004–1–011004–5, 2008. [4] H. Michels and R. Pitz-Paal, “Cascaded latent heat storage for parabolic trough solar power plants,” Sol. Energy, vol. 81, pp. 829–837, 2007. [5] S. Jegadheeswaran and S. D. Pohekar, “Performance enhancement in latent heat thermal storage system: A review,” Renew. Sust. Energ. Rev., vol. 13, pp. 2225– 2244, 2009. [6] K. A. R. Ismail and R. Stuginsky Jr., “A parametric study on possible fixed bed models for pcm and sensible heat storage,” Appl. Therm. Eng., vol. 19, pp. 757–788, 1999. [7] J. P. Bédécarrats, J. Castaing-Lasvignottes, F. Strub, and J. P. Dumas, “Study of a phase change energy storage using spherical capsules. Part II: Numerical modelling,” Energ. Convers. Manage., vol. 50, pp. 2537–2546, 2009. [8] S. M. Flueckiger and S. V. Garimella, “Latent heat augmentation of thermocline energy storage for concentrating solar power —A system-level assessment,” Appl. Energ., vol. 116, pp. 278–287, 2014. [9] C. J. Ho and V. R., “Heat transfer during melting from an isothermal vertical wall,” J. Heat Trans.-T. ASME, vol. 106, pp. 12–19, 1984. [10] F. Wolff and R. Viskanta, “Melting of a pure metal from a vertical wall,” Exp. Heat Transfer, vol. 1, pp. 17–30, 1987. [11] R. Viswanath and Y. Jaluria, “A comparison of different solution methodologies for melting and solidification problems in enclosures,” Numer. Heat Tr. B-Fund., vol. 24, pp. 77–105, 1993. [12] V. Voller and C. Prakash, “A fixed grid numerical modelling methodology for convection-diffusion mushy region phase change problems,” Int. J. Heat Mass Tran., vol. 30, pp. 1709–1719, 1987. [13] H. S. Udaykumar, R. Mittal, and W. Shyy, “Computation of solid-liquid phase fronts in the sharp interface limit on fixed grids,” J. Comput. Phys., vol. 153, pp. 535–574, 1999. References 91 [14] A. D. Brent, V. R. Voller, and K. J. Reid, “Enthalpy-porosity technique for modelling convection-diffusion phase change: Application to the melting of a pure metal,” Numer. Heat Transfer, vol. 13, pp. 297–318, 1988. [15] F. L. Tan, S. F. Hosseinizadeh, J. M. Khodadadi, and L. Fan, “Experimental and computational study of constrained melting of phase change materials (PCM) inside a spherical capsule,” Int. J. Heat Mass Tran., vol. 52, pp. 3464–3472, 2009. [16] E. Assis, L. Katsman, G. Ziskind, and R. Letan, “Numerical and experimental study of melting in a spherical shell,” Int. J. Heat Mass Tran., vol. 50, pp. 1790– 1804, 2007. [17] W. Zhao, Elmozughi, A.F., A. Oztekin, and S. Neti, “Heat transfer analysis of encapsulated phase change material for thermal energy storage,” Int. J. Heat Mass Tran., no. 63, pp. 323–335, 2013. [18] A. Elmozughi, L. Solomon, A. Oztekin, and S. Neti, “Encapsulated phase change material for high temperature thermal energy storage â Heat transfer analysis,” Int. J. Heat Mass Tran., vol. 215, no. 2, pp. 465–484, 2006. [19] D. A. Nield and A. Bejan, Convection in Porous Media, ch. 1. Springer, 3 ed., 2006. [20] W. Rohsenow, J. Hartnett, and Y. Cho, Handbook of Heat Transfer, ch. 9. 1998. [21] C. Hsu and P. Cheng, “Thermal dispersion in a porous medium,” Int. J. Heat Mass Tran., vol. 33, pp. 1587–1597, 1990. [22] P. Galione, Lehmkuhl, O., J. Rigola, A. Oliva, and R. I, “Numerical simulations of energy storage with encapsulated phase change materials. Special emphasis on solid-liquid phase change CFD modelling,” in Proc. 12 th Int. Conf. Energy Storage (INNOSTOCK), no. INNO-SP-56, 2012. [23] O. Lehmkuhl, C. D. Pérez-Segarra, R. Borrell, M. Soria, and A. Oliva, “TERMOFLUIDS: A new Parallel unstructured CFD code for the simulation of turbulent industrial problems on low cost PC Cluster,” Lect. Notes Comput. Sci. Eng., vol. 67, pp. 275–282, 2009. [24] F. X. Trias and O. Lehmkuhl, “A self-adaptive strategy for the time integration of Navier-Stokes equations,” Numer. Heat Tr. B-Fund., vol. 60, no. 2, pp. 116–134, 2011. [25] O. Lehmkuhl, Numerical resolution of turbulent flows on complex geometries. PhD thesis, Universitat Politècnica de Catalunya, 2012. 92 References [26] J. Ferziger and M. Peri´c, Computational Methods for Fluid Dynamics, ch. 7. Springer, 2002. [27] F. L. Tan, “Constrained and unconstrained melting inside a sphere,” Int. Commun. Heat Mass, vol. 35, pp. 466–475, 2008. [28] http://www.ansys.com/Products/Other+Products/ANSYS+ICEM+CFD . ANSYS ICEM CFD. [29] R. W. C. P. Verstappen and A. E. P. Veldman, “Symmetry-preserving discretization of turbulent flow,” J. Eng. Math., vol. 187, no. 1, pp. 343–368, 2003. [30] L. Jofre, O. Lehmkuhl, J. Ventosa, F. X. Trias, and A. Oliva, “Conservation properties of unstructured finite-volume mesh schemes for the Navier-Stokes equations,” Numer. Heat Tr. B-Fund., vol. 65, no. 1, pp. 53–79, 2014. [31] J. Messerly, G. Guthrie, S. Todd, and H. Finke, “Low-temperature thermal data for n-Pentane, n-Heptadecane and n-Octadecane,” J. Chem. Eng. Data, vol. 12, pp. 338–346, 1967. [32] M. Broadhurst, “An analysis of the solid phase behavior of the normal paraffins,” J. Res. Nat. Bur. Stand., A: Phys. Chem., vol. 66, pp. 241–249, 1962. [33] A. Briard, M. Bouroukba, Petitjean, D., N. Hubert, and M. Dirand, “Experimental enthalpy increments from the solid phases to the liquid phase of homologous n-alkane series (C18 to C38 and C41, C44, C46, C50, C60),” J. Chem. Eng. Data, vol. 48, pp. 497–513, 2003. [34] D. Caudwell, J. Trusler, V. Vesovic, and W. Wakeham, “The viscosity and density of n-Dodecane and n-Octadecane at pressures up to 200MPa and temperatures up to 473K,” Int. J. Thermophys., vol. 25, pp. 1339–1352, 2004. [35] W. Seyer, R. Patterson, and J. Keays, “The density and transition points of the n-paraffin hydrocarbons,” J. Am. Chem. Soc., vol. 66, pp. 179–182, 1944. [36] C. Yaws, Transport Properties of Chemicals and Hydrocarbons, ch. 3. William Andrew, 2009. [37] J. Marano and G. Holder, “A general equation for correlating the thermophysical properties of n-paraffins, n-olefins, and other homologous series. 3. Asymptotic behavior correlations for thermal and transport properties.,” Ind. Eng. Chem. Res., vol. 36, pp. 2399–2408, 1997. [38] R. Holmen, M. Lamvik, and O. Melhus, “Measurements of the thermal conductivities of solid and liquid unbranched alkanes in the C16-to-C19 range during phase transition,” Int. J. Thermophys., vol. 23, pp. 27–39, 2002. 4.1. INTRODUCTION 99 and therefore less of the more costly HTF is needed when compared to an equivalent two-tank system. Different solid materials have been considered, such as quartzite rocks, granite, sand [5], asbestos-containing wastes [8], etc. Thermocline tanks rely on the principle of thermal stratification, which occurs in a fluid having temperature gradients under the action of the gravitational force. The hot fluid, having a lower density than the cold fluid, is pushed upwards by the buoyancy force while the low temperature fluid is displaced downwards. Therefore, the hot fluid is placed in the upper part of a tank, while the colder fluid stays at the bottom. As a consequence, a vertical temperature gradient is formed which is called “thermocline”. The filler material helps in maintaining the thermal gradient, preventing possible mixing flows that may be present due to effects such as cooling through the walls (see for instance [9,10]) or strong inlet flow currents [11]. Phase change materials (PCM) can also be used to store energy, using less storage material than would be used with a sensible energy storage medium, taking advantage of the latent energy changes during a phase change. The resulting storage device should be more compact, and hopefully cheaper, than one that only makes use of the sensible energy changes. Thermal storage devices using encapsulated PCMs have been studied as a form of thermal storage devices for CSP applications by several authors. Liu et al. [12] perform an extensive review of PCMs suitable to be used in TES for CSP plants and of heat transfer enhancement methods. Michels and Pitz-Paal [13] studied, experimentally and numerically, the performance of storage systems using vertical shell and tube heat exchangers with different PCMs enclosed between the shell and the tubes, with different melting points (cascaded PCM), for parabolic trough plants. Shabgard et al. [14] studied cascaded latent heat storage with gravityassisted heat pipes for CSP. They performed numerical simulations using a thermal network model and evaluated thermal performance of the different designs after a single charge/discharge cycle. Nithyanandam et al. [15] numerically analyzed packed bed thermal storage with single encapsulated PCMs by studying their performance after a single charging/discharging cycles and after a periodic cyclic state is reached. Parametric studies were performed and guidelines for designing latent thermocline storage systems for CSP were established. Flueckiger et al. [16] studied thermocline storage for solar power stations augmented with latent heat. They integrated their numerical model of the thermocline into a system-level model for the CSP plant and evaluated the effect of the increase of the storage capacity with latent heat. When compared against solid-filled thermocline, limitations in the thermal performance of designs including a single PCM were observed, while some improvement was obtained with some of the cascaded PCM configurations. Moreover, combination of latent and sensible storage devices has been studied for CSP plants with direct steam generation (DSG) [17], where a PCM storage unit is intended for vapor generation (evaporation) and the sensible energy units for 100 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP absorbing the sensible energy of the heat transfer fluid (preheating and superheating). One of the configurations that have received the most attention is that of packed beds. Many numerical investigations of thermal storage in packed beds can be found in the literature. Ismail and Stuginsky [18] performed a comparative analysis of different packed bed models used for sensible and latent heat storage. Flueckiger et al. [19] reviewed different experimental and numerical studies on thermocline tanks for solar thermal storage. On one hand, models for packed beds of solid materials [6,19 – 21] usually disregard the temperature gradients inside the particles. On the other hand, if the bed consists of PCM capsules [15,16,22,23], thermal gradients inside them may be significant and are generally, but not always, taken into account. Karthikeyan and Velraj [24] performed a comparison of three one-dimensional models for packed beds of PCM spherical capsules, where the effect of considering the radial variation of temperature inside the capsules was tested. All these models are based on discretizing the conservation equations for the heat transfer fluid and the filler bed, and usually, several simplifying assumptions are made. Depending on the scope of the numerical code, one- , two- or three-dimensional simulations can be performed. However, due to the significantly higher computational costs associated with two- (e.g. [6,20]) and three-dimensional (none found in the literature) models, one-dimensional analysis is usually chosen for studying several working cycles of TES systems [15,16,22–24]. In this work, a new concept of thermocline-like storage system is proposed, consisting in combining low-cost solid and PCM filler materials, appropriately chosen and placed inside the tank in a multi-layered manner. This concept, initially presented in a congress paper [25], is referred as Multi-Layered Solid-PCM (MLSPCM). The main idea behind MLSPCM configurations is the inclusion of high and low melting-point PCMs as filler materials at the ends of the tank, close to the inlet/outlet ports. In [25], the thermal performance of different MLSPCM designs was tested by means of a simplified numerical model. Preliminary results indicated that MLSPCM configurations may reduce the thermocline degradation occurring in the single-solid filled tanks and thus achieve a higher efficiency in the use of the storage capacity. Zanganeh et al. [26] recently studied a similar configuration using air as the heat transfer fluid, in which a single thin PCM layer of high melting point was placed at the top of a packed bed of rocks. They concluded that the PCM layer contributed to the stabilization of the outflow temperature but did not have an effect on the thermal efficiency of the system. The evaluation was performed after several charge/discharge cycles of the same duration. In this work, a numerical model for evaluating the thermal behavior and optimizing the design of packed bed systems is presented. The model considers axial thermal conduction within the heat transfer fluid and a special treatment for the convective term of the energy equation, diminishing the artificial numerical diffusion. Since the 4.2. MATHEMATICAL MODELING AND NUMERICAL IMPLEMENTATION 101 intention is to test both solid and PCM filler materials, radial variation of temperature within particles/capsules is taken into account. Numerical experiments are carried out in order to compare the thermal performance of the MLSPCM prototypes against different existent thermocline-like designs, such as solid-filled thermocline, single encapsulated PCM and cascaded PCM concepts. Several configurations are here analyzed and the results are discussed in detail. Thermal performance is evaluated after running several charge/discharge cycles, until a periodic state is reached. Time operation of the processes (charge and discharge) are not fixed beforehand but depend on the temperature of the fluid coming out of the TES, which is limited by some temperature thresholds. The intention with this is to mimic the operating conditions of a real CSP plant, where the solar receivers and power block impose certain limits to the temperature of the HTF. Thermal evaluation is mainly based on terms of total energy storage, efficiency in the use total storage capacity, proportion of PCM effectively changing phase and exergy outputs. 4.2 Mathematical modeling and numerical implementation Mass, momentum and energy conservation equations have to be solved in order to be able to simulate the thermal behavior of a thermocline-like tank. Some simplifying assumptions are made and empirical correlations are used. The most relevant assumptions are: 1. One-dimensional fluid flow and temperature distribution (in the flow direction). 2. One-dimensional heat transfer in filler particles/capsules (radial direction). 3. Spherical shape of filler particles/capsules. 4. Constant density of both fluid and filler bed materials (solid and PCM). 5. Natural convection and contact melting inside the PCM capsules are neglected. 6. Heat conduction between different filler material particles/capsules is not considered. 7. Negligible radiation heat transfer. The energy conservation equations are discretized using the Finite Volume Method (FVM). The tank is divided in Nx transversal cylindrical sections of height ∆x (see Fig. 4.2). In each tank section, a single representative particle/capsule needs to be simulated, as all are affected by the same fluid temperature due to the one-dimensionality 102 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP assumption. This filler particle/capsule, assumed as spherical, is discretized in the radial direction in Nrcontrol volumes, as shown in Fig. 4.2. (a) Sketch representing the cylindrical container with the PCM capsules packed in a random fashion (b) Discretization details of the tank and of a representative particle/capsule, indicating the sub-indices used for tank sections (i) and capsule control volumes (j) Figure 4.1: Domain and discretization 4.2.1 Energy Heat transfer fluid (HTF) The semi-discrete energy conservation equation of the fluid in the i th tank section (i=1...Nx) results in: ρfeiViCp,f ∂Tf,i ∂t=Atke f f ∂Tf ∂x i+1/2 i−1/2 −˙ mCp,f(Tf,i+1/2 −Tf,i−1/2) −nf m,i Tf,i−Ti,0 Rconv,i+Rcond,i −UambAw,i(Tf,i−Tamb)(4.1) where Ti,0 is the temperature of the internal surface of the particles/capsules (boundary node in fig. 4.2). In the advective term (second in the right hand side) the fluid is assumed to be coming from section i− 1 and going to section i+ 1. Rcond stands for the thermal resistance in the PCM capsules due to the capsule shell. The mass of the shell is disregarded here and is not considered to add any thermal inertia. The calculation of the thermal resistance due to convection between the HTF and the filler material ( Rconv ) requires the fluid-to-bed Nusselt number, which is calculated using the following correlation, obtained from [27]: 4.2. MATHEMATICAL MODELING AND NUMERICAL IMPLEMENTATION 103 Nu =2.0 +1.1Re0.6Pr1/3 where Re =ρfvfdp µf (4.2) As stated in [27], the correct use of (4.2) should take into account the effects of solid-phase conduction and thermal dispersion in the diffusive term [first term on the right hand side of (4.1) ] and not only molecular diffusion. Therefore, the effective thermal conductivity is evaluated as follows: ke f f =k0 e f f +kdisp e f f where the stagnant effective thermal conductivity ( k0 e f f ) is determined here as in [28]: k0 e f f = kf m kf!0.280−0.757log10(e)−0.057log10(kf m/kf) (4.3) and the effective conductivity due to thermal dispersion ( kdisp e f f ) is determined according to the following correlation [29]: kdisp e f f kf =0.00232Pe2where Pe =RePr In this work, some of the studied cases include one or several PCMs as filler materials. Since solid and liquid phases may have different thermal conductivities, a criterion is needed to determine the value of kf m used in (4.3) . The criterion adopted here consists in using the thermal conductivity calculated at the radius of capsule that divides the sphere in two parts of the same volume. Filler material The energy balance for the inner nodes (j=1...Nr) of the filler material remains: ρfVi,j ∂hi,j ∂t=kf m A∂T ∂ri,j−1/2 −kf m A∂T ∂ri,j+1/2 (4.4a) while for the boundary node ( j= 0), in contact with the heat transfer fluid, results in: ρfVi,0 ∂hi,0 ∂t=Tf,i−Ti,0 Rconv,i+Rcond,i −kf m A∂T ∂ri,1/2 (4.4b) 104 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP In order to solve these equations it is necessary to define a relation between the enthalpy and the temperature of the filler materials. Considering constant specific heats for each phase, these relations are: h−h0=Cp,s(T−T0),T≤Ts h−h0=Cp,s(T−T0) + f L,Ts<T≤Tsl h−h0=Cp,l(T−Tsl) + Cp,s(Tsl −T0) + f L,Tsl <T≤Tl h−h0=Cp,l(T−Tsl) + Cp,s(Tsl −T0) + L,Tl<T Tsl indicates the temperature in the phase change range chosen as the transition temperature for the specific energy from solid to liquid, or vice versa. Mass liquid fraction ( f ) values range from 0 (pure solid) to 1 (pure liquid), which, in this work, are calculated as a linear function of temperature in the phase change interval: f=T−Ts Tl−Ts(4.5) By taking a very narrow temperature range ( Tl−Ts ), fixed melting point PCMs can also be modeled with this approach. Hence, a unique value of h exists for each value of T , and the energy balance [ (4.4) ] may be expressed with T as the only variable. It should be noted that, since the location of the solid-liquid interface is implicitly determined by values of f , explicit tracking of interface is avoided with this strategy. 4.2.2 Momentum To determine the pressure drop in the packed bed, the following momentum equation is solved: δp δxi =± 5 Re1,i +0.4 Re0.1 1,i!6ρfv2 f(1−ei) dp,ie3 i −ρfg(4.6) where Re1,i=ρfvfdp,i 6(1−ei)µf (spherical particles) and vf=˙ m ρfAt (4.6) is the Carman correlation for packed beds, which is generally used for solid objects forming a bed [30]. In this equation x increases from the bottom to the top, and therefore, the positive sign is used in the discharge of the tank while in the charge process the negative sign is used. The last term accounts for the pressure reduction/increase due to the gravitational action. 4.2. MATHEMATICAL MODELING AND NUMERICAL IMPLEMENTATION 105 4.2.3 Exergy For evaluating the power generating potential of the energy delivered by the thermal storage, the exergy global balance of the heat transfer fluid is calculated in the following manner: ˙ m(exout −exin) = ˙ mCp,f(Tout −Tin −Tre f ln Tout Tin )(4.7) where Tre f is the temperature corresponding to the dead state, which in this work has been taken as 45 °C due to being a reasonable value for the temperature at which the vapor is condensed in the power generation block. The resulting exergy flow is the difference between the exergy exiting and entering the tank with the fluid. 4.2.4 Discretization details Fully implicit schemes, such as that previously adopted in [25], may suffer from numerical diffusion in some degree. Since an accurate modeling of the temperature gradient is needed to evaluate the thermocline tank performance, a different method, similar to that presented by Oppel et al., [31], is used. An upwind scheme with a first order explicit time integration has been adopted for the advective term, combined with the choice of a time step such that CFL=1 ( ∆t=e∆x/vf ). Therefore, each tank section is “filled” completely in each time step by the fluid coming from the upstream section with a temperature equal to the obtained in the previous time step. With this, if no damping is present (e.g. heat transfer to the filler material), a sharp temperature front is exactly transported from the inlet to the outlet with the velocity of the fluid flow. In cases where different porosities are present throughout the packed bed, different CFL numbers result for the same ∆t . Here, CFL=1 has been enforced for the most restrictive zone (with the lowest porosity), and thus in the rest of the domain it has been maintained between 0 and 1, where some numerical diffusion is present. The physical diffusion in the HTF is modeled by the diffusive term in (4.1) . A central difference spatial discretization and an explicit time integration have been adopted (although if the error in this term is significant, more than one iteration per time step is performed, which results in an approximation to an implicit time integration). To avoid instabilities and for accuracy reasons, the restriction in the time step by the diffusive term is: ∆t= 0.3 (eρCp∆x2/ 2 ke f f ) . If the refinement of the grid is high, this limitation may be more restrictive than that of the convective term, and therefore, the CFL=1 condition is not applied anymore. For the diffusive terms of the filler energy equations [ (4.4) ], central differencing and fully implicit time integration have been adopted. The algorithm used is similar to that indicated in [25], except that more than one iteration through the tank sections has been necessary at times, especially at the 106 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP beginning of each process, in order to calculate more accurately the diffusive term. In each tank section ( i ), fluid and filler material temperatures have to be solved. The final matrix of coefficients derived from the system of equations in each container section has a tri-diagonal pattern. This allows the usage of a TDMA algorithm to solve the linear system. 4.2.5 Model validation The first case used to validate the model is that coming from the experimental work of Pacheco et al. [5]. There, a thermocline tank filled with quartzite rock and sand was tested, using molten salt as the heat transfer fluid. This case has been adopted as the validation case in several works on thermocline numerical modeling with solid and encapsulated PCM filler materials, see for instance [15,16,19–21]. The thermo-physical properties of the molten salt and of the mixture of quartzite rock and sand are indicated in Table 4.2. The HTF mass flow, which has been calculated following the same strategy as in [32], is set to 5.852 kg/s. The porosity is 0.22 and the effective particle diameter is 0.015 m. The initial state adopted in the simulations is the temperature map obtained from the experimental measures at time 11:30 [5]. Filler material and fluid inside the tank have been assumed to be at thermal equilibrium at this initial state. The part of the tank containing solid filler material, of 5.2 m height, has been discretized axially in 208 sections ( ∆x= 2.5 cm), while each simulated filler particle has been divided radially in 10 control volumes and the time step was set to ∆t∼ 12.45 s (CFL = 1). These parameters have been verified in the sense of producing grid independent results (a difference of ∼ 0.1% has been calculated against a case with 416 sections). Ambient losses have been neglected. Simulation results are presented in Fig. 4.2. It can be observed that the thermal gradient is well reproduced and that it moves towards the top as the discharge proceeds. Good agreement between experimental and numerical results is obtained. The small discrepancies observed may be due to several causes, such as: uncertainties of the experimental measurements, unavailability of all the parameters from the original work of Pacheco et al. [5] and simplifications of the mathematical model. The second validation case corresponds to the charging of a tank filled with encapsulated PCM, from the experimental work of Nallusamy et al. [33]. All the configuration parameters and properties have been adopted from that work. Figure 4.3 shows the results of evolution of temperature of the HTF (water) and PCM (paraffin melting at 60 ± 1 °C ), measured at x/L= 0.5, where x is the axial position and L is the total height. In [33], the position inside the capsule at which the temperature is measured is not indicated. Numerical results of PCM temperatures shown in figure 4.3 are those obtained at the radius that divides the sphere in two 4.2. MATHEMATICAL MODELING AND NUMERICAL IMPLEMENTATION 107 Figure 4.2: Validation. Solid lines correspond to the numerical results, while dots indicate the experimental results from Pacheco et al. [5]. The chronological order of the curves is from left to right. parts of equal volume. Grid resolution for this case is Nx= 92 and Nr= 55, which has been checked for grid independence. (a) Inlet fluid temperature = 66°C (b) Inlet fluid temperature = 70°C Figure 4.3: Temperature evolution at x/L= 0.5 of HTF and PCM. Experimental results, indicated by symbols, were extracted from [33]. Numerical results of PCM temperature are taken at the radius that divides the sphere in two parts of equal volume. A good agreement is observed between experimental results (obtained from [33]) 108 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP and numerical simulations, specially for the HTF. Some discrepancies are observed in the PCM temperatures. This is probably due to several reasons, such as not accounting for natural convection and contact melting, differences between real thermo-physical properties and those used (paraffins have been observed to present high phase-change temperature ranges, as in [24], and thus melting probably starts at a lower temperature than that assumed) and uncertainty about the exact position of the temperature sensor. However, these discrepancies do not reflect significantly in the HTF temperature, for which the agreement is very good. 4.3 Evaluation of different solutions This section is devoted to the evaluation of thermocline tanks as thermal storage systems for CSP applications. The thermocline prototype tested by Pacheco et al. [5], is adopted as a reference case from which the operating conditions and tank global dimensions are taken. Usually, in a CSP plant, the outlet temperature in the discharge process is limited by the minimum temperature that is admissible for the fluid feeding the power block. Similarly, for the charging process, the outlet temperature is limited by the restriction in the temperature of the fluid coming into the solar receivers. Therefore, both the operating time and the stored energy are determined by the level of temperatures attained by the outlet fluid in the charge and discharge processes. Since the main objective is the evaluation of the performance of single thermoclinelike tanks as storage devices in the context of a CSP plant, which is intended to be operated in charge/discharge cycles (one per day) during several years, this evaluation should not rely on values of energy (and exergy) stored or released in a single charge/discharge cycle. As the performance in a single charge (or discharge) process is highly dependent on the initial temperature distribution inside the tank, numerical experiments are carried out for several cycles until a periodic state —independent of the initial conditions of the first cycle— is achieved. Final performance values are determined at this state. Furthermore, the substitution of all or part of the solid filler material by encapsulated PCM is considered. Therefore, tanks exclusively filled with an encapsulated PCM are tested, where the melting point has been taken as a parameter. Results obtained by the different choices of the melting point lead to the proposal of different combinations of âhybridâ thermocline configurations, in which both solid and encapsulated PCM filler materials are included. This new concept of thermocline-like storage system is herein called Multi-Layered Solid-PCM (MLSPCM). Fig. 4.4 shows a sketch of a MLSPCM configuration with 3 layers. Furthermore, cascaded PCM configurations are also tested and compared. The same spatial discretization has been used for all the present cases, with 416 4.3. EVALUATION OF DIFFERENT SOLUTIONS 115 Table 4.4: Performance results for each configuration. Results A B1 B2 B3 C1 C2 C4 D1 D2 F1 F2 Operation time (h)a1.67 1.16 2.61 2.62 2.86 2.99 2.68 1.82 3.00 3.28 2.03 Stored Energy in Filler material (MWh) 1.05 0.63 1.42 1.43 1.72 1.71 1.65 1.11 1.83 2.00 1.25 Stored Energy (Filler + confined HTF) (MWh) 1.45 1.00 2.19 2.20 2.32 2.42 2.22 1.48 2.43 2.66 1.64 Stored Energy / Storage capacity (%) 63.4 24.5 53.4 53.5 76.9 64.5 83.7 43.8 76.2 64.9 40.0 Sensible energy stored / Total stored (%) 100.0 96.3 90.7 90.7 80.0 80.0 86.7 69.8 73.7 64.0 60.6 Latent energy stored / Total stored (%) 0.0 3.7 9.3 9.3 20.0 20.0 13.3 30.2 26.3 36.0 39.4 Effective mass of PCM changing phase (%) - 2.4 13.1 13.1 73.6 38.4 93.2 47.9 81.7 61.3 41.4 Exergy difference at charge (MWh) -0.70 -0.48 -1.05 -1.06 -1.12 -1.17 -1.07 -0.71 -1.18 -1.29 -0.79 Exergy difference at discharge (MWh) 0.69 0.48 1.04 1.05 1.11 1.15 1.06 0.70 1.16 1.27 0.78 Pressure losses due to filler bed (Pa) <400 <100 <100 <100 <250 <150 <350 <200 <250 <100 <100 aIn cases where the charge and discharge operation times are different, (e.g. B2 and B3) the mean value between processes is shown. 116 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP Cases B1-3: Encapsulated PCM A first look into the storage capacity values of Table 4.3 can induce the reader to think that a storage tank filled with an encapsulated PCM should store more energy than the same tank filled with a solid filler material. However, results shown in Table 4.4 reveal a different situation. Prototype of case B1 is filled with a single encapsulated PCM with a fusion temperature of 360 °C (KOH), which is well between the operating temperatures of the storage system. The temperature maps of the HTF inside the tank at various instants for the first two and periodic state cycles, are plotted in figure 4.7. A clear picture of the problem results from their observation. In the first charge, with an initially cold tank, the outlet temperature threshold is reached in a moment where only part of the contained PCM capsules have melted. The position inside the tank where the phase-changing capsules are located, can be identified by the location where there is a steep temperature gradient ranging from 390 °C to 360 °C , which for the final state is located at a distance of around 3.6 m from the bottom. Therefore, only a portion of the available latent heat has been used. Moreover, the sensible energy capacity of both the PCM and HTF is much less harnessed than in case A. Thus, the initial condition for the subsequent discharge is one where only a part of both the latent and sensible energy capacity can be exploited. An important observation is that the melting point of KOH lies outside the admissible temperature ranges for both charging and discharging processes. In the figure it can be observed how the temperature of the HTF passing through the phase-changing PCM capsules is kept close to their melting point. Therefore, in the charging phase, the filler material located downstream of the phase-changing capsules receive the HTF with a temperature equal to the melting point, not being able to melt. Since the threshold temperature is lower than the melting point, the charging process ends before all the PCM has melted, when the capsules located at the outlet (top) cannot bring the HTF temperature below the threshold, with the use of their sensible energy capacity alone. At the periodic state, the area between the initial and last temperature curves is somewhat higher than those corresponding to the initial cycles (except from the 1 st charge). Furthermore, the location of the phase-changing layers has been shifted slightly to the center of the tank. Cases B2 and B3 have the common feature of using PCMs whose melting points lie inside each of the admissible temperature ranges. In B2 a melting point of 380 °C has been chosen, which is inside the admissible range for the outlet fluid temperature of the discharging process (375 °C - 390 °C ); while a melting point of 300 °C has been chosen for case B3, lying inside the admissible range of the charging process (290 °C - 305°C). 4.3. EVALUATION OF DIFFERENT SOLUTIONS 117 (a) 1st charge (b) 1st discharge (c) 2nd charge (d) 2nd discharge (e) Periodic state charge (f) Periodic state discharge Figure 4.7: Case B1. Temperature maps at various instants for the first two and last cycles. The chronological order of the curves is from left to right in the charge and from right to left in the discharge. 118 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP Temperature maps for the periodic state of both cases are shown in figures 4.8 and 4.9. A first observation is that the area between the initial and final maps for both cases is higher than that of case B1. As a result, a higher energy is stored in both cases, as can be observed in Table 4.4. In these cases, due to the more “intelligent” choice of the melting points, a higher utilization of the whole storage capacity has been attained. For example, in case B2, as the cold fluid comes through the bottom of the tank and the thermal gradient travels to the top, the layers of PCM located at the hot zone, which have melted in the previous charging, act as thermal “buffers” for the outgoing fluid, keeping its temperature close to the melting point until almost all the PCM near the outlet has solidified. Since this temperature is inside the admissible range, the process does not stop, and the rest of the upstream filler material can be thermally discharged. Due to the symmetry between key temperatures of cases B2 and B3 (melting points, thresholds and operating range), the resulting temperature maps for the periodic state are also symmetric. Charging process of case B2 looks the same as the discharging process of B3, with a shift of the sense in which both axis increase. Furthermore, the results of both cases shown in Table 4.4 are almost identical. However, a slight difference is encountered in the value of exergy delivered in the discharging phase. Result for case B3, with a PCM melting point of 300 °C is slightly higher than that of case B2, where a melting point of 380 °C has been adopted. This result may seem strange, since one could think that a higher melting point of the PCM should result in a higher amount of hot fluid coming out of the tank and a higher amount of exergy delivered in the discharge. The explanation for this result can also be extracted from the temperature maps shown in figures 4.8 and 4.9. In case B2, the temperature of the outgoing fluid in the discharge is seen to be the PCM melting point during most of the process (Fig. 4.3.2); while in case B3, it is observed that during most of the discharging phase, the outlet fluid temperature is the maximum possible (Fig. 4.3.2). The reason for this is that the low melting point PCM, acting as a thermal buffer during the charging phase, allows the upstream filler material to be charged of sensible energy up to the maximum temperature, while the high melting point PCM of case B3 is storing most of the high temperature energy (between 380 °C and 390 °C ) in the form of latent heat at 380 °C . On the other hand, case B2 also stores less exergy than case B3, since it needs less time to be charged (see figures 4.3.2 and 4.3.2), and its final exergy efficiency (delivered/stored) is slightly higher in the former. Cases C1-3, D1-2: Multi-layered solid-PCM (MLSPCM) Results obtained with cases B1 - B3 show that even in the best case, only a little amount of PCM is effectively changing phase in a cycle (less than 15%). Moreover, the results of cases B2 and B3 show that an effective way of increasing the stored energy of an encapsulated PCM tank is to choose a PCM whose fusion temperature lies 4.3. EVALUATION OF DIFFERENT SOLUTIONS 119 (a) Charge (b) Discharge Figure 4.8: Case B2. Periodic state. Temperature maps at various instants. The chronological order of the curves is from right to left for the charge process and from left to right for the discharge. (a) Charge (b) Discharge Figure 4.9: Case B3. Periodic state. Temperature maps at various instants. The chronological order of the curves is from right to left for the charge process and from left to right for the discharge. between an admissible temperature interval for either one of the processes (charge or discharge). Thus, the PCM capsules located at the end of the tank, where the HTF temperature is close to its melting point, act as a thermal buffer maintaining a desirable outlet temperature, while the rest of the tank is charged (or discharged) with sensible energy. Therefore, a tank which is filled with PCM in such a way that most of it can effectively undergo through the phase change, together with the inclusion of a cheaper 120 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP solid filler material to store the sensible energy, should be a much more efficient and cost-effective thermal storage device. Hence, all the configurations studied in this section contain PCM layers at both extremes, one with a high melting point placed at the top of the tank (hot zone) and another with a low melting point placed at the bottom (cold zone), together with solid filler material placed in between. The symmetry of the proposed problem, given the operation conditions,induces to design the multi-layered prototypes using symmetric configurations, i.e. using the same width for the PCM layers whose melting point are at the same distance (in temperature units) from the corresponding outlet temperatures. Cases C1 (see sketch on Fig. 4.3.1), C2 and C4 are MLSPCM configurations with only two different PCMs collocated at both extremes of the tank and a solid filler material (quartzite rocks & sand) in the middle zone, forming a 3-layer arrangement, only differing in the width of the layers. PCMs used are those of cases B2 (KOH380) and B3 (KOH300), having melting points lying inside the corresponding admissible range. Performance results of the three cases, in Table 4.4, show a significant improvement with respect to cases A and B1-3. The “buffering” effect of the PCM at both ends can be appreciated in figures 4.10 to 4.12. An increase in the amount of stored/released energy in the periodic state is observed. The efficiency in the usage of both the total thermal capacity and the latent energy capacity are also higher. (a) Charge (b) Discharge Figure 4.10: Case C1. Periodic state. Temperature maps at various instants. The chronological order of the curves is from right to left for the charge process and from left to right for the discharge. C2 stores the highest amount of energy of the three, but is the one with the lowest efficiencies in terms of utilization of both total and latent storage capacities. In fact, 4.3. EVALUATION OF DIFFERENT SOLUTIONS 121 (a) Charge (b) Discharge Figure 4.11: Case C2. Periodic state. Temperature maps at various instants. The chronological order of the curves is from right to left for the charge process and from left to right for the discharge. (a) Charge (b) Discharge Figure 4.12: Case C4. Periodic state. Temperature maps at various instants. The chronological order of the curves is from right to left for the charge process and from left to right for the discharge. C4, with the least amount of PCM, is the best in terms of efficiency. Around 93% of the PCM is effectively changing phase between successive processes in the latter case, while 74% is the corresponding value for C1 and 38% for C2. In terms of total storage, C1 stores around 4% less than C2, while C4 is around 8% worse than C2. Regarding the values of fraction of energy stored in the form of latent heat, it can be observed that for cases C1 and C2 they are almost exactly the same and lower for case C4. This can be explained by the following reasoning. The available 122 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP energy for storage, from the HTF, is in the form of sensible energy and thus, it is proportional (with the approximation of having constant specific heat) to the temperature difference. Therefore, from the point of view of the high melting point PCM, melting at 380 °C , the energy contained in the HTF which is available for being stored in the melting process, is only that between 380 °C and 390 °C . This is only 10% of the energy contained in the HTF between 290 °C and 390 °C , and 11.7% of that between 305 °C and 390 °C (considering both limits of the admissible range of outlet HTF temperatures in the charge). This means that, at most, only 10%-12% of the energy that needs to be extracted from the HTF can be used for melting this PCM, given the constraint for the outgoing temperature of not surpassing 305°C. It could be argued that, having a second PCM placed at the outlet with a much lower melting point (300 °C ), much more energy could be stored in the form of latent heat, since the energy contained in a much broader range of temperatures is available for melting this other PCM (in the case of total utilization of the first 10% for melting the first PCM, this range would be 300 °C –380 °C ; or less, if the sensible energy stored in the layers upstream from the second PCM is considered). However, this is not the case when the periodic state has been reached. In this state, and in the absence of thermal losses, the energy stored in the charge is the same as that delivered in the subsequent discharge. Furthermore, the same amount of PCM that melts in the charge, is solidified in the next discharge. For this reason, if 10% of the total available energy is used to melt the high melting point PCM, then only this same amount will be delivered by it in the subsequent discharge. Given the symmetry of the problem, the same reasoning can be applied to the low melting point PCM. Therefore, as each PCM layer can only theoretically store around 10% - 12% of the total available energy, both PCMs can sum up to 20% - 24% of it, at most. Case C1 and C2 both result in a latent storage of 20%. C4, having significantly less amount of PCM, only reach to around 13%. Table 4.3 shows that the latent capacity of prototype C1, C2 and C4 is around 21%, 34% and 12%, respectively. This is the reason why in case C2 only a small fraction of the PCM effectively changed phase, having a higher latent heat capacity fraction than the theoretically possible. Cases D1 (see sketch in Fig. 4.3.1) and D2 consist of 5-layered MLSPCM tanks. Both PCM layers at the ends are maintained, while an extra PCM layer is added in the middle zone, with a melting point equal to the mean temperature of the operation range, i.e. 340 °C . Other two solid filler material layers are placed between the PCM layers. Case D1 is seen to behave worse than the previous C1-3 cases. Figure 4.13 shows the temperature maps obtained for this case, with a similar behavior to that of B1. The presence of KOH340 acts as a thermal buffer keeping the HTF temperature close to its melting point, which is outside both admissible temperature ranges. The thermal buffering provided by the other two PCMs is not enough to allow it to melt and 4.3. EVALUATION OF DIFFERENT SOLUTIONS 123 solidify completely before the end of the charge and discharge processes, causing the melting point of 340 °C to be a limit to the temperature jump of the solid filler layers and also of much of the middle PCM layer. As a result, the stored energy and the efficiencies are much worse than those of the previous MLSPCM prototypes. On the other hand, case D2, with the only difference of containing a middle layer of half the width compared to D1, results in a significantly different behavior. Figure 4.14 shows the temperature maps obtained for this case, where a behavior similar to that of cases C1 and C2 can be observed. Here, the thermal buffering effect of the middle layer does not last so long and the top and bottom PCM layers are capable of bearing the “extra” exigency. In fact, the inclusion of the middle layer has resulted in an overall increase in the stored energy with almost the same efficiency, compared to case C1, which had a lower amount of PCM effectively changing phase. (a) Charge (b) Discharge Figure 4.13: Case D1. Periodic state. Temperature maps at various instants. The chronological order of the curves is from right to left for the charge process and from left to right for the discharge. Cases F1-2: Cascaded PCMs In the cascaded PCM configurations considered here, as in MLSPCM cases, PCM layers located at both ends with melting points lying inside the admissible ranges are included. The difference between these prototypes and MLSPCM ones, is that no solid filler material is included in the formers. Instead, several layers of different PCMs are placed inside the tank, with increasing melting points from the bottom to the top. This kind of configuration has been studied by other authors, e.g. Michels and Pitz-Paal, [13]. A sketch of configuration F1 is depicted in figure 4.3.1. 124 CHAPTER 4. MLSPCM THERMOCLINE FOR CSP (a) Charge (b) Discharge Figure 4.14: Case D2. Periodic state. Temperature maps at various instants. The chronological order of the curves is from right to left for the charge process and from left to right for the discharge. The difference between F1 and F2 is in the width of the three middle layers, where the PCMs with melting points outside the admissible ranges are located. Case F1 includes more of the PCMs with melting points closer to the admissible limits (KOH370 and KOH310), while F2 includes more of the middle PCM with a temperature equal to the operating temperatures mean value (KOH340). Results of Table 4.4 show that the performance of case F1 is significantly better than that of case F2. As both cases use the same PCM layers, the difference between them is only due to the different proportion of materials included. Temperature maps of both cases at the periodic state can be observed in figures 4.15 and 4.16. Significant differences are encountered. In case F1, the temperature range traversed by the fluid inside the tank is sensibly higher than in case F2. In case F1, when the PCM at the ends have almost completely changed of phase —maintaining outlet fluid temperature inside the admissible range— a considerable amount of the PCM layers inside the tank have also melted/solidified. This is not what happens in case F2, for which the outlet fluid temperature cannot stay within the admissible ranges enough time to allow a good utilization of sensible and latent capacities. Hence, as it has been observed with MLSPCM cases, a correct design of the PCM layers is a critical aspect in the final performance. Case F1 has been the best of all the studied cases in thermal storage capacity. The energy stored is around 15%, 10%, 20% and 9% higher than for cases C1, C2, C4 and D2, respectively. However, the efficiency in the use of the storage capacity is not very high (65%), with 61% of the PCM effectively changing phase. Some other cascaded PCM cases with different layer thicknesses have been tested 5 Evaluation of MLSPCM for its application in a 50MWe CSP plant. Contents of this chapter have been submitted for publication as: P. A. Galione, C.D. Pérez-Segarra, I. Rodríguez, S. Torras and J. Rigola, "Multi-layered solid-PCM thermocline thermal storage for CSP. Numerical evaluation of its application in a 50MWe plant.", submitted to Applied Energy, 2014. Abstract Thermocline storage concept is considered as a possible solution to reduce the cost of thermal storage in concentrated solar power (CSP) plants. Recently, a multi-layered solid-PCM (MLSPCM) concept, consisting of a thermocline-like tank combining layers of solid and phase change filler materials, was proposed. This approach has been observed to result in lower thermocline degradation throughout charge/discharge cycles, due to the thermal buffering effect of the PCM layers located at both ends of the tank. MLSPCM prototypes designed for a pilot scale plant were numerically tested and compared against other designs of single-tank thermocline systems, such as: solidfilled thermocline, tanks filled with a single encapsulated PCM and cascaded-PCM configurations. Results showed promising results of the MLSPCM configurations for their potential use in CSP plants. In this work, the MLSPCM concept is used for designing a thermal energy storage (TES) system for a CSP plant with the dimensions and operating conditions of a parabolic trough plant of 50 MWe, similar to Andasol 1 (Granada, Spain). The 131 132 CHAPTER 5. MLSPCM FOR 50MWE CSP PLANT performance evaluation of each of the proposed prototypes is virtually tested by means of a numerical methodology which considers the heat transfer and fluid dynamics phenomena present in these devices. Two sets of cases are considered, one with the objective of testing the TES systems individually, by defining specific operating conditions and taking the systems to a periodic steady state; and another, aiming to evaluate their performance after several days of operation in a CSP plant, in which the weather variability and the thermal behavior of tank walls and foundation are simulated. Thermal performance parameters, such as total energy and exergy stored/released and the efficiency in the use of the storage capacity, are calculated and compared with those obtained by other thermocline-like configurations (single-solid and single-PCM), and by a reference 2-tank molten-salt system. Obtained results allow to consider MLSPCM concept as a promising alternative for thermal storage in CSP facilities. 133 NOMENCLATURE ASurface area AtTransversal area of tank AwInternal surface area of tank’s lateral wall CpSpecific heat at constant pressure dpDiameter of filler PCM capsule/solid particle ex Exergy fMass liquid fraction (PCM) FCapsule volume fraction filled by PCM hSpecific total enthalpy hconv Convection coefficient kThermal conductivity ke f f Effective thermal conductivity LSpecific latent enthalpy m,˙ mMass and mass flux NrNumber of control volumes of one filler particle/capsule NxNumber of tank sections ˙ QThermal power rRadial direction Rcond Thermal conduction resistance of capsule shell Rconv Convection resistance between fluid and capsule/solid filler tTime TTemperature UTC−Sh Heat transfer convection coefficient between the fluid in the packed bed and the tank shell vVelocity (seepage velocity in packed beds) VVolume ∆tTime step ∆xTank section height eVolume liquid fraction (porosity) ηEfficiency µDynamic viscosity ρDensity Superscripts and subscripts: 134 CHAPTER 5. MLSPCM FOR 50MWE CSP PLANT fFluid flow f m Filler material (PCM or solid) iIndex of tank section/control volume i±1/2 Index of tank section’s face limiting iand i±1 in Tank inlet jIndex of capsule/solid filler control volume j±1/2 Index of filler control volume’s face limiting jand j±1 l,liq Liquid phase nom Nominal out Tank outlet s,sol Solid phase Abbreviations: CFL Courant, Friedrich, Lewy condition CSP Concentrated Solar Power DNI Direct Normal Irradiation HTF Heat Transfer Fluid MLSPCM Multi-Layered Solid-PCM PB Power Block PCM Phase Change Material SF Solar Field TES Thermal Energy Storage 5.1 Introduction Thermal energy storage (TES) allows a more effective use of solar energy by reducing the mismatch between the energy supply and its demand. In concentrated solar power (CSP) facilities, TES systems increase the reliability and generation capacity of the whole system and reduce the levelized cost of electricity [1,2]. Nowadays, many CSP plants incorporate a molten-salt two-tank TES system (e.g. Andasol and Extresol in Spain, Crescent Dunes and Solana in USA), which makes use of the sensible energy capacity of the molten-salt [3,4]. However, different TES designs resulting in lower investment costs are currently under study, some of which are also based on the sensible energy capacity of the materials, such as thermocline single-tanks [5,6] and concrete storage designs [7]. In thermocline systems, both high and low temperature fluids are contained in the same tank. Thermal stratification is the mechanism separating them, and the thermal gradient produced within the fluid is called thermocline. The thermocline thickness indicates the amount of thermal mixing, which may be due to natural convection effects (see e.g. [8,9]) and strong inlet flow currents [10], and is intended to be maintained at a minimum. A modification to the original concept, aiming at 5.1. INTRODUCTION 135 reducing the thermal mixing and also reducing the amount of molten-salt used, is to fill the tank with a cheaper solid material such as quartzite rocks, granite, sand [5], asbestos-containing wastes [11], forming a porous packed bed through which the heat transfer fluid flows. On the other hand, several researchers have been investigating the use of phase change materials (PCM) as thermal storage media, taking advantage of the high energy density present in the phase-change phenomena. For example, Michels and Pitz-Paal [12] performed a numerical and experimental investigation of storage systems using different PCMs with cascaded melting points, contained in shell and tube heat exchangers, for parabolic trough CSP plants. Liu et al. [13] carried out an extensive review of high-temperature phase change storage materials and of thermal enhancement techniques. Shabgard et al. [14] performed a numerical analysis of cascaded latent heat storage with gravity-assisted heat pipes for CSP applications. Nithyanandam et al. [15] studied packed bed thermal storage with encapsulated PCMs for CSP by means of a numerical model. They performed parametric analyses and established guidelines for the design of latent storage systems. Flueckiger et al. [16] analyzed latent-heat-augmented thermocline storage for CSP using an integrated system-level model for the whole CSP plant and evaluated the effect of the increase of the storage capacity with the latent heat. Limitations in the thermal performance of tanks including PCMs were observed, while some improvement was obtained with some of the cascaded PCM designs. Furthermore, Steinmann and Tamme [17] studied the combination of latent and sensible storage heat exchangers specially suited for direct steam generation solar field technology (DSG). A PCM storage unit was intended for producing the vapor generation (evaporation) and two concrete storage units for storing the sensible portion of the fluid’s energy (pre and superheating). In previous works [18, 19], a new concept of thermocline-like thermal storage device named multi-layered solid-PCM (MLSPCM), consisting of a packed bed of different layers of solid and PCM filler materials, was presented. There, MLSPCM designs of the same dimensions and operating conditions as those of the pilot scale tank presented by Pacheco et al. [5], were numerically tested and compared against other designs of single-tank thermocline-like systems such as: single-solid, single-PCM and cascaded-PCM filler configurations. Results obtained for MLSPCM prototypes showed to be promising for their potential use in CSP plants. In this work, the MLSPCM concept is used for making up a TES system for a CSP plant. A parabolic trough of 50MW of electric output is assumed, similar to Andasol 1 plant (Granada, Spain). With this aim, two levels of analysis are carried out. Firstly, numerical simulations similar to those presented in [18] are carried out, in order to evaluate the performance of the full-scale TES prototypes under specific conditions. In these, the TES is charged and discharged consecutively until reaching 136 CHAPTER 5. MLSPCM FOR 50MWE CSP PLANT a periodic steady state. Secondly, in order to test the different TES systems under operating conditions closer to those of a CSP facility, another analysis is performed incorporating weather variation, idle processes and thermal losses to the tank shell and foundation, for several days of plant operation.. For this, a modular object-oriented code is used [20], which links the different models corresponding to the elements under study. Similarly as in the pilot-scale prototypes presented in [18, 19], some full-scale MLSPCM configurations are observed to produce an increase of the efficiency in the use of total capacity when compared with other thermocline-like designs, especially in the isolated TES analysis. Although consideration of the variability of the operating conditions results in closer values of accumulated energy and efficiency, MLSPCM concept continues to present advantages over the solid-filled thermocline design. The advantages against single-PCM packed beds are more clear, since a similar storage is obtained using a much lower amount of encapsulated PCM, which is assumed to be a costly component compared to the solid filler material. As a result of the study, a MLSPCM prototype considered equivalent to the reference 2-tank system is presented, resulting in the same amounts of energy and exergy delivered to the power block in both analyses. 5.2 Mathematical modeling and numerical implementation The thermocline-like TES considered are formed by different elements: thermocline packed bed (filler material and HTF), tank foundation and tank walls, which interact with each other through their boundary conditions. This implementation has been performed within the NEST platform [20], which allows linking between different elements of the thermal system. The mathematical model considers the transient behavior of the thermocline-like packed beds, the tank walls and insulation, taking into account the variable outdoor conditions (DNI, ambient temperature). A brief mathematical description, focused on the modeling of the packed bed, is presented hereafter. 5.2.1 Packed bed The model presented in [18] is used. Mass, momentum and energy conservation equations have to be solved in order to be able to simulate the thermal behavior of a thermocline-like tank. One-dimensionality in the fluid flow and in the heat transfer inside particles/capsules is assumed. Natural convection and contact melting 5.2. MATHEMATICAL MODELING AND NUMERICAL IMPLEMENTATION 137 (a) Sketch representing the cylindrical container with the PCM capsules packed in a random fashion (b) Discretization details of the tank and of a representative particle/capsule, indicating the sub-indices used for tank sections (i) and capsule control volumes (j) Figure 5.1: Domain and discretization. inside PCM capsules is neglected, as well as thermal conduction between different particles/capsules. In the filler particles/capsules, a radial variation of the temperature is assumed. Conservation equations are discretized using the Finite Volume Method (FVM). The tank is divided in Nx transversal cylindrical sections of height ∆x (see Fig. 5.1(a)). In each tank section, a single representative particle/capsule needs to be simulated, due to the one-dimensionality assumption. This filler particle/capsule is discretized in the radial direction in Nrcontrol volumes, as shown in Fig. 5.1(b). For the heat transfer fluid (HTF) going through the porous bed, the semi-discrete energy conservation equation of the fluid in the i th tank section ( i= 1... Nx ) results in: ρfeiViCp,f ∂Ti,f ∂t=Atke f f ∂Tf ∂x i+1/2 i−1/2 −˙ mCp,f(Ti+1/2,f−Ti−1/2,f) −nf m,i Ti,f−Ti,0 Rconv,i+Rcond,i −UTC−Sh Aw,i(Ti,f−Ti,Sh)(5.1) where Ti,0 is the temperature of the internal surface of the particles/capsules (boundary node in fig. 5.1(b)). In the advective term (second in the right hand side) the fluid is assumed to be coming from section i−1 and going to section i+1. Rcond stands for the thermal resistance in the PCM capsules due to the capsule shell. The mass of the shell is disregarded here and is not considered to add any thermal inertia. The calculation of the thermal resistance due to convection between the HTF and the filler material ( Rconv ) requires the fluid-to-bed Nusselt number, which is calculated using the correlation obtained from [21]: 138 CHAPTER 5. MLSPCM FOR 50MWE CSP PLANT The effective thermal conductivity (accounting for solid-phase conduction and thermal dispersion) is evaluated as the sum of stagnant and dispersion effective conductivities, calculated with the correlations obtained from [22] and [23]. The energy balance for the inner nodes ( j= 1... Nr ) of the filler material (either PCM capsules or solid particles) remains: ρf mFiVi,j ∂hi,j ∂t=kf m A∂T ∂ri,j−1/2 −kf m A∂T ∂ri,j+1/2 (5.2a) while for the boundary node ( j= 0), in contact with the heat transfer fluid, results in: ρf mFiVi,0 ∂hi,0 ∂t=Tf,i−Ti,0 Rconv,i+Rcond,i −kf m A∂T ∂ri,1/2 (5.2b) where Fi indicates the volume fraction of the capsules occupied by the PCM ( Fi =1 for the solid particles). This value is between 0 and 1 and takes into account that a void space is needed in order to allow for the thermal expansion in the melting. The relations between enthalpy and temperature for the filler materials (solid and/or PCM) are: h−h0=Cp,s(T−T0),T≤Ts h−h0=Cp,s(T−T0) + f L,Ts<T≤Tsl h−h0=Cp,l(T−Tsl) + Cp,s(Tsl −T0) + f L,Tsl <T≤Tl h−h0=Cp,l(T−Tsl) + Cp,s(Tsl −T0) + L,Tl<T where Tsl indicates the temperature in the phase change range chosen as the transition temperature for the specific energy from solid to liquid, or vice versa. Mass liquid fraction ( f ) ranges from 0 (pure solid) to 1 (pure liquid) and is calculated as a linear function of temperature in the phase change interval: f=T−Ts Tl−Ts(5.3) By taking a very narrow temperature range ( Tl−Ts ), fixed melting point PCMs can also be modeled with this approach. Hence, a unique value of h exists for each value of T , and the energy balance (Eq. (5.2) ) is expressed with T as the only variable. For evaluating the power generating potential of the energy delivered by the thermal storage, the exergy global balance of the heat transfer fluid is calculated in the following manner: ˙ m(exout −exin) = ˙ mCp,f(Tout −Tin −Tre f ln Tout Tin )(5.4) 5.2. MATHEMATICAL MODELING AND NUMERICAL IMPLEMENTATION 139 where Tre f is the temperature corresponding to the dead state, which in this work has been taken as 45 °C due to being a reasonable value for the temperature at which the vapor is condensed in the power generation block. To determine the pressure drop in the packed bed, the Carman correlation is used (see e.g. [24]). For further details of the model used, please refer to reference [18]. Discretization and validation The criterion for choosing the time step is similar to that indicated in [18]. If the convective term of the energy equation of the HTF is the most restrictive than the diffusive term, a CFL number of 1 is imposed ( ∆t=e∆x/vf ). However, if the restriction of the diffusive term ( ∆tdi f f =C(eρCp∆x2/ 2 ke f f ) , where C is a constant chosen between 0.5 and 1) is more restrictive, then the time step used is the one resulting from this restriction. The diffusive term of Eq. (5.1) has been discretized using a central difference spatial and fully implicit temporal integration schemes. The convective term is integrated using a fully explicit, 1 st order scheme; and depending on the Péclet number ( ∆x vf/ke f f ), it is discretized either using an upwind scheme (coarser meshes) or a centered scheme (finer meshes), avoiding unboundedness problems for the one side and high numerical diffusion for the other. Therefore, when the mesh is coarse and the centered scheme is not used for the convective term, the time step is determined by the latter and the CFL number is set to 1. On the other hand, when the grid is fine enough, the diffusive term poses a higher (or comparable) restriction to the time step than the convective term, in which case the centered scheme is used and the CFL number is lower than 1. For further details on the discretization procedure please refer to [18]. The validation of the model was performed against two cases, one of a thermocline tank filled with a mixture of Quartzite rock and sand (experimental work of Pacheco et al. [5]) and another of a packed bed of encapsulated PCM (experimental work of Nallusamy et al. [25]). Both cases are presented in [18]. 5.2.2 Tank walls, insulation and foundation The models used for simulating the heat transfer through the tank walls, insulation and foundation are those presented in [26,27]. A transient heat balance is performed to find the temperature of the tank walls (container + insulation) in each tank section. For the foundation, a simplified zonal 1D model has been used. More details about the formulation used for these components can be found in references [26,27]. 140 CHAPTER 5. MLSPCM FOR 50MWE CSP PLANT 5.3 Cases of isolated TES under nominal conditions Two levels of analysis are carried out in this work. The first one is developed in this section, consisting in an isolated analysis of the different TES configurations, under specific operating conditions. Therefore, flow inlet conditions are constant (and equal) for both charge and discharge processes, and no thermal losses to the ambient (nor to the walls and foundation) are considered. Thermal performance is evaluated after reaching a periodic state, which is achieved when consecutive charge/discharge cycles result in the same stored/released energy. With this, thermal performance is independent of the initial state of the first charge/discharge cycle. Different configurations of thermocline tanks are considered by changing the filler material used. Single-solid, single-PCM and MLSPCM configurations are tested and compared against the ideal performance (no thermal losses) of the two-tank system considered as a reference. The dimensions of one tank of the two-tank molten-salt reference system are 13m height by 38m diameter (adopted from those of Andasol 1 facility [28]). Single-tank systems will be firstly designed with these same dimensions, and finally the diameter will be increased for one selected MLSPCM configuration in order to achieve the same thermal storage in the periodic state as with the molten salt system. TES charge and discharge processes are carried out with molten salt at 390 °C and 290 °C , entering through the inlets placed at its top and bottom, respectively. A mass flow of 948 kg/s is assumed, which is the nominal value for Andasol 1 plant [28]. Furthermore, the following operating conditions are assumed: • Operating time is not fixed but depends on the temperature of the fluid coming out of the tank at each process. Temperature thresholds are imposed to avoid outlet temperatures too cold or too hot to be sent to the receiving equipment (i.e solar field and power block). The temperature ranges between the thresholds and the highest (discharge) or lowest (charge) will be referred to as “admissible” temperature ranges. Each process is stopped when the temperature of the fluid coming out of the tank goes out from these admissible ranges. Here, both ranges have been assumed to be 15% of the maximum temperature interval (100 °C ); i.e. 290-305 °C for the charging process and 375-390 °C for the discharge. • Ambient losses are neglected [UTC−Sh =0 in Eq. (5.1)]. • Several consecutive charge/discharge cycles are simulated until a periodic thermal state is reached, i.e. when there is negligible variation of the stored/released energy between consecutive cycles. Since ambient losses are neglected, the same energy that is stored in the charge must be released in the discharge at the periodic state.