Checking for missing content type metadata ...

Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

HMC-PINN


Authors:
Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource.
Type: Resource
Storage: The size of this resource is 988.0 KB
Created: Jul 26, 2026 at 1:44 p.m. (UTC)
Last updated: Aug 31, 2026 at 3:08 a.m. (UTC)
Citation: See how to cite this resource
Content types: Single File Content 
Sharing Status: Public
Views: 90
Downloads: 11
+1 Votes: Be the first one to 
 this.
Comments: No comments (yet)

Abstract

Solute transport and pore pressure dissipation in porous media often occur over widely separated time scales, with solute migration continuing for decades to centuries in low-permeability layers encountered in hydraulic structures, environmental barriers, and other subsurface systems. This separation of process time scales often leads to stiff training dynamics in physics-informed neural networks (PINNs). We propose HMC-PINN, a physics-informed neural network framework for fully coupled hydro-mechanical-chemical (HMC) solute migration. The framework provides a unified solution strategy for homogeneous and heterogeneous HMC problems and also supports parameter inversion from sparse pore pressure and concentration observations. A single-network formulation works well for homogeneous and for media with continuously varying material properties, while a domain-decomposed extended physics-informed neural network formulation (HMC-XPINN) improves results for sharply layered media with strong hydraulic conductivity contrasts. The framework supports joint inversion of multiple parameters: hydraulic conductivity can be constrained from early monitoring data, whereas the diffusion coefficient requires longer observation records.

Subject Keywords

Coverage

Spatial

Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
Longitude
114.3612°
Latitude
30.5450°

Temporal

Start Date:
End Date:

Content

README.md

HMC-PINN HydroShare Resource Package

This folder contains the curated code and data package for the HMC-PINN / HMC-XPINN research workflow, prepared for public release on HydroShare.

1. Project overview

This repository provides a reproducible research package for coupled hydro-mechanical-chemical modeling and parameter inversion with physics-informed neural networks (PINNs).

The project includes three main components:

  • Forward modeling with HMC-PINN
  • Homogeneous cases
  • Continuously heterogeneous cases
  • Forward modeling with HMC-XPINN
  • Layered cases
  • Inverse modeling with HMC-PINN
  • Inversion of k_h or D_0 for the homogeneous case

The package is organized to support:

  • model reproduction
  • data sharing
  • future extension
  • HydroShare publication

2. Package structure

text hydroshare_HMC-PINN/ ├─ README.md ├─ metadata/ │ ├─ file_manifest.csv │ └─ data_dictionary.csv ├─ code/ │ ├─ forward_model/ │ │ ├─ HMC-PINN/ │ │ │ ├─ homogeneous/ │ │ │ │ └─ pinn_forward_homogeneous.py │ │ │ ├─ continuous_heterogeneous/ │ │ │ │ └─ pinn_forward_continuous_heterogeneous.py │ │ │ └─ common/ │ │ └─ HMC-XPINN/ │ │ ├─ layered/ │ │ │ └─ xpinn_layered.py │ │ └─ common/ │ ├─ inverse_model/ │ │ └─ hmc_pinn_inverse_kh_D0.py │ └─ requirements.txt └─ data/ ├─ inverse/ │ └─ Chapter6_Origin_v5.xlsx └─ forward/ ├─ extracted/ └─ summary_tables/

3. What is included

3.1 Code

Forward modeling

  • code/forward_model/HMC-PINN/homogeneous/pinn_forward_homogeneous.py
  • HMC-PINN forward model for homogeneous media
  • code/forward_model/HMC-PINN/continuous_heterogeneous/pinn_forward_continuous_heterogeneous.py
  • HMC-PINN forward model for continuously varying heterogeneous media
  • code/forward_model/HMC-XPINN/layered/xpinn_layered.py
  • HMC-XPINN forward model for layered media

Inverse modeling

  • code/inverse_model/hmc_pinn_inverse_kh_D0.py
  • Inverse model used to estimate k_h or D_0 in the homogeneous case

3.2 Data

Inverse data

  • data/inverse/Chapter6_Origin_v5.xlsx
  • Core inverse-analysis data file

Forward data

  • data/forward/
  • Processed forward-model data extracted from the original experiment results
  • This folder is intended to contain curated, publication-ready data products rather than the full raw training outputs

3.3 Metadata

  • metadata/file_manifest.csv
  • File inventory and description
  • metadata/data_dictionary.csv
  • Variable and column definitions for the shared data

4. Forward-model data policy

The original project contains many experiment outputs and intermediate files. For HydroShare release, the forward-model data should be curated into compact, reusable tables.

Recommended content for data/forward/:

  • representative prediction profiles
  • summary metrics
  • validation tables
  • key comparison tables for the paper
  • extracted forward-model results only

Large raw training directories, temporary logs, and environment folders should not be uploaded unless they are necessary for reproduction.

5. Software requirements

The codebase is written in Python and uses the following major packages:

  • deepxde
  • torch
  • numpy
  • pandas
  • matplotlib
  • scipy

A complete dependency list should be placed in code/requirements.txt.

6. Running the models

6.1 Inverse model

Example:

bash python code/inverse_model/hmc_pinn_inverse_kh_D0.py --target kh

Common options:

  • --target kh : invert hydraulic conductivity
  • --target d0 : invert molecular diffusion coefficient
  • --target joint : invert both parameters jointly
  • --noise 0.05 : use 5% observation noise
  • --data-file <path> : specify the observation data file

The script automatically creates an outputs/ directory under the inverse-model folder.

6.2 Forward models

Run the forward scripts directly from the relevant subfolders.

Examples:

bash python code/forward_model/HMC-PINN/homogeneous/pinn_forward_homogeneous.py python code/forward_model/HMC-PINN/continuous_heterogeneous/pinn_forward_continuous_heterogeneous.py python code/forward_model/HMC-XPINN/layered/xpinn_layered.py

If the scripts depend on shared configuration modules, keep them in the corresponding common/ folders.

7. Notes on the current release

  • The repository has been cleaned for public sharing.
  • The inverse dataset is stored as a single Excel file: Chapter6_Origin_v5.xlsx.
  • Forward data are still being curated into compact shared tables.
  • Some original local experiment outputs may exist outside this release package and are not intended for upload.

8. Reproducibility tips

To reproduce the results reliably:

  1. Install the dependencies listed in code/requirements.txt.
  2. Keep the folder structure unchanged.
  3. Place the inverse input file in data/inverse/.
  4. Use the curated forward data in data/forward/.
  5. Run the forward or inverse scripts from their own directories if relative paths are used.

9. Suggested citation

Please add the final citation format in metadata/ before publication.

10. Contact

Add the corresponding author and project contact information here before the HydroShare release.

How to Cite


This resource is shared under the Creative Commons Attribution CC BY.

http://creativecommons.org/licenses/by/4.0/
CC-BY

Comments

There are currently no comments

New Comment

required