English

Data-driven control of a magnetohydrodynamic flow

Fluid Dynamics 2025-08-08 v2 Systems and Control Systems and Control

Abstract

We demonstrate the feedback control of a weakly conducting magnetohydrodynamic (MHD) flow via Lorentz forces generated by externally applied electric and magnetic fields. Specifically, we steer the flow of an electrolyte toward prescribed velocity or vorticity patterns using arrays of electrodes and electromagnets positioned around and beneath a fluid reservoir, with feedback provided by planar particle image velocimetry (PIV). Control is implemented using a model predictive control (MPC) framework, in which control signals are computed by minimizing a cost function over the predicted evolution of the flow. The predictor is constructed entirely from data using Koopman operator theory, which enables a linear representation of the underlying nonlinear fluid dynamics. This linearity allows the MPC problem to be solved by alternating between two small and efficiently solvable convex quadratic programs (QPs): one for the electrodes and one for the electromagnets. The resulting controller runs in a closed loop on a standard laptop, enabling real-time control of the flow. We demonstrate the functionality of the approach through experiments in which the flow is shaped to match a range of reference velocity fields and a time-varying vorticity field.

Keywords

Cite

@article{arxiv.2507.12479,
  title  = {Data-driven control of a magnetohydrodynamic flow},
  author = {Adam Uchytil and Milan Korda and Jiří Zemánek},
  journal= {arXiv preprint arXiv:2507.12479},
  year   = {2025}
}

Comments

21 pages, 7 figures; name changed, added references, polished language, expanded appendix

R2 v1 2026-07-01T04:04:45.995Z