Repository navigation
v0.3.6
Fimbul v0.3.6
Fimbu v0.3.6
New features
Pressure–enthalpy formulation for high-temperature geothermal systems
- New single-component, two-phase (liquid/vapor) H₂O system,
H2OSystem, using pressure and specific enthalpy as primary variables. This makes it possible to simulate phase transitions such as boiling and condensation in high-enthalpy reservoirs. Temperature, phase enthalpies and internal energy are computed as secondary variables from tabulated steam properties. - Steam tables are distributed as a lazy artifact and loaded with
steam_tables_h2o. With the newCoolProppackage extension,build_steam_tables_h2ocan regenerate the tables, for example over a different pressure/enthalpy range. - New governing-equations section in the documentation describing the formulation.
High-temperature benchmarks
benchmark_ht_1d: 1D benchmark cases:a–:efrom Weis et al. (2014), covering single-phase liquid, single-phase vapor and two-phase regimes, with optional vertical flow.benchmark_ht_2d: 2D upper-crust magmatic fluid-source plume benchmarks (:single_phase_source,:two_phase_source).- HYDROTHERM reference solutions are distributed as a lazy artifact (
HYDROTHERMBenchmarks). - New validation examples:
examples/validation/validation_ht_1d.jlandexamples/validation/validation_ht_2d.jl. Analytical examples moved fromexamples/analyticaltoexamples/validation.
Plotting (GLMakie extension)
- New phase-diagram plotting:
plot_phase_diagram_contours(!),plot_reservoir_state_ph(!)andplot_reservoir_state_phase_diagram(!).
Improvements
coaxial_bhe: newhz_minkeyword for vertical refinement near the well, and better default meshing. For vertical wells, perforation lengths are now taken from the celldz, which avoids very short perforation segments in thin layers.extruded_mesh: now works with single-point cell constraints and no longer fails on degenerate refinement distances.- Closed-loop BHE wells: avoid a singular grout system.
ftes: added a full docstring.ags: fixed well coordinates.- Updated plotting and resolution in the doublet, EGS, AGS, ATES, BTES, FTES, coaxial BHE and Egg HT-ATES examples.
Compatibility
- Requires Jutul ≥ 0.4.31 and JutulDarcy ≥ 0.3.12.
- New dependencies:
Artifacts,LazyArtifacts,DelimitedFiles. New weak dependency:CoolProp.
Merged pull requests: