Governing equations in geothermal energy
Fimbul currently supports pure H<sub>2</sub>O as a single-component, two-phase fluid system. Water may be present in a liquid phase (
Conservation of mass
Mass conservation is written as
where
where
NOTE: In practice, the interface between liquid and vapor phases in an H<sub>2</sub>O system may exhibit non-negligible capillary pressure effects. This is currently not modeled in Fimbul; support is planned for a future release.
Conservation of thermal energy
Thermal energy conservation is expressed as
where
The term
Fluid properties
The fluid properties of H<sub>2</sub>O—such as density, viscosity, enthalpy, and phase state—depend on both pressure and enthalpy and are provided through precomputed lookup tables.
For the high-enthalpy (two-phase) regime, the steam tables are generated using the CoolProp library [1] via the FimbulCoolPropExt extension. They are stored as Artifacts that are loaded automatically when using the high-enthalpy formulation. The tables can also be loaded directly using the Artifacts API. To generate your own tables, see build_steam_tables_h2o in FimbulCoolPropExt.
For the low-enthalpy (single-phase liquid) regime, Fimbul uses PVT tables from JutulDarcy generated using the NIST database.
The figure below shows the temperature, density, and vapor saturation of H<sub>2</sub>O as functions of pressure and specific enthalpy, covering the full range of both single-phase and two-phase states. The saturation line separates the single-phase liquid region (left), two-phase region (center), and single-phase vapor region (right). These phase diagram contours can be visualized using plot_phase_diagram_contours.
Single- and two-phase systems
Most Fimbul examples currently operate in the low-enthalpy regime, i.e., single-phase liquid conditions. The high-enthalpy examples use the two-phase steam-table formulation described above.
Multi-continuum and fractures
The formulation above assumes local thermal equilibrium between rock and fluid, i.e., a single shared temperature field
To model fractured systems, Fimbul can be combined with the discrete fracture modeling framework in JutulDarcy—see e.g., ftes.