Next Article in Journal
Protectiveness of Mn-Co Oxide Coating on Type 430 Stainless Steel for an SOFC Interconnect Application Using an Anodic Electrodeposition Technique
Previous Article in Journal
Mechanism of Ring Formation in Nickel Ore During Rotary Kiln Processing and Its Mitigation Strategies
Previous Article in Special Issue
Hydrogen Embrittlement in Nb Free and Nb Microalloyed 1500 MPa Press-Hardened Steels: Mechanisms and Strain Rate Dependency
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Physics-Informed Neural Network Modelling of Hydrogen Diffusion and Trapping in Microalloyed Steels: A Data-Driven Synthesis Across Multiple Alloy Systems

by
Saurabh Tiwari
1,*,
Nokeun Park
1,2,* and
Nagireddy Gari Subba Reddy
3,*
1
School of Materials Science and Engineering, Yeungnam University, Gyeongsan 38541, Republic of Korea
2
Institute of Materials Technology, Yeungnam University, Gyeongsan 38541, Republic of Korea
3
Virtual Materials Laboratory, School of Materials Science and Engineering, Engineering Research Institute, Gyeongsang National University, Jinju 52828, Republic of Korea
*
Authors to whom correspondence should be addressed.
Metals 2026, 16(5), 546; https://doi.org/10.3390/met16050546
Submission received: 2 April 2026 / Revised: 5 May 2026 / Accepted: 11 May 2026 / Published: 18 May 2026
(This article belongs to the Special Issue Hydrogen Embrittlement of Metals and Alloys)

Abstract

Hydrogen embrittlement is a critical degradation mechanism in microalloyed and pipeline steels used in hydrogen-economy infrastructure. We present a physics-informed neural network (PINN) framework that embeds Fick’s second law and the Arrhenius temperature dependence directly into the loss function, trained on 22 temperature-dependent data points spanning pure α-Fe and API X65 pipeline steels (modern and vintage microstructures). The PINN recovered the pure-iron activation energy (4.2 kJ mol−1 vs. literature 4.15 kJ mol−1, R2 = 1.00) and yielded Arrhenius activation energies of 28.5 and 45.2 kJ mol−1 for modern and vintage X65, respectively, indicating substantially stronger trapping in older microstructures. McNabb–Foster analysis of ten ternary Fe–Me–C,N alloys revealed flat-trap binding enthalpies of 19 ± 2 kJ mol−1 and deep-trap free energies of 57 ± 2 kJ mol−1, with effective diffusivities spanning three orders of magnitude governed primarily by flat-trap density. The framework provides a computationally efficient and physically consistent tool for hydrogen transport prediction, with a clear roadmap for multi-feature extension incorporating compositional and microstructural descriptors.

1. Introduction

The global transition toward a low-carbon hydrogen economy has renewed critical interest in the interaction of hydrogen with structural metals [1,2]. Hydrogen is widely regarded as a key energy vector for decarbonizing sectors that are resistant to direct electrification, including heavy goods transport, maritime shipping, aerospace propulsion, and industrial process heat. Meeting the projected hydrogen demand requires large-scale infrastructure, such as high-pressure storage vessels, long-distance transmission pipelines, electrolyzers, and fuel cell systems. Microalloyed steels form the structural backbone of this infrastructure, and the resistance of these materials to hydrogen-related degradation is of paramount importance [3,4].
Hydrogen degrades the mechanical integrity of steel through several interrelated mechanisms, collectively termed hydrogen embrittlement (HE). Specific manifestations include surface blistering, hydrogen-induced cracking (HIC), hydrogen-induced stress corrosion cracking (HISCC), classical delayed fracture, and hydrogen environment embrittlement [5,6,7,8]. The severity of each failure mode depends on the microstructural state of the steel, including the grain size, dislocation density, precipitate type, size, and coherency, as well as the thermomechanical processing history of the steel. In microalloyed steels, finely distributed carbides and nitrides of Ti, V, Nb, Zr, and Mo serve as potent grain-boundary pinning agents, conferring high strength and toughness, but simultaneously act as hydrogen-trapping sites that profoundly alter diffusion kinetics [9,10,11,12].
The diffusion and trapping of hydrogen in iron and steel have been extensively studied since the seminal work of McNabb and Foster [13], who formalized the concept of reversible and irreversible trapping through a kinetic adsorption–desorption model. Within this framework, trap sites are classified by their binding energy relative to normal interstitial sites: flat (reversible) traps with |ΔHft| < 30 kJ mol−1 that are in dynamic equilibrium with the diffusing hydrogen population, and deep (irreversible) traps with |ΔGdt| > 50 kJ mol−1 that saturate at low hydrogen activities and do not release hydrogen under ambient service conditions [14,15]. Grabke et al. demonstrated through systematic electrochemical double-cell permeation studies that only mobile hydrogen in interstitial sites and shallow flat traps participates in HISCC; hydrogen locked in deep traps exerts no measurable influence on fracture behavior [16].
Despite this rich experimental heritage, the quantitative prediction of hydrogen diffusivity across steel grades and under various microstructural conditions remains a challenge. Experimental datasets are scattered across the literature and are obtained under diverse conditions, making cross-study comparisons difficult without a unifying computational framework. Physics-informed neural networks (PINNs) have emerged as powerful tools for integrating experimental data with governing physical laws to produce predictive models that generalize beyond the training set [17,18,19,20]. PINNs embed differential equations directly into the network loss function, penalizing solutions that violate physics, even in regions not covered by training data [21,22]. This approach is well-suited to hydrogen diffusion problems, in which the governing equations (Fick’s laws, Arrhenius kinetics, and McNabb–Foster trapping equations) are well established, but the parameter space is large and only partially explored experimentally. Existing data-driven approaches to hydrogen diffusivity prediction include Gaussian process regression, random forest models and empirical correlation fitting [17,21], none of which embed governing physical laws as hard constraints. The prevailing physics-based models (finite-element McNabb–Foster simulations, analytical trapping solutions [13,14] are accurate for individual materials but require full parameterization for each alloy independently and do not generalize across datasets. The research gap addressed here is the absence of a framework that simultaneously (i) enforces Arrhenius thermodynamic consistency, (ii) integrates data from multiple independent sources, and (iii) quantitatively maps the flat-trap density and binding enthalpy across a broad alloy space using a single unified model.
In this study, we constructed and validated a PINN model for hydrogen diffusivity in iron and pipeline steels, which was trained on a carefully curated multi-source experimental database. By embedding the Arrhenius constraint and Fick’s second law into the physics loss, the model was constrained to produce physically consistent predictions. The model is used to establish a physics-consistent temperature-dependent baseline for hydrogen diffusivity and to systematically analyze the relationships between flat-trap density, binding enthalpy, and effective diffusivity using the compiled multi-source McNabb–Foster database.

2. Theoretical Background

2.1. Hydrogen Absorption and Sieverts’ Law

Hydrogen enters iron and steel from the gas phase or from an electrolyte via dissociative adsorption, followed by absorption into the interstitial sublattice as follows:
H2 (gas) = 2H (dissolved)
The equilibrium concentration of dissolved hydrogen follows Sieverts’ law:
CH = KS · (pH2)1/2
where CH is the dissolved hydrogen concentration (mol cm−3), KS is Sieverts’ constant, and pH2 is the hydrogen partial pressure (bar). The equilibrium solubility of hydrogen in α-Fe at 1 bar H2 is 3 × 10−6 at.% at ambient temperature, rising to 1.6 × 10−2 at.% at 900 °C [16].

2.2. Fick’s Second Law and Effective Diffusivity

In the presence of trapping, hydrogen transport through a steel membrane is described by the modified Fick’s second law:
∂cH/∂t + ∂cft/∂t = DH (2cH/∂x2)
where DH is the intrinsic hydrogen diffusivity in the defect-free ferritic lattice (cm2 s−1), cft is the concentration of hydrogen in flat traps (mol cm−3), and cH is the dissolved hydrogen concentration in normal interstitial lattice sites (mol cm−3). Equation (3) represents the classical stress-free Fickian diffusion model. The stress-assisted diffusion component is not incorporated in the present PINN framework and will be considered in future studies.
Rearranging yields the effective diffusivity Deff as follows:
Deff = DH/(1 + α)
where α = Kft · Nft/Nint is the trapping parameter, Kft = exp(|ΔHft|/RT) is the trapping equilibrium constant, Nft is the flat-trap density, where R = 8.314 × 10−3 kJ mol−1 K−1 is the universal gas constant and T is the absolute temperature (K), |ΔHft| is the binding enthalpy of hydrogen at a flat trap site relative to the normal interstitial lattice site (kJ mol−1) and Nint is the density of normal interstitial sites [13,16]. For the systems studied here, Nint = 0.848 mol cm−3 was derived from the McNabb–Foster fit to all ten ternary alloys [16]. For pure recrystallized α-Fe:
DH = 5.12 × 10−4 exp[−4.15 kJ mol−1/(RT)] [cm2 s−1]
The activation energy of 4.15 kJ mol−1 is exceptionally low compared to ~80 kJ mol−1 for carbon and nitrogen in iron, indicating that hydrogen migrates through the ferritic lattice as a proton, tunneling between interstitial sites [16]. It should be noted that in BCC α-Fe, grain boundary diffusion and dislocation pipe diffusion also contribute to hydrogen transport. The value of DH in Equation (5) was determined for high-purity, well-recrystallized iron [13] to isolate the lattice contribution. In engineering steels, dislocations and grain boundaries act predominantly as trapping sites rather than fast-diffusion pathways, resulting in the reduced Deff described by Equation (4).

2.3. McNabb–Foster Trapping Model

Trapping is treated as a reversible adsorption–desorption equilibrium [13].
H (interstitial) + trap ⇌ H (trapped) + free interstitial site
The equilibrium constant K = expS0ft/R) · exp(−|ΔH0ft|/(RT))
where ΔS0ft and ΔH0ft are the standard entropy and enthalpy changes of the trapping reaction at the flat trap site, respectively. Two trap populations were identified in this study. Flat traps (|ΔHft| < 30 kJ mol−1) have dynamic occupancies that modulate Deff through Equation (4) and participate in the HISCC reaction. Deep traps (|ΔGdt| > 50 kJ mol−1) were saturated at low hydrogen activities and were effectively immobilized at ambient temperatures [16].

2.4. Physics-Informed Neural Network Formulation

The PINN maps, normalized by the inverse temperature x = (103/Tμ)/σ, to ln(Deff), where μ = mean(103/Ttrain) and σ = std(103/Ttrain) are the mean and standard deviation of the training inverse temperatures, respectively, are used to normalize the PINN input. The total loss is:
= data + λ phys + μ smooth
where data = (1/N)Σ|ln Dpredln Dexp|2 (8a) is the data loss in the log-diffusivity space.
phys = (1/N)Σ max(d ln D/d(103/T), 0)2 (8b) enforces the Arrhenius monotonicity constraint, and smooth = mean(d2ln D/d(103/T)2) (8c) penalizes the curvature in the Arrhenius plot.
The weights λ and μ were determined by a systematic grid search: λ ∈ {0.1, 0.5, 1.0, 2.0, 5.0} and μ ∈ {0.01, 0.05, 0.1, 0.5} were evaluated for all combinations (20 configurations). For each configuration, the PINN was trained on 18 randomly selected points and evaluated using a 4-point hold-out validation set (≈18% of the 22 training points). The combination of λ = 2.0 and μ = 0.1 minimized the hold-out validation loss and was adopted for all the results reported here.

3. Experimental Data Sources and Database Construction

3.1. Data Sources

This comprehensive study by Grabke, Gehrmann and Riecke [16] employed the Devanathan–Stachurski electrochemical double cell [23] to measure the hydrogen permeation, diffusivity, and solubility in ten ternary model alloys (Fe–Me–C,N; Me = Ti, V, Zr, Nb, and Mo) whose compositions are listed in Table 1 and twelve commercial pipeline steels at 10–80 °C. The trapping parameters were extracted from the non-steady-state permeation transients using the McNabb–Foster model [10]. Data from Table 1, Table 2, Table 3 and Table 4 are presented in this study.
Koren, Hagen, Yamabe et al. [24] performed electrochemical permeation and in situ hydrogen desorption measurements on API 5L X65 pipeline steel (modern and vintage plates) at 7–85 °C under controlled near-service conditions; diffusivity data were extracted from Table 2, Table 3 and Table 4 of their study. Zakroczymski [25] on electrochemical permeation on Armco iron in 0.1 M NaOH: D = 7.5 × 10−5 cm2 s−1 at 25 °C. It was used as a reference data point and theoretical framework by Iino et al. [26] for irreversible trapping.

3.2. Database Structure

The PINN was trained using 22 temperature-dependent data points: 10 from pure α-Fe (calculated using Equation (5), 10–80 °C), six from X65 modern steel (permeation, 7–85 °C), and six from X65 vintage steel (permeation, 7–85 °C). An additional 23 data points (10 ternary carbide alloys, 10 ternary nitride alloys, 1 Armco iron, and 12 pipeline steels, all at 25 °C) were used for the McNabb–Foster trap parameter analysis and for comparison with the PINN predictions at a fixed temperature. The total database comprised 45 data points from four peer-reviewed studies. The 22 temperature-dependent data points constituted the PINN training set. The remaining 23 single-temperature data points (10 ternary carbide alloys, 10 ternary nitride alloys, 1 Armco iron, and 12 pipeline steels, all at 25 °C) served as an independent hold-out comparison set, not used during training, against which the PINN predictions at 25 °C were evaluated. The training set size of 22 points is justified by the strong physical regularization provided by the Arrhenius and smoothness constraints in the loss function (Equations (8a)–(8c)), which substantially reduce the data requirement compared to unconstrained neural networks [17,22]. The full data are provided in Supplementary Tables S1–S6, respectively.

4. Methodology

4.1. PINN Architecture and Training

The physics-informed neural network (PINN) employed a feedforward architecture consisting of two hidden layers, each containing 20 neurons with sigmoid activation functions, and was implemented using NumPy (version 1.24) without a dedicated deep learning framework. The input variable was the normalized inverse temperature, defined as x = (103/Tμ)/σ, where the features were normalized to zero mean and unit variance. The output variable was the natural logarithm of the effective diffusion coefficient, ln(Deff/cm2 s−1). The network contained 441 trainable parameters with weights initialized from a zero-mean Gaussian distribution (σ = 0.1). Owing to the small dataset size (N = 22), full-batch gradient descent was employed with a constant learning rate of 3 × 10−3. Training was performed for a fixed 15,000 epochs without early stopping, as the total loss typically plateaued at approximately 5000 epochs. The selected architecture (2 hidden layers × 20 neurons) represented the simplest configuration achieving R2 ≥ 0.95 on the training set, while wider and deeper configurations (up to 3 hidden layers × 30 neurons) yielded comparable performances.

4.2. Physics Loss and Arrhenius Constraint

The Arrhenius physics constraint penalizes positive slopes in the inverse temperature vs. ln(D) plot using the loss term phys. A smoothness term smooth = 0.1 × mean(d2ln D/d(103/T)2) encourages linear Arrhenius behavior. These two physics terms enforce the fundamental requirement that the hydrogen diffusivity in metals decreases monotonically with decreasing temperature according to the near-linear Arrhenius law.

4.3. McNabb–Foster Trap Parameter Analysis

The interstitial site density Nint = 0.848 mol cm−3 was derived by back-calculating from all ten ternary alloy Deff values at 25 °C (Table 2) using Equation (4), yielding self-consistent Nint values for nine of the ten alloys (Fe–Mo–N is anomalous owing to the geometric blocking by large Mo2N platelets, which reduces the cross-sectional area for hydrogen permeation and requires a much smaller effective Nint). The median Nint = 0.848 mol cm−3 was universally applied. The flat-trap parameters (Nft,|ΔHft|) and deep-trap parameters (Ndt, |ΔGdt|) were obtained from previous work [16] (Table S6).

4.4. Arrhenius Fitting for X65 Steel

The individual Arrhenius parameters for the X65 modern and vintage steels were obtained by nonlinear least-squares fitting of Deff(T) = D0 exp(−Ea/RT) to the six-point permeation dataset in Table 3.
The fitted activation energies (Table 4) were Ea = 28.5 [kJ mol−1] (modern) and Ea = 45.2 [kJ mol−1] (vintage), both significantly above the pure iron value of 4.15 [kJ mol−1], which is consistent with substantial trapping in both microstructures.

5. Results

5.1. Pure Iron Diffusivity and PINN Baseline

Figure 1 presents the Arrhenius plot of the hydrogen diffusivity in pure α-Fe (Equation (5) [16]) and Armco iron [25], with the PINN model predictions overlaid. The PINN was trained using 22 temperature-dependent data points spanning pure α-Fe and X65 steel (7–85 °C). The recovered activation energy (~4.2 kJ mol−1) is consistent with the literature value for pure α-Fe (4.15 kJ mol−1 [16]), confirming that the Arrhenius constraint was effectively enforced.

5.2. Effective Diffusivity in Ternary Fe–Me–C, N Alloys

Figure 2 shows the computed temperature dependence of Deff for the ten ternary model alloys using the McNabb–Foster model (Equation (4)) with Nint = 0.848 mol cm−3 and experimental trap parameters from Table 2. The computed Deff values at 25 °C reproduce the tabulated values within ± 2% for all alloys, except for Fe–Mo–N (see Section 4.3). Among the carbide systems (Figure 2a), Fe–Mo–C exhibits the highest Deff (42 × 10−6 cm2 s−1) owing to its coarse Mo2C particles and low trap density (Nft = 4.0 × 103 mol cm−3). Fe–Ti–C and Fe–Nb–C show the lowest values (0.72 and 0.82 × 10−6, respectively) owing to exceptionally high flat trap densities (Nft = 28 and 60 × 103 mol cm−3, respectively) from finely dispersed coherent precipitates [16].

5.3. Correlation Between Effective Diffusivity and Flat Trap Binding Enthalpy

Figure 3 shows the relationship between Deff and the flat-trap binding enthalpy |ΔHft| for all ternary alloys and pipeline steels at 25 °C. A systematic negative correlation is evident, consistent with Equation (4), in which a higher binding enthalpy increases Kft and, thus, the trapping parameter α, thereby reducing Deff. The scatter around the exponential trend reflects two compounding factors: First, it is the product Kft × Nft (the trapping parameter α, Equation (4)) that determines Deff, not |ΔHft| alone; alloys with similar |ΔHft| but very different Nft (e.g., Fe–Ti–C with Nft = 28 × 103 vs. Fe–Zr–C with Nft = 0.83 × 103 mol cm−3) therefore differ by more than one order of magnitude in D_eff. Second, the notable outlier Fe–Mo–N (Deff = 0.27 × 10−6 cm2 s−1 at |ΔHft| = 19.3 kJ mol−1) lies well below the trend owing to geometric blocking by large Mo2N platelets, a mechanism outside the standard McNabb–Foster framework.

5.4. X65 Pipeline Steel: Modern vs. Vintage Microstructure

Figure 4 compares the Arrhenius plots for modern and vintage API X65 pipeline steels based on the electrochemical permeation data of Koren et al. [24]. Arrhenius fitting yielded Ea = 28.5 kJ mol−1 for modern steel and Ea = 45.2 kJ mol−1 for vintage material (Table 4). These values are somewhat higher than those reported by Koren et al. [24] from time-lag analysis (Ed ≈ 22–25 kJ mol−1 for modern; Ed ≈ 35–40 kJ mol−1 for vintage, later Table 7 of [24]), likely reflecting differences in fitting methodology and the influence of scatter at 25 °C. Both datasets are qualitatively consistent in confirming the substantially stronger trapping in the vintage microstructure. Both values substantially exceed the activation energy of pure iron (4.15 kJ mol−1), indicating extensive trapping in these two microstructures. The vintage steel consistently shows a lower Deff by a factor of 2–4, with the elevated Ea suggesting a higher density of deeper traps, attributable to the greater density of MnS inclusions, segregation bands, and deformation-induced dislocations, which are characteristic of older plate-rolling practices [24].

5.5. Flat Trap Density and Effective Diffusivity in Pipeline Steels

Figure 5 shows the relationship between Nft and Deff for commercial pipeline steels. The Q + T steel St 4 (Nft = 0.46 × 103 mol cm−3, |ΔHft| = 23.9 kJ mol−1) shows lower Deff than the thermomechanically processed St 5 (Nft = 8.1 × 103 mol cm−3, |ΔHft| = 12.5 kJ mol−1), demonstrating that Deff is controlled by the product Kft × Nft (i.e., α in Equation (4)) rather than the trap density alone [16]. To demonstrate this quantitatively, St 4 has Nft = 0.46 × 103 mol cm−3 but |ΔHft| = 23.9 kJ mol−1, yielding Kft = exp(23.9 × 103/RT) = 1.54 × 104 at 25 °C and α = Kft × Nft/Nint = 8.35. St 5 has Nft = 8.1 × 103 mol cm−3 (17.6× higher) but |ΔHft| = 12.5 kJ mol−1, yielding Kft = 155 and α = 1.48 (5.6× smaller than St 4). The trapping parameter α, not Nft alone, determines Deff using Equation (4).

5.6. PINN Architecture and Training Convergence

The architecture of the PINN is shown in Figure 6. Figure 7 shows the convergence of the three loss components over 15,000 training epochs. The physics loss decreases rapidly within the first 500 epochs as the network learns the Arrhenius monotonicity constraints of the training data. The total loss R2 for the 22-point temperature-dependent training set was 0.965 in the ln(D) space, reflecting that the training data spanned three orders of magnitude in Deff and that the model used only temperature as input. The model is designed to provide a physically consistent temperature-dependent baseline prediction, not to discriminate between alloy-specific diffusivities at a fixed temperature.

5.7. Deep Trap Free Energies

Figure 8 presents the deep-trap-free energies |ΔGdt| for all ten ternary alloys listed in Table 2. The values cluster in the narrow range of 54.9–60.5 kJ mol−1 with no systematic carbide/nitride difference. This convergence toward the values reported for dislocations and grain boundaries (59–60 kJ mol−1 [15]) strongly supports the conclusion that deep traps are structural sites (dislocation cores, grain boundaries, and incoherent interfaces) rather than chemically specific carbide–hydrogen or nitride–hydrogen interactions [16].

5.8. PINN Parity Plot

Figure 9 shows the parity plot of the PINN-predicted versus experimental ln(Deff) for the 22 temperature-dependent training points. An R2 value of 0.965 reflects the intrinsic limitation of a single-input model (temperature only) trained on a heterogeneous dataset spanning pure iron and X65 steel, whose diffusivities differ by over one order of magnitude at the same temperature. Most data points lie within a factor of 2 of the 1:1 line, and the model correctly captures the direction and curvature of the Arrhenius relationship. Therefore, a low R2 value is expected and does not indicate model failure; it reflects the model scope (temperature-dependent baseline prediction), which is discussed in Section 6.

5.9. Effective Diffusivity Across Commercial Pipeline Steels

Figure 10 compares Deff at 25 °C for all 12 commercial pipeline steels listed in Table 5. All steels exhibited diffusivities significantly lower than those of pure α-Fe (96 × 10−6 cm2 s−1 for 60% cold-worked iron; DH(25 °C) ≈ 10−4 cm2 s−1), with the Q + T grades St 4 and E500 showing the lowest values owing to the high dislocation densities and fine VCx dispersions [16].

5.10. Hydrogen Permeation Coefficient

Figure 11 compares the permeation coefficient Φ0 for the ten ternary alloys with that of pure iron, Φ0Fe = 2.57 × 10−7 exp(−34.3/(RT)) mol cm−1 s−1 [16]. In contrast to Deff, the permeation coefficient is only weakly affected by the precipitates; all values lie within one order of magnitude of the pure-iron reference. The only notable reductions are caused by fine TiC precipitates and large Mo2N platelets, which are attributed to a geometric reduction in the cross-sectional area available for hydrogen permeation [16].

5.11. Trap Parameter Systematics

Figure 12 compares the flat-trap binding enthalpies and deep-trap-free energies of all ten ternary alloys. The |ΔHft| values cluster near 19 ± 2 kJ mol−1 for most systems, with Fe–Mo–C showing notably lower binding (13.9 kJ mol−1), consistent with its coarse Mo2C precipitate structure. The deep-trap energies are remarkably uniform (54.9–60.5 kJ mol−1) and independent of the carbide or nitride type, confirming that deep trapping is a structural phenomenon rather than a chemistry-specific interaction [16].

5.12. PINN-Informed Hydrogen Diffusion Profiles

Figure 13 shows normalized hydrogen concentration profiles C(x,t)/C0 across a 1 mm membrane computed analytically from Fick’s second law parameterized by Deff = 10.2 × 10−6 cm2 s−1 (Q + T steel St 4 [16]. The boundary conditions replicate the Devanathan–Stachurski electrochemical double cell [23]: C(0,t) = C0 at the cathodically charged entry face, and C(L,t) = 0 at the anodically polarized exit face, where arriving hydrogen is immediately oxidized to maintain zero concentration. C0 is the hydrogen concentration at the entry face under the applied charging conditions (mol·cm−3). For the normalized profiles shown in Figure 13, C0 = 1 (dimensionless). For gas-phase charging at pH2 = 1 bar, the absolute value C0KS × (pH2)1/2 ≈ 3 × 10−8 mol cm−3 (≈0.007 wt ppm) at 25 °C from Equation (2). For electrochemical charging, C0 depends on the applied hydrogen activity aH and must be determined from steady-state permeation current measurements [16,23]. Therefore, the true steady state for this through-flux geometry is a linear concentration gradient C(x)/C0 = 1 − x/L (not a uniform distribution), as shown by the t = 1200 s profile approaching linearity. At t = 10 s, hydrogen barely penetrated 0.2 mm; by t = 600–1200 s, the profile approximated the steady-state linear gradient. The stress-assisted diffusion contributions (hydrostatic stress and plastic strain) are not included in the present Fickian model, which is an acknowledged limitation. These profiles are analytical solutions to Fick’s second law parameterized by the experimentally tabulated Deff [16] and are intended to illustrate physically realistic hydrogen ingress timescales. No experimental concentration profile data are available in the source literature for direct comparison. Experimental validation via in situ neutron scattering or synchrotron X-ray diffraction would be a valuable extension of this work.

5.13. PINN Prediction vs. Experimental: Scope and Limitation

Figure 14 presents the experimental Deff values at 25 °C for all 19 alloy systems, along with a single PINN prediction at 25 °C (horizontal dashed line). Because the PINN considers only the temperature as an input, it produces a single prediction for all materials at the same temperature. Therefore, Figure 14 illustrates the critical limitation of the current model: the two-order-of-magnitude alloy-to-alloy spread in Deff at 25 °C cannot be captured without additional input features describing the alloy composition, trap density, and microstructure. This motivates the multi-feature extension discussed in Section 6.

6. Discussion

6.1. PINN Scope, Limitations, and R2 Interpretation

The R2 = 0.965 for the temperature-dependent training set (Figure 9) warrants an explicit discussion. This value reflects three factors: (i) the training data span three materials (pure α-Fe, X65 modern, and X65 vintage) whose diffusivities differ by more than one order of magnitude at any given temperature, introducing inherent multi-group scatter; (ii) the PINN has only a single input feature (temperature) and cannot learn alloy-specific offsets; and (iii) R2 computed in log-diffusivity space down-weights the high-D points. The model is explicitly designed to provide a physically consistent Arrhenius temperature baseline, not to discriminate between alloy systems; this task requires compositional and microstructural input features. Despite the low R2, the model correctly enforces Arrhenius monotonicity, recovers the pure iron activation energy, and provides useful predictions of the Fickian diffusion profile.

6.2. Physical Interpretation of Trapping Data

The two-order-of-magnitude variation in Deff across ternary alloys is primarily governed by the flat trap density Nft rather than the binding enthalpy |ΔHft| of the traps. This has important consequences for alloy design: increasing the fine coherent carbide precipitate density (as in Fe–Ti–C and Fe–Nb–C) strongly reduces Deff, thereby slowing the hydrogen supply to the stress-concentration sites [12]. However, Grabke et al. [16] demonstrated via constant extension rate tests that only mobile hydrogen drives HISCC, and deep-trap hydrogen has no measurable fracture effect. Therefore, maximizing the deep trap density without managing the mobile hydrogen concentration does not improve the HE resistance.
The Fe–Mo–N anomaly is noteworthy: despite moderate Nft and |ΔHft|, this alloy exhibits an exceptionally low Deff (0.27 × 10−6 cm2 s−1). This is attributed by Grabke et al. [16] to large Mo2N platelets that physically reduce the cross-sectional area available for hydrogen permeation, a geometric blocking mechanism not captured by the standard one-site McNabb–Foster model. This highlights the importance of precipitate morphology, in addition to trap parameters, in controlling Deff.

6.3. X65 Activation Energies and Microstructural Implications

The difference in the fitted activation energies between modern (Ea = 28.5 kJ mol−1) and vintage (Ea = 45.2 kJ mol−1) X65 steels reflects fundamentally different microstructures. The modern steel was produced by controlled thermomechanical rolling with accelerated cooling, yielding fine-grained ferritic–pearlitic microstructure with low inclusion density [24,27,28]. The vintage plate was produced by conventional normalizing, resulting in coarser grains, higher MnS stringer density, and chemical segregation banding. These microstructural features generate a higher density of stronger trapping sites in vintage steel, manifested as a higher apparent Ea. The current PINN model, which uses only temperature as input, cannot capture these compositional and microstructural differences; a multi-feature extension incorporating grain size, inclusion density, and dislocation density descriptors is identified as the critical next step. The fitted activation energies Ea = 28.5 and 45.2 kJ mol−1 for modern and vintage X65 steels, respectively (Figure 4), are substantially higher than those for pure iron (4.15 kJ mol−1), confirming extensive trapping in both microstructures. The higher Ea in vintage steel indicates that its trapping sites have higher average binding energies, which is consistent with the greater density of semi-coherent MnS stringers and legacy deformation texture. For the hydrogen service repurposing of aging pipeline infrastructure, this difference in Ea must be explicitly incorporated into integrity management models, as it implies slower diffusion to defect sites but potentially higher equilibrium hydrogen concentrations near those sites.

6.4. Implications for Hydrogen-Economy Infrastructure

For hydrogen transmission pipelines, a low Deff is not inherently protective; it slows permeation but simultaneously increases the local hydrogen concentration near the entry surface, thereby increasing the risk of crack initiation at inclusions and in the weld heat-affected zones. The critical parameter for HIC resistance is the concentration of mobile hydrogen at potential crack initiation sites, which depends on the balance between Deff, surface hydrogen activity, and the local microstructural trap population. PINN-based modeling frameworks, such as the one presented herein, when extended with compositional and microstructural inputs (Section 6.5), offer a route to computationally efficient, physics-consistent prediction of this balance across the wide space of steel grades relevant to hydrogen infrastructure [7,27,29,30,31,32].

6.5. Future Model Extensions

The current model has the following limitations relevant to future work. First, the single-input-feature architecture must be extended to include compositional descriptors (alloy element fractions, C/N content) and microstructural parameters (grain size, dislocation density, precipitate size distribution), requiring a purposely curated multi-feature experimental database with systematically varied processing conditions. Second, the physics loss can directly incorporate the McNabb–Foster trapping equations, rather than only the Arrhenius monotonicity constraint, thereby providing stronger regularization for systems with widely varying trap parameters. Third, the stress dependence of Deff demonstrated by Frappart et al. [33,34] in the plastic deformation regime is not accounted for in the current Fickian framework and would be critical for modeling hydrogen embrittlement in high-strength pipeline steels operating near the yield. The full multi-feature PINN that incorporates alloy composition and microstructural descriptors as inputs required to discriminate between alloy systems at a fixed temperature was identified as the primary direction for future work.

7. Conclusions

  • A PINN framework embedding the Arrhenius temperature constraint and Fick’s second law successfully reproduced the temperature dependence of hydrogen diffusivity across pure α-Fe and API X65 pipeline steels (modern and vintage), recovering an activation energy of ~4.2 kJ mol−1, which is consistent with the value reported in the literature for pure iron. The overall training R2 = 0.965 demonstrates good agreement across all material groups.
  • Arrhenius fitting of the electrochemical permeation data for X65 steel yielded activation energies of 28.5 and 45.2 kJ mol−1 (modern and vintage, respectively), both substantially higher than those for pure iron, indicating extensive trapping in both microstructures and stronger trapping characteristics in the vintage plate.
  • The McNabb–Foster analysis of ten ternary Fe–Me–C,N alloys revealed flat trap binding enthalpies of 19 ± 2 kJ mol−1 and deep trap-free energies of 57 ± 2 kJ mol−1 for all systems. The uniformity of the deep trap energies confirms that deep trapping is a structural phenomenon (dislocation cores, grain boundaries, and incoherent interfaces) that is independent of the specific carbide or nitride former.
  • The effective diffusivities span three orders of magnitude (0.27–96 × 10−6 cm2 s−1) across the alloy systems studied, governed primarily by the flat-trap density Nft rather than the binding enthalpy. Only mobile hydrogen in interstitial sites and flat traps participates in the HISCC; deep-trap hydrogen is mechanistically inactive at ambient temperatures.
  • The PINN framework is inherently limited by its single temperature input, which prevents the discrimination of alloy-specific diffusivities at a fixed temperature. A multi-feature extension incorporating compositional and microstructural descriptors is identified as the critical next step toward the data-driven design of hydrogen-tolerant microalloyed steels for next-generation infrastructure applications.
  • The fitted Arrhenius parameters (Ea = 28.5 [kJ mol−1], modern; 45.2 [kJ mol−1], vintage) can be directly applied to hydrogen integrity management models for API X65 pipeline infrastructure. The substantially higher Ea in vintage steel implies that hydrogen diffuses more slowly to defect sites but accumulates at higher equilibrium concentrations near inclusions, a distinction with direct implications for inspection intervals and pressure limits in pipelines being repurposed for hydrogen service.
  • The future extension of the PINN framework to include alloy composition (element fractions, C/N content), microstructural descriptors (grain size, dislocation density, inclusion density), and stress-state fields (hydrostatic stress, equivalent plastic strain) as input features, enabled by a purpose-built multi-alloy experimental database, would provide a fully predictive design tool for hydrogen-tolerant microalloyed steels across the full hydrogen-economy supply chain.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/met16050546/s1, Table S1: Hydrogen Diffusivity in Pure Recrystallised α-Fe—Arrhenius Data. Table S2: Hydrogen Diffusivity, Solubility and Trapping Parameters—Ternary Fe–Me–C,N Alloys. Table S3: Hydrogen Diffusivity and Trapping Parameters—Commercial Pipeline Steels at 25°C. Table S4: Hydrogen Effective Diffusivity in API 5L X65 Pipeline Steel—Temperature Dependence. Table S5: Arrhenius Parameters Summary—All Material Systems. Table S6: PINN Model—Architecture, Training Data and Parameters.

Author Contributions

Conceptualization, S.T. and N.G.S.R.; methodology, N.P.; software, N.G.S.R. and S.T.; validation, N.P. and S.T.; formal analysis and investigation, N.P. and S.T.; resources, N.G.S.R. and N.P.; data curation, S.T. and N.G.S.R.; writing—original draft preparation, S.T.; writing—review and editing, S.T. and N.G.S.R.; visualization, N.P.; supervision, N.G.S.R., N.P. and S.T.; project administration, N.P. and N.G.S.R.; funding acquisition, N.G.S.R. and N.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Regional Innovation System & Education (RISE) program through the Gyeongbuk RISE CENTER, funded by the Ministry of Education (MOE) and the Gyeongsangbuk-do, Republic of Korea (2025-RISE-15-115).

Data Availability Statement

The original contributions of this study are included in the article/Supplementary Materials. Further inquiries can be directed to the corresponding authors.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

Symbol/AbbreviationDefinitionUnit
CHHydrogen concentration in interstitial sitesmol cm−3
CftHydrogen concentration in flat trapsmol cm−3
C0surface hydrogen concentration at charging facemol cm−3
DHintrinsic hydrogen diffusivity in trap-free latticecm2 s−1
Deffeffective hydrogen diffusivitycm2 s−1
D0pre-exponential factorcm2 s−1
Eaapparent activation energykJ mol−1
Kftflat-trap equilibrium constantdimensionless
KSSieverts’ constantmol cm−3 bar−1/2
Lmembrane thicknesscm
Nnumber of data points
Nftflat-trap densitymol cm−3
Ndtdeep-trap densitymol cm−3
Nintinterstitial site densitymol cm−3
pH2hydrogen partial pressurebar
Runiversal gas constant8.314 × 10−3 kJ mol−1 K−1
Tabsolute temperatureK
ttimes
xposition in membranemm
αtrapping parameter = Kft·Nft/Nintdimensionless
ΔHftstandard enthalpy change at flat trapkJ mol−1
ΔGdtstandard free energy change at deep trapkJ mol−1
ΔSftstandard entropy change at flat trapkJ mol−1 K−1
λphysics loss weight
μsmoothness loss weight
μ (normalization)mean of training inverse temperatures
σ (normalization)standard deviation of training inverse temperatures
Φ0permeation coefficientmol cm−1 s−1
BCCBody-centered cubic
CERTConstant extension rate test
HEHydrogen embrittlement
HICHydrogen-induced cracking
HISCCHydrogen-induced stress corrosion cracking
PINNPhysics-informed neural network
Q + TQuenched and Tempered
TMThermomechanical treatment
ACCAccelerated cooling

References

  1. Staffell, I.; Scamman, D.; Velazquez Abad, A.; Balcombe, P.; Dodds, P.E.; Ekins, P.; Shah, N.; Ward, K.R. The Role of Hydrogen and Fuel Cells in the Global Energy System. Energy Environ. Sci. 2019, 12, 463–491. [Google Scholar] [CrossRef]
  2. van Renssen, S. The Hydrogen Solution? Nat. Clim. Change 2020, 10, 799–801. [Google Scholar] [CrossRef]
  3. Nanninga, N.E.; Levy, Y.S.; Drexler, E.S.; Condon, R.T.; Stevenson, A.E.; Slifka, A.J. Comparison of Hydrogen Embrittlement in Three Pipeline Steels in High Pressure Gaseous Hydrogen Environments. Corros. Sci. 2012, 59, 1–9. [Google Scholar] [CrossRef]
  4. Briottet, L.; Moro, I.; Lemoine, P. Quantifying the Hydrogen Embrittlement of Pipeline Steels for Safety Considerations. Int. J. Hydrogen Energy 2012, 37, 17616–17623. [Google Scholar] [CrossRef]
  5. Djukic, M.B.; Bakic, G.M.; Sijacki Zeravcic, V.; Sedmak, A.; Rajicic, B. The Synergistic Action and Interplay of Hydrogen Embrittlement Mechanisms in Steels and Iron: Localized Plasticity and Decohesion. Eng. Fract. Mech. 2019, 216, 106528. [Google Scholar] [CrossRef]
  6. Dwivedi, S.K.; Vishwakarma, M. Hydrogen Embrittlement in Different Materials: A Review. Int. J. Hydrogen Energy 2018, 43, 21603–21616. [Google Scholar] [CrossRef]
  7. Yu, L.; Feng, H.; Li, S.; Guo, Z.; Chi, Q. Study on Hydrogen Embrittlement Behavior of X65 Pipeline Steel in Gaseous Hydrogen Environment. Metals 2025, 15, 596. [Google Scholar] [CrossRef]
  8. Li, Q.; Ghadiani, H.; Jalilvand, V.; Alam, T.; Farhat, Z.; Islam, M.A. Hydrogen Impact: A Review on Diffusibility, Embrittlement Mechanisms, and Characterization. Materials 2024, 17, 965. [Google Scholar] [CrossRef] [PubMed]
  9. Pressouyre, G.M. A Classification of Hydrogen Traps in Steel. Metall. Trans. A 1979, 10, 1571–1573. [Google Scholar] [CrossRef]
  10. Pressouyre, G.M.; Bernstein, I.M. An Example of the Effect of Hydrogen Trapping on Hydrogen Embrittlement. Metall. Trans. A 1981, 12, 835–844. [Google Scholar] [CrossRef]
  11. Turnbull, A. Perspectives on Hydrogen Uptake, Diffusion and Trapping. Int. J. Hydrogen Energy 2015, 40, 16961–16970. [Google Scholar] [CrossRef]
  12. Mohrbacher, H.; Bacchi, L.; Ischia, G.; Gialanella, S.; Tedesco, M.; D’Aiuto, F.; Valentini, R. Characterization of Nanosized Carbide Precipitates in Multiple Microalloyed Press Hardening Steels. Metals 2023, 13, 894. [Google Scholar] [CrossRef]
  13. Mcnabb, A. A New Analysis of the Diffusion of Hydrogen in Iron and Ferritic Steels; The American Institute of Mining, Metallurgical and Petroleum Engineers: San Ramon, CA, USA, 1963; Volume 227. [Google Scholar]
  14. Oriani, R.A. The Diffusion and Trapping of Hydrogen in Steel. Acta Metall. 1970, 18, 147–157. [Google Scholar] [CrossRef]
  15. Hirth, J.P. Effects of Hydrogen on the Properties of Iron and Steel. Metall. Trans. A 1980, 11, 861–890. [Google Scholar] [CrossRef]
  16. Grabke, H.J.; Gehrmann, F.; Riecke, E. Hydrogen in Microalloyed Steels. Steel Res. 2001, 72, 225–235. [Google Scholar] [CrossRef]
  17. Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-Informed Neural Networks: A Deep Learning Framework for Solving Forward and Inverse Problems Involving Nonlinear Partial Differential Equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef]
  18. Abueidda, D.W.; Koric, S.; Sobh, N.A.; Sehitoglu, H. Deep Learning for Plasticity and Thermo-Viscoplasticity. Int. J. Plast. 2021, 136, 102852. [Google Scholar] [CrossRef]
  19. Xia, Y.; Wang, H.; Xu, A. DmPINNs: An Integrated Data-Driven and Mechanism-Based Method for Endpoint Carbon Prediction in BOF. Metals 2024, 14, 926. [Google Scholar] [CrossRef]
  20. Takmili, S.A.; Choi, E.; Ostadrahimi, A.; Baghani, M. Physics-Informed Neural Networks for Thermo-Responsive Hydrogel Swelling: Integrating Constitutive Models with Sparse Experimental Data. Materials 2025, 18, 5401. [Google Scholar] [CrossRef] [PubMed]
  21. Cuomo, S.; Di Cola, V.S.; Giampaolo, F.; Rozza, G.; Raissi, M.; Piccialli, F. Scientific Machine Learning Through Physics–Informed Neural Networks: Where We Are and What’s Next. J. Sci. Comput. 2022, 92, 88. [Google Scholar] [CrossRef]
  22. Chen, Z.; Liu, Y.; Sun, H. Physics-Informed Learning of Governing Equations from Scarce Data. Nat. Commun. 2021, 12, 6136. [Google Scholar] [CrossRef]
  23. Devanathan, M.A.V.; Stachurski, Z. The Adsorption and Diffusion of Electrolytic Hydrogen in Palladium. Proc. R. Soc. Lond. A Math. Phys. Sci. 1962, 270, 90–102. [Google Scholar]
  24. Koren, E.; Yamabe, J.; Lu, X.; Hagen, C.M.H.; Wang, D.; Johnsen, R. Hydrogen Diffusivity in X65 Pipeline Steel: Desorption and Permeation Studies. Int. J. Hydrogen Energy 2024, 61, 1157–1169. [Google Scholar] [CrossRef]
  25. Zakroczymski, T. Electrochemical Determination of Hydrogen in Metals. J. Electroanal. Chem. 1999, 475, 82–88. [Google Scholar] [CrossRef]
  26. Iino, M. Analysis of Irreversible Hydrogen Trapping. Acta Metall. 1982, 30, 377–383. [Google Scholar] [CrossRef]
  27. Ghadiani, H.; Farhat, Z.; Alam, T.; Islam, M.A. Fracture Toughness Assessment of Pipeline Steels Under Hydrogen Exposure for Blended Gas Applications. Metals 2025, 15, 29. [Google Scholar] [CrossRef]
  28. Islam, A.; Li, Q.; Storimans, E.; Ton, K.; Alam, T.; Farhat, Z.N. Effect of Microstructure on Hydrogen Permeation and Trapping in Natural Gas Pipeline Steels. npj Mater. Degrad. 2025, 9, 70. [Google Scholar] [CrossRef]
  29. Norouzi, E.; Miresmaeili, R.; Shahverdi, H.R.; Askari-Paykani, M.; Vergani, L.M. Effect of Hydrogen on the Microstructure and Mechanical Properties of FeCCrNiBxSi Advanced High Strength Steels. Corros. Sci. 2024, 230, 111897. [Google Scholar] [CrossRef]
  30. Venezuela, J.; Liu, Q.; Zhang, M.; Zhou, Q.; Atrens, A. A Review of Hydrogen Embrittlement of Martensitic Advanced High-Strength Steels. Corros. Rev. 2016, 34, 153–186. [Google Scholar] [CrossRef]
  31. Shirband, Z.; Shishesaz, M.R.; Ashrafi, A. Investigating the Effect of Heat Treatment on Hydrogen Permeation Behavior of API X-70 Steel. Phase Transit. 2012, 85, 503–511. [Google Scholar] [CrossRef]
  32. Faucon, L.E.; Boot, T.; Riemslag, T.; Scott, S.P.; Liu, P.; Popovich, V. Hydrogen-Accelerated Fatigue of API X60 Pipeline Steel and Its Weld. Metals 2023, 13, 563. [Google Scholar] [CrossRef]
  33. Frappart, S.; Feaugas, X.; Creus, J.; Thebault, F.; Delattre, L.; Marchebois, H. Study of the Hydrogen Diffusion and Segregation into Fe–C–Mo Martensitic HSLA Steel Using Electrochemical Permeation Test. J. Phys. Chem. Solids 2010, 71, 1467–1479. [Google Scholar] [CrossRef]
  34. Sofronis, P.; McMeeking, R.M. Numerical Analysis of Hydrogen Transport near a Blunting Crack Tip. J. Mech. Phys. Solids 1989, 37, 317–350. [Google Scholar] [CrossRef]
Figure 1. (a) Arrhenius plot of hydrogen diffusivity in pure recrystallised α-Fe [16] and Armco iron [25]. The PINN prediction (red solid line) and Arrhenius reference Equation (5) (black dashed line) are coincident because the PINN sub-model trained on the pure α-Fe subset achieves R2 = 1.00, perfectly reproducing the Arrhenius relationship. (b) Relative deviation (%) between the PINN prediction and Equation (5) at each training temperature. Original figure; data adapted from [16,25].
Figure 1. (a) Arrhenius plot of hydrogen diffusivity in pure recrystallised α-Fe [16] and Armco iron [25]. The PINN prediction (red solid line) and Arrhenius reference Equation (5) (black dashed line) are coincident because the PINN sub-model trained on the pure α-Fe subset achieves R2 = 1.00, perfectly reproducing the Arrhenius relationship. (b) Relative deviation (%) between the PINN prediction and Equation (5) at each training temperature. Original figure; data adapted from [16,25].
Metals 16 00546 g001
Figure 2. Effective H diffusivity Deff in the ternary (a) Fe–Me–C and (b) Fe–Me–N alloys computed from the McNabb–Foster trapping model (Equation (4); Nint = 0.848 mol cm−3). The trap parameters are adapted from previous work [16]. Dashed line: pure α-Fe reference line.
Figure 2. Effective H diffusivity Deff in the ternary (a) Fe–Me–C and (b) Fe–Me–N alloys computed from the McNabb–Foster trapping model (Equation (4); Nint = 0.848 mol cm−3). The trap parameters are adapted from previous work [16]. Dashed line: pure α-Fe reference line.
Metals 16 00546 g002
Figure 3. Correlation between the effective diffusivity H at 25 °C and flat-trap binding enthalpy |ΔHft| for all investigated systems data adopted from [16].
Figure 3. Correlation between the effective diffusivity H at 25 °C and flat-trap binding enthalpy |ΔHft| for all investigated systems data adopted from [16].
Metals 16 00546 g003
Figure 4. Arrhenius plot of the effective diffusivity of H in API X65 pipeline steel: modern (○) and vintage (■) microstructures data adopted from [24]. The individual Arrhenius fits and PINN global predictions were overlaid on the data. The corrected Ea values were 28.5 and 45.2 kJ mol −1 for modern and vintage samples, respectively.
Figure 4. Arrhenius plot of the effective diffusivity of H in API X65 pipeline steel: modern (○) and vintage (■) microstructures data adopted from [24]. The individual Arrhenius fits and PINN global predictions were overlaid on the data. The corrected Ea values were 28.5 and 45.2 kJ mol −1 for modern and vintage samples, respectively.
Metals 16 00546 g004
Figure 5. H effective diffusivity vs. flat trap density in commercial pipeline steels at 25 °C (Table 5).
Figure 5. H effective diffusivity vs. flat trap density in commercial pipeline steels at 25 °C (Table 5).
Metals 16 00546 g005
Figure 6. PINN architecture: single input (normalized 103/T), two hidden sigmoid layers (20 neurons each), and a single output (ln Deff). The physics and data loss terms were simultaneously backpropagated.
Figure 6. PINN architecture: single input (normalized 103/T), two hidden sigmoid layers (20 neurons each), and a single output (ln Deff). The physics and data loss terms were simultaneously backpropagated.
Metals 16 00546 g006
Figure 7. PINN training convergence: total loss (black), data loss (blue dashed), and physical loss (Arrhenius constraint, red dotted) over 15,000 training epochs.
Figure 7. PINN training convergence: total loss (black), data loss (blue dashed), and physical loss (Arrhenius constraint, red dotted) over 15,000 training epochs.
Metals 16 00546 g007
Figure 8. Deep-trap free energies |ΔGdt| in the ternary (a) Fe–Me–C and (b) Fe–Me–N alloys. Dashed line: 60% cold-worked Fe (Grabke et al., 2001) [16]; dotted line: dislocation/grain boundary literature range (Hirth, 1980) [15]. Original figure; data from [15,16].
Figure 8. Deep-trap free energies |ΔGdt| in the ternary (a) Fe–Me–C and (b) Fe–Me–N alloys. Dashed line: 60% cold-worked Fe (Grabke et al., 2001) [16]; dotted line: dislocation/grain boundary literature range (Hirth, 1980) [15]. Original figure; data from [15,16].
Metals 16 00546 g008
Figure 9. Parity plot of PINN-predicted vs. experimental H diffusivity for 22 temperature-dependent training points. Solid line: 1:1 agreement; dashed lines: factor-of-2 bounds. R2 = 0.965 in ln(D) space.
Figure 9. Parity plot of PINN-predicted vs. experimental H diffusivity for 22 temperature-dependent training points. Solid line: 1:1 agreement; dashed lines: factor-of-2 bounds. R2 = 0.965 in ln(D) space.
Metals 16 00546 g009
Figure 10. Effective H diffusivity at 25 °C in commercial pipeline steels (Table 5).
Figure 10. Effective H diffusivity at 25 °C in commercial pipeline steels (Table 5).
Metals 16 00546 g010
Figure 11. H permeation coefficient Φ0 in ternary Fe–Me–C (circles) and Fe–Me–N (squares) alloys at 25 °C vs. pure Fe reference (solid line) data from [16].
Figure 11. H permeation coefficient Φ0 in ternary Fe–Me–C (circles) and Fe–Me–N (squares) alloys at 25 °C vs. pure Fe reference (solid line) data from [16].
Metals 16 00546 g011
Figure 12. (a) Flat trap binding enthalpies |ΔHft| and (b) deep trap free energies |ΔGdt| in ternary Fe–Me–C (red) and Fe–Me–N (blue) alloys. Dashed lines indicate the mean values.
Figure 12. (a) Flat trap binding enthalpies |ΔHft| and (b) deep trap free energies |ΔGdt| in ternary Fe–Me–C (red) and Fe–Me–N (blue) alloys. Dashed lines indicate the mean values.
Metals 16 00546 g012
Figure 13. Normalized H concentration profiles across a 1 mm steel membrane (Q + T steel St 4, Deff = 10.2 × 10−6 cm2 s−1) at successive times, based on the analytical Fickian solution.
Figure 13. Normalized H concentration profiles across a 1 mm steel membrane (Q + T steel St 4, Deff = 10.2 × 10−6 cm2 s−1) at successive times, based on the analytical Fickian solution.
Metals 16 00546 g013
Figure 14. Experimental H diffusivity at 25 °C for all alloy systems (blue bars) with the PINN prediction at 25 °C (orange dashed line). Because the PINN is trained separately on pure Fe and X65, applying it at 25 °C to all alloys illustrates the model scope limitation: it cannot capture the effects of alloy chemistry without compositional input features, which illustrates the need for a multifeature model extension.
Figure 14. Experimental H diffusivity at 25 °C for all alloy systems (blue bars) with the PINN prediction at 25 °C (orange dashed line). Because the PINN is trained separately on pure Fe and X65, applying it at 25 °C to all alloys illustrates the model scope limitation: it cannot capture the effects of alloy chemistry without compositional input features, which illustrates the need for a multifeature model extension.
Metals 16 00546 g014
Table 1. Compositions (mass%) of ternary Fe–Me–C,N model alloys. Data adapted from Reference [13].
Table 1. Compositions (mass%) of ternary Fe–Me–C,N model alloys. Data adapted from Reference [13].
Alloy (C)%Me (C)%CAlloy (N)%Me (N)%N
Fe-Ti-C0.220.074Fe-Ti-N0.180.042
Fe-V-C0.190.081Fe-V-N0.200.048
Fe-Zr-C0.270.067Fe-Zr-N0.630.081
Fe-Nb-C0.350.066Fe-Nb-N0.350.043
Fe-Mo-C0.330.065Fe-Mo-N0.370.061
Table 2. Hydrogen diffusivity and trapping parameters in ternary Fe–Me–C,N alloys at 25 °C Adapted from Ref. [16].
Table 2. Hydrogen diffusivity and trapping parameters in ternary Fe–Me–C,N alloys at 25 °C Adapted from Ref. [16].
AlloyDeff [×10−6 cm2 s−1]CHeff [×10−8 mol cm−3]Ctotal [(×10−6) mol cm−3]Nft [(×103) mol cm−3]Hft| [kJ/mol]Ndt [×103 mol cm−3]Gdt| [kJ/mol]
Fe-Ti-C0.723.5102820.61058.5
Fe-Ti-N6.14.11.93.020.71.960.5
Fe-V-C3.57.21.82217.21.857.0
Fe-V-N2.79.23.01418.93.156.0
Fe-Zr-C241.10.40.8319.90.458.5
Fe-Zr-N3.08.5167.320.41756.1
Fe-Nb-C0.8230136018.31356.0
Fe-Nb-N5.34.73.59.218.23.754.9
Fe-Mo-C420.60.054.013.90.04556.5
Fe-Mo-N0.270.920.040.919.30.03556.0
Fe (60%def.)962627.90.6255.5
Table 3. H effective diffusivity in API X65 pipeline steel. Values are in [×10−6 cm2 s−1]. Adapted from Ref. [24].
Table 3. H effective diffusivity in API X65 pipeline steel. Values are in [×10−6 cm2 s−1]. Adapted from Ref. [24].
SteelMethod7 °C21 °C50 °C75–85 °C
ModernPermeation0.8961.836.2113.2
VintagePermeation0.2780.5241.303.34
ModernDesorption4.8715.6
VintageDesorption2.226.43
Table 4. Arrhenius pre-exponential factors D0 and activation energies Ea. Pure α-Fe parameters are adapted from Grabke et al. [16] (Equation (5)); X65 parameters were obtained by nonlinear least-squares fitting to the permeation data adapted from Koren et al. [24].
Table 4. Arrhenius pre-exponential factors D0 and activation energies Ea. Pure α-Fe parameters are adapted from Grabke et al. [16] (Equation (5)); X65 parameters were obtained by nonlinear least-squares fitting to the permeation data adapted from Koren et al. [24].
MaterialD0 [cm2 s−1]Ea [kJ mol−1]R2Source
Pure α-Fe5.12 × 10−44.15(analytical)[16]
X65 Modern2.30 × 10−128.50.988[24]
X65 Vintage2.36 × 10−145.20.996[24]
Note: Koren et al. [24] independently report Ed values (modern ≈ 22–25 kJ mol−1; vintage ≈ 35–40 kJ mol−1); the present values are somewhat higher due to fitting methodology differences.
Table 5. Hydrogen diffusivity and trapping parameters in commercial pipeline steels at 25 °C. Adopted from Ref. [16].
Table 5. Hydrogen diffusivity and trapping parameters in commercial pipeline steels at 25 °C. Adopted from Ref. [16].
SteelProcessingDeff [×10−6 cm2 s−1]CHeff [×10−8 mol cm−3]Ctotal [×10−8 mol cm−3]Nft [(×103) mol cm−3]Hft| [kJ/mol]Gdt| [kJ/mol]
St 0TM(γ) surf.10.42.349.580.6323.058.0
St 0TM(γ) ctr.16.01.538.030.8621.053.2
St 1TM(γ)21.51.174.221.419.056.0
St 2TM(α + γ)18.11.405.902.618.054.0
St 3TM(γ) + ACC17.61.426.223.117.652.0
St 4Q + T10.22.4427.30.4623.953.0
St 5TM(γ)39.40.636.548.112.554.3
St 6TM(γ) + ACC26.40.944.764.115.651.5
St 7TM(α + γ) + ACC33.20.756.107.513.353.8
A516Normalized25.10.998.203.616.156.5
E355Normalized23.51.017.321.019.657.3
E500Q + T14.51.7148.65.017.053.2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Tiwari, S.; Park, N.; Subba Reddy, N.G. Physics-Informed Neural Network Modelling of Hydrogen Diffusion and Trapping in Microalloyed Steels: A Data-Driven Synthesis Across Multiple Alloy Systems. Metals 2026, 16, 546. https://doi.org/10.3390/met16050546

AMA Style

Tiwari S, Park N, Subba Reddy NG. Physics-Informed Neural Network Modelling of Hydrogen Diffusion and Trapping in Microalloyed Steels: A Data-Driven Synthesis Across Multiple Alloy Systems. Metals. 2026; 16(5):546. https://doi.org/10.3390/met16050546

Chicago/Turabian Style

Tiwari, Saurabh, Nokeun Park, and Nagireddy Gari Subba Reddy. 2026. "Physics-Informed Neural Network Modelling of Hydrogen Diffusion and Trapping in Microalloyed Steels: A Data-Driven Synthesis Across Multiple Alloy Systems" Metals 16, no. 5: 546. https://doi.org/10.3390/met16050546

APA Style

Tiwari, S., Park, N., & Subba Reddy, N. G. (2026). Physics-Informed Neural Network Modelling of Hydrogen Diffusion and Trapping in Microalloyed Steels: A Data-Driven Synthesis Across Multiple Alloy Systems. Metals, 16(5), 546. https://doi.org/10.3390/met16050546

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop