mhd_exact
mhd_exact,
an Octave code which
evaluates Hartmann's exact formula for a solution of the
magnetohydrodynamic (MHD) fluid flow equations in 2D.
Licensing:
The information on this web page is distributed under the MIT license.
Languages:
mhd_exact is available in
a MATLAB version and
an Octave version and
a Python version.
Related Data and codes:
mhd_exact_test
octave_exact,
an Octave code which
evaluates exact solutions to a few selected examples of
ordinary differential equations (ODE) and partial differential
equations (PDE).
Reference:
-
Jean-Frederic Gerbeau, Claude Le Bris, Tony Lelievre,
Mathematical methods for the magnetohydrodynamics
of liquid metals,
Oxford University Press, 2006,
ISBN 978-0-19-856665-6
Source Code:
-
mhd_parameters.m,
returns parameters of the MHD system.
-
mhd_resid.m,
computes the residual in two underlying functions u(y) and
b(y), which determine the full exact solution.
-
mhd_solution.m,
evaluates the full set of MHD system variables at points (X,Y).
Last revised on 26 August 2024.