MHD_FLOW is a FORTRAN90 program which computes the time-dependent, two dimensional behavior of a viscous magnetic fluid. The fluid is governed by the incompressible Navier-Stokes equations, the magnetic field by Maxwell's equations. A coupling parameter controls the interaction between the particle motions and magnetic fields.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
CHANNEL is a FORTRAN90 program which solves a simple channel flow problem with no bump.
CONTOUR_SEQUENCE4 is a MATLAB program which can be used to create images of the contour plots of the pressure.
DIRECTION_ARROWS is a MATLAB program which can plot one velocity direction field.
DIRECTION_ARROWS_GRID is a MATLAB program which reads files of node and velocity data, and, using interpolation, creates a velocity direction plot with arrows place on a uniform grid of the user's specification.
DIRECTION_ARROWS_SEQUENCE is a MATLAB program which can plot a sequence of velocity direction fields stored in consecutively numbered files.
FREE_FEM_NAVIER_STOKES is a FORTRAN90 program which solves the 2D incompressible Navier Stokes equations in an arbitrary triangulated region.
FREE_FEM_STOKES is a FORTRAN90 program which solves the steady Stokes flow equations on a triangulated 2D region.
MHD_CONTROL is a FORTRAN90 program which tries to control the evolution of an MHD system so that a particular state is achieved.
NAST2D_F90 is a FORTRAN90 program which uses the finite volume method to set up and solve the 2D incompressible Navier Stokes equations with heat.
VECTOR_PLOT is a FORTRAN90 program which can be used to create a velocity field vector plot from the output data files of the BUMP program.
VECTOR_STREAM_GRID is a MATLAB program which reads node and vector data from a file, computes an interpolatory function, evaluates on a uniform grid of points specified by the user, and displays a streamline plot of the vector field.
VELOCITY_ARROWS is a MATLAB program which can plot one velocity field.
VELOCITY_ARROWS_GRID is a MATLAB program which reads files of node and velocity data, and, using interpolation, creates a vector plot with arrows place on a uniform grid of the user's specification.
VELOCITY_ARROWS_GRID2 is a MATLAB program which reads a single file of node and velocity data, and using interpolation is able to display a velocity vector field along any uniform grid of points specified by the user.
VELOCITY_ARROWS_SEQUENCE is a MATLAB program which can plot a sequence of velocity fields stored in consecutively numbered files.
The program writes the nodal coordinates and element node lists to files:
The program writes the UV coordinates of velocity at the nodes to a file every so many time steps:
The MATLAB program DIRECTION_ARROWS can plot one velocity direction field, and DIRECTION_ARROWS_SEQUENCE can plot a sequence of velocity direction fields stored in consecutively numbered files:
The MATLAB program VELOCITY_ARROWS can plot the velocity field, and VELOCITY_ARROWS_SEQUENCE can plot a sequence of velocity fields stored in consecutively numbered files:
The program writes the components of the magnetic field at the nodes to a file every so many time steps:
The MATLAB program DIRECTION_ARROWS can plot the magnetic direction field:
The MATLAB program VELOCITY_ARROWS can plot the magnetic field:
The program writes the pressure at the nodes to a file every so many time steps:
The MATLAB program CONTOUR_SEQUENCE4 can be used to create JPG images of contour plots of the pressure:
You can go up one level to the FORTRAN90 source codes.