Source-linked AI summary

Real-Time Monitoring of MHD Liquid Metal Flows with Shallow Recurrent Decoders

Claudio Scardino, Stefano Riva, Carolina Introini, Matteo Lo Verso, Eric Cervi, Antonio Cammi, Laura Savoldi

arXiv:2608.28366v1physics.comp-phcs.LGphysics.flu-dyn

TL;DR

Real-time MHD state estimation is needed for liquid-metal tokamak blankets, but high-fidelity simulations are too costly for online use. The paper combines PCA with SHRED to map sparse temperature measurements to full thermo-hydraulic fields in a three-dimensional, two-parameter blanket-like flow. Mean relative errors remain below 5% across weak-field cases and angles from 5° to 30°, supporting SHRED as a real-time estimator for unseen parametric scenarios.

  • Problem

    High-fidelity MHD simulations are computationally prohibitive for real-time state estimation, while data-driven reduced-order methods remain limited for liquid-metal blankets.

  • Method

    The paper couples Principal Component Analysis with SHRED to reconstruct full thermo-hydraulic fields from sparse measurements of a single observable field.

  • Results

    Below 5% mean relative error is reported for temperature, pressure, and velocity at Bext = 0.075 T with inclination angles from 5° to 30°, only slightly above the SVD truncation bound.

  • Takeaways & Limitations

    SHRED provides a fast state-estimation approach for complex multiparametric MHD applications, with online inference taking less than 1 second compared with more than six hours for a transient full-order simulation.

  • Takeaways & Limitations

    The benchmark assumes duct-wall and cylinder boundary conditions, including walls classified relative to a field oriented mainly along the z-axis.

Abstract

from arXiv · show

State estimation in magnetohydrodynamic flows is critical for real-time monitoring of liquid metal blankets in tokamak fusion reactors. Due to the multiphysics nature of these phenomena, high-fidelity simulations are computationally prohibitive for real-time applications. This work investigates a data- driven Reduced Order Model framework: the Shallow Recurrent Decoder (SHRED) coupled with Principal Component Analysis, to map sparse temperature measurements to the full thermo-hydraulic system's state. The major contribution of this work lies in the two-parameter analysis of a fully three-dimensional domain representative of the DEMO breeding blanket configuration. Here, the flow is subjected to an external magnetic field varying in direction and intensity and is hindered by two cylinders acting as a water-cooling system, which impose a temperature boundary condition on their surfaces. This double-parametric magnetic variation induces nonlinear transitions in the flow dynamics, ranging from chaotic behavior at low magnetic field intensities to laminarized regimes at high intensities, characterized by the formation of asymmetric side layers at an inclination angle of 30 degrees. SHRED reconstruction maintains a mean relative error of approximately 5% for the temperature, pressure, and velocity fields. This accuracy is maintained across both weak and strong magnetic fields, ranging from 0.075 T to 0.300 T, and for inclination angles from 5 to 30 degrees, reflecting its dominant toroidal component. These errors are only slightly larger than the lower error bound dictated by low-rank truncation. The results establish SHRED as a reliable state estimator for complex and realistic engineering applications involving completely unseen parametric scenarios and validate it as an accurate real-time state estimation technique suitable for online monitoring and control of real facilities.

1 Introduction

The paper addresses the computational difficulty of estimating nonlinear, parameter-dependent MHD states in liquid-metal breeding blankets. It introduces a PCA-based SHRED framework that reconstructs full thermo-hydraulic fields from sparse measurements in a realistic three-dimensional benchmark.

  • Motivation: High-fidelity MHD simulations are computationally expensive because magnetic-field intensity and inclination can produce substantially different flow dynamics.Strong magnetic fields can laminarize the flow by suppressing three-dimensional turbulent structures through Lorentz forces.
  • Motivation: Deep architectures become impractical for three-dimensional full-order simulations because mesh sizes of Nh ∼O(10^5−10^8) require many parameters and massive training datasets.The resulting computational, memory, and data demands are especially problematic for coupled nonlinear multi-query simulations.
  • Reduced-order framework: PCA reduces high-fidelity simulation data to dominant spatial basis functions and a low-dimensional latent representation for reduced-order modeling.The reduced space is defined by the span of the retained basis functions and their latent coefficients.
  • Reduced-order framework: The framework uses centered PCA to emphasize physical oscillations around the mean field rather than learning the dominant static mean field.Subtracting the mean snapshot prevents the network from spending parameters on reconstructing that static component.
  • SHRED approach: SHRED combines sparse sensor measurements with a recurrent network and shallow decoder to learn nonlinear latent dynamics instead of reconstructing the full mesh directly.The network estimates O(10^1) latent unknowns rather than Nh ∼O(10^5−10^8) mesh unknowns.
  • SHRED approach: Using one measurable scalar field, SHRED can estimate unmeasured physical fields, including pressure and velocity, from sparse temperature data.This indirect state-estimation capability addresses the practical difficulty of measuring localized vector fields.
  • Benchmark problem: The study evaluates SHRED on a three-dimensional Pb-Li flow through a square duct containing two cooling cylinders with fixed lower-temperature surfaces.The geometry provides a more realistic breeding-blanket representation and supports analysis of distinctive MHD phenomena.

2 The SHallow REcurrent Decoder

SHRED maps time-lagged sparse measurements into a PCA latent space using an LSTM and shallow decoder, then reconstructs full fields from estimated coefficients. Its sensor-agnostic ensemble formulation also provides an empirical uncertainty signal for difficult predictions.

  • SHRED architecture: SHRED combines an LSTM for sequential measurements with a shallow decoder that maps temporal sensor trajectories to the system’s reduced latent dynamics.The architecture is designed for sparse measurements and reduced-order state estimation.
  • SHRED architecture: The model can reconstruct the full physical space from remarkably few sensors and is agnostic to their spatial placement.The paper reports examples using three sensors in two dimensions and four sensors in three dimensions.
  • SHRED architecture: The default architecture uses an LSTM followed by a feedforward decoder that maps the latent representation to r PCA coefficients.The LSTM processes time-lagged measurements, while the decoder contains hidden layers of 350 and 400 neurons.
  • SHRED architecture: The lag parameter L is the only application-specific hyperparameter requiring tuning and represents the number of time steps retained to determine the current state.Its physical interpretation links the lag to the characteristic time scale of the investigated phenomenon.
  • Offline and online stages: The implementation uses four randomly placed sensors to estimate PCA coefficients for pressure, temperature, and velocity from measurements of a single field.The measurements are organized with time-lagged embedding before training.
  • Offline and online stages: During offline training, SHRED learns the nonlinear mapping from lagged measurements to PCA coefficients through a reduced-coefficient loss.The online phase applies the trained model to sparse measurements in new parametric scenarios and reconstructs fields from the estimated coefficients and PCA basis functions.
  • Sensor positioning and ensembles: Ensemble SHRED averages reconstructions from different sensor placements, improving robustness to measurement noise and enabling reconstruction-uncertainty estimation.Because the reduced space is linear, averaging estimated PCA coefficients is computationally cheaper than averaging full reconstructed fields.
  • Sensor positioning and ensembles: High ensemble spread empirically correlates with high reconstruction error and identifies regions or times where the state is harder to estimate accurately.This provides an accuracy indicator when the full-order solution is unavailable during real-time operation.

3 Numerical Results

SHRED reconstructs thermo-hydraulic fields from sparse sensing across varied magnetic-field conditions, with errors generally near the PCA truncation limit. Its accuracy, data efficiency, and rapid inference support real-time state estimation, including unseen parametric scenarios.

  • Numerical setup: The three-dimensional test case uses Pb-Li flow through a square duct with two transversal cooling cylinders and an inclined magnetic field.The magnetic field varies in the z–y plane, while the cylinder surfaces impose the cooling configuration.
  • Reduced representation: PCA captures the reduced dynamics with few modes after removing the mean snapshot, enabling a low-dimensional representation of field fluctuations.The reduced basis spans recurrent spatial patterns, while latent coefficients encode the temporal dynamics.
  • Single-parameter inclination analysis: SHRED remains accurate with sparse, sensor-position-agnostic measurements, achieving mean relative errors below 3.3% across fields in the inclination study.The ensemble formulation also supports smoothing against sensor disturbances and less informative sensor placements.
  • Single-parameter inclination analysis: DEIM-SHRED is consistently more accurate than standard SHRED and reaches error saturation with only three training angles.A qualitative comparison also finds no remarkable difference between standard SHRED using one angle and DEIM-SHRED using eleven.
  • Single-parameter intensity analysis: Higher magnetic-field intensity lowers velocity reconstruction error because Lorentz-force effects laminarize the flow and suppress turbulence.Temperature errors are also lower at 0.3 T, consistent with stronger advection-driven coupling between temperature and velocity.
  • Single-parameter intensity analysis: Across training-set sizes, errors remain nearly unchanged between 20% and 70%, with pressure error at 0.3 T remaining below 6.5%.This indicates generalization across unseen magnetic-field cases, although pressure becomes an exception at the highest intensity.
  • Double-parameter analysis: The reported errors remain close to the SVD lower bound imposed by PCA rank truncation, which limits accuracy even for an ideal latent-coefficient estimator.The bound also reflects that the PCA basis excludes test cases when it is computed from training snapshots.

4 CONCLUSIONS

The study applies SHRED to parametric three-dimensional MHD liquid-metal flows and evaluates state reconstruction across sparse sensing, training-data, and magnetic-parameter variations. SHRED maintains low reconstruction errors while supporting uncertainty assessment and near-real-time estimation.

  • SHRED state estimation: SHRED maps sparse temperature measurements to the latent temperature, pressure, and velocity fields for indirect state estimation.The method learns this nonlinear mapping from time measurements of a single observable sampled by sparse sensors.
  • Single-parameter studies: 20% of the global training set yields mean relative error below 5% for every field in the single-parameter studies.This result holds when either inclination angle or magnetic-field magnitude is varied as the parameter.
  • Two-parameter studies: SHRED remains below 5% mean relative error for temperature, pressure, and velocity at Bext = 0.075 T and inclination angles from 5° to 30°.At challenging high-field angles, the error never exceeds 10%.
  • Uncertainty estimation: An ensemble of SHRED models trained with different sensor configurations provides prediction trustworthiness through uncertainty estimates.The ensemble computes standard-deviation fields for each thermo-hydraulic quantity.
  • Computational performance: SHRED training requires only a few minutes on a standard personal computer, while online estimation is almost instantaneous.These timings support its use as a real-time, multi-query MHD state estimator.

A MHD ruling equations

The MHD model solves coupled fluid and electromagnetic equations with momentum, magnetic-field, and thermal-transport components. Its formulation includes incompressibility, magnetic-field solenoidality, and temperature-dependent density under the Boussinesq approximation.

  • Governing system: The solver system includes magnetohydrodynamic governing equations for the liquid-metal flow.The supplied passage introduces the equation set solved by magnetoHDFoam.
  • Momentum equation: The momentum balance includes pressure, viscous stress, Lorentz-force, and buoyancy contributions.The viscous stress tensor is defined for incompressible flow, while J × B denotes the Lorentz force.
  • Magnetic-field constraint: The magnetic field is constrained by the solenoidal condition ∇·B = 0.This constraint must be enforced in the formulation.
  • Thermal equation: The thermal formulation uses internal energy e and effective thermal diffusivity αeff.These quantities are identified in the supplied equation-system description.
  • Density approximation: The Boussinesq approximation treats the fluid as incompressible while allowing density to vary with temperature for buoyancy modeling.Pressure-related acoustic compressibility remains negligible in this approximation.
Loading 2608.28366v1…