From OpenFOAMWiki

1 General description

The mhdFoam solver is currently an incompressible magnetohydrodynamic equation solver. It solves the coupled Maxwell-Navier-Stokes equations for an incompressible fluid. The fluid electrical conductivity is presumed constant.

MHD group on the extend project website:

2 Validation

Case file: File:Shercliff case.tar.gz

The script to compute the analytic solution can be found here:

Result: On a mesh of 120x66x66, and ensuring a fully developed flow, the following result is obtained. It can be seen that mhdFoam does not perfectly reproduce the reference solution.

Of vs ref 075.png