Skip to main content
Version: Latest

All problems

Heating a drained cell with changing water mass

At a glance
Dimension2D
Inputsdrained-heat.zip
Reproduce withDynEarthSol 3774df0

A rigid saturated cell receives uniform heat while every face holds zero pore pressure. Thermal expansion expels water, reducing retained heat capacity and exporting sensible heat.

Temperature errors at 100 and 200 steps are 0.000845 and 0.000422 K. Retained energy plus measured boundary export closes against supplied heat within 20 microjoules.

Problem setup​

Setup

Geometry and constraints. Rigid unit cell, every face at p=0, no gravity or solid thermal expansion. All thermal faces are insulated.

Heat source. Uniform supplied power 30 MW per metre thickness for 5 s; no conduction or fluid point injection.

Exchange. Expanded water leaves the pressure-controlled boundary at the current cell temperature. The original solid inventory and its heat capacity stay fixed.

Input and how to run​

Every file this example needs is in data/drained-heat/. Run from that folder:

# Supplies 30 MW of heat for 5 s in 200 steps while the pressure-controlled boundary exports expanding water.
dynearthsol2d input.cfg

Settings that define this example​

SettingValueWhat it does here
control.hydraulic_content_model1selects the finite-density saturated inventory law
mat.porosity_model1evolves Eulerian Biot porosity from the accepted strain and pressure
control.fixed_dt0.025physical coupling interval; transport can subcycle within it
mat.fluid_bulk_modulus[1e8]constant fluid compressibility in the exponential density law
mat.bulk_modulus_s[1e9]grain compressibility in the porosity law
mat.fluid_alpha[.0002]volumetric fluid thermal expansivity
sim.output_step_interval1saved-frame interval; ledger entries belong to individual physical steps

input.cfg holds all 78 settings that differ from DES’s defaults; dynearthsol2d -h lists every option with its default.

Output​

See Running the examples for output files, the Python reader and ParaView conversion.

FieldWhat to look at
pore pressurephysical nodal pressure in Pa
fluid massretained physical nodal water mass in kg
hydraulic split buffernumerical fixed-stress mass increment, excluded from density and heat
solid heat capacitymaterial heat-capacity inventory, unchanged by fluid drainage
temperaturetemperature in K
fluid mass balancephysical and numerical mass changes, measured boundary/source exchange and residual

Result: DES and the analytical solution​

Result

2D unit volume per metre thickness, 30 MW supplied for 5 s, 200 steps, no gravity, solid expansion or conduction. (a) total supplied heat; (b) exported sensible heat. The reference uses the actual exponential water density.

At zero pressure and zero bulk strain this isolates open-system sensible heat without mechanical boundary work. Owned solid heat capacity stays fixed while fluid mass changes. It does not qualify full thermodynamic pressure work or a thermal plume.

Water and energy history · Cell controls

To reproduce the whole study behind this figure, from the DES source folder:

python3 tests/functional/hydromechanics/check_mass.py dynearthsol2d OUT --cases heat

The study’s full numbers: record.json.

Analytical reference​

and are cumulative exported water mass and sensible heat. K, kg, MJ/K, J/(kg K) and K. Values refer to unit volume per metre thickness.

Derivation​

At fixed zero pressure, zero bulk strain and zero solid expansion, porosity stays fixed. Exponential thermal expansion gives the retained fluid mass directly.

Differentiate retained sensible energy. Its c_f T dM term cancels the outflow enthalpy, leaving a temperature-dependent heat capacity. Integrating from the initial temperature gives Q(T); invert Q=power times time for the temperature history.

The independent reference accounts for water leaving at the changing cell temperature. Subtracting retained energy gain from supplied heat gives its cumulative export. No pressure or strain boundary work occurs in this control.

Direct integration of the declared exponential-density sensible-heat model in mass_reference.py.

Validity and limits​

A rigid zero-pressure open-system control. Sensible heat is measured from the stated temperature origin. Pressure work, thermoelastic caloric energy, phase changes and recovery energy are outside this model; spatial thermal-plume accuracy is not established here.