Stanford Geothermal Workshop · Modeling

A Numerical Analysis on Flow in Hydrothermal Systems

Larus THORVALDSSON, Halldor PALSSON

Download PDF (541 KB) Hosted on pangea.stanford.edu

Abstract

In this paper it is examined how writing specialized codes within the OpenFOAM software framework is applicable to problems involving hydrothermal systems. This is done with two case studies. In the first one, the continuity of mildly compressible flow is stabilized using Fréchet derivatives, enabling the use of very large time steps or treating it as steady state. The second one involves the phase change of water, due to sudden drop in pressure at the top of a water column. The physical properties are determined from the IAPWS-IF97 thermodynamic formulation, which is directly compiled into OpenFOAM. It is also demonstrated how the software framework is able to handle the numerical instabilities that are caused by the discontinuities in physical properties in the phase change region. Both cases demonstrate how the modular nature of the OpenFOAM can be utilized to solve specialized problems involving hydrothermal systems and are validated by analytical solutions.

Details

Conference
Stanford Geothermal Workshop
Year
2013
Session
Modeling
Paper number
Thorvaldsson
Language
English
Copyright
Stanford Geothermal Program
Keywords
two phase flow CFD OpenFOAM porous media
Record ID
19140

Suggested citation

Larus THORVALDSSON, Halldor PALSSON (2013). A Numerical Analysis on Flow in Hydrothermal Systems. Proceedings, Stanford Geothermal Workshop 2013, Paper Thorvaldsson.

Proceedings-level reference. Individual papers do not carry DOIs.

More papers by Thorvaldsson ›