Skip to content

Fluid properties

TBW

Fimbul.H2OSystem Type
julia
H2OSystem

Two-phase (liquid + vapour), single-component fluid system for geothermal (P, H) simulations.

quantityvalue
number_of_phases2
number_of_components1 (pure H₂O)

One mass conservation equation is closed by the Enthalpy primary variable (alongside Pressure). Phase split, densities, viscosities and enthalpies are obtained via Steam-Tables look-ups from build_steam_tables_h2o.

Use H2OSystem together with setup_reservoir_model to obtain a fully configured model.

source
Fimbul.steam_tables_h2o Function
julia
steam_tables_h2o(; kwargs...) -> Dict{Symbol, Any}

Load the packaged H2O steam tables artifact. If the artifact cannot be loaded, fall back to building the tables with CoolProp when that extension is available.

source