CHANNEL is a FORTRAN77 program which computes the time-independent flow of a viscous incompressible fluid in a 2D channel. The strength of the flow at the inlet is determined by a parameter. The desired flow profile along a line downstream is given. The task is to determine the inflow parameter that generates a flow that minimizes the difference with the given profile data.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
BUMP is a FORTRAN90 program which solves a fluid flow problem in a channel including a bump which obstructs and redirects the flow.
CHANNEL is available in a FORTRAN77 version and a FORTRAN90 version.
DIRECTION_ARROWS is a MATLAB program which can be used to plot the vector 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.
FEM1D is a FORTRAN77 program which applies the finite element method, with piecewise linear basis functions, to a two point boundary value problem;
FEMPACK is a FORTRAN90 library for finite element calculations.
FFNS_SPARSE is a MATLAB program for solving the steady incompressible Navier Stokes equations on an arbitrary triangulated region, using the finite element method and MATLAB's sparse facility.
FFS_SPARSE is a MATLAB program for solving the steady incompressible Stokes equations on an arbitrary triangulated region, using the finite element method and MATLAB's sparse facility.
FLOW3 is a FORTRAN90 program which solves steady incompressible Navier Stokes equations in 2D using the finite element method.
FLOW5 is a FORTRAN90 program which solves steady incompressible Navier Stokes equations in 2D using the finite element method.
FLOW7 is a FORTRAN90 program which solves steady incompressible Navier Stokes equations in 2D using the finite element method.
FREE_FEM_NAVIER_STOKES is a MATLAB program which solves the steady incompressible Navier Stokes equations on an arbitrary triangulated region, using the finite element method.
FREE_FEM_STOKES is a MATLAB program which computes the pressure and velocity for a Stokes flow.
HCELL is a FORTRAN77 program which computes the pressure and velocity for a Navier Stokes flow in an "H"-shaped region.
INOUT is a FORTRAN77 program which computes the pressure and velocity for a Navier Stokes flow in a square region with an inlet and an outlet.
MHD_CONTROL is a FORTRAN90 program which tries to control the evolution of an MHD system so that a particular state is achieved.
MHD_FLOW is an executable FORTRAN90 program for the evolution of an MHD system.
NAST2D is a C++ program which computes the pressure and velocity for a Navier Stokes flow.
NAST2D_F90 is a FORTRAN90 program which computes the pressure and velocity for a Navier Stokes flow.
NSASM is a C library of routines, intended to be used with a MATLAB calling program, and which set up the sparse matrix needed for a Newton iteration to solve a finite element formulation of the steady incompressible 2D Navier Stokes equations.
TCELL is a FORTRAN77 program which computes the pressure and velocity for a Navier Stokes flow in a "T"-shaped region.
VECTOR_PLOT is a FORTRAN90 program which can be used to create vector plots of the velocity and velocity direction fields.
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 that can plot the 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.
The program writes out "XY" (node coordinate) and "UV" (velocity component) data files for the optimized solution.
You can go up one level to the FORTRAN77 source codes.