NAST2D
A Finite Volume Code for Fluid Flow


NAST2D is a FORTRAN90 program which implements the finite volume method to solve for the transient velocity, pressure, and temperature of an incompressible fluid in a variety of 2D flow regions.

NAST2D is a FORTRAN90 version of the program, which was originally written in C.

NAST2D writes graphics files, in particular, a text file containing the stream function at every gridpoint. It can also create "streakline" files, containing the position of marker particles over time.

Usage:

nast2d < input.par > output
where

Languages:

NAST2D is available in a C++ version and a FORTRAN90 version.

Related Data and Programs:

BUMP, a FORTRAN90 program which solves a fluid flow problem in a channel including a bump which obstructs and redirects the flow.

HCELL, a FORTRAN77 program which computes the pressure and velocity for a Navier Stokes flow in an "H"-shaped region.

INOUT, 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, a FORTRAN90 program which tries to control the evolution of an MHD system so that a particular state is achieved.

MHD_FLOW, a FORTRAN90 program which simulates the evolution of an MHD system.

NAST2D_STREAK_MOVIE, a MATLAB program which creates an animation of the streakline data over time.

TCELL, a FORTRAN77 program which computes the pressure and velocity for a Navier Stokes flow in a "T"-shaped region.

TOMS866, a MATLAB library which is the Incompressible Flow Iterative Solution Software;
this library is commonly called IFISS;
this is ACM TOMS algorithm 866.

Reference:

  1. Michael Griebel, Thomas Dornseifer, Tilman Neunhoeffer,
    Numerische Simulation in der Stroemungsmechanik,
    Vieweg 1995.
  2. Michael Griebel, Thomas Dornseifer, Tilman Neunhoeffer,
    Numerical Simulation in Fluid Dynamics,
    SIAM, 1998,
    This book can be ordered directly from the SIAM web site.
  3. http://www.math.jmu.edu/~dpruett/software/
    The NAST2D_F90 web site.

Source Code:

Examples and Tests:

BACKSTEP is the backward-facing step:

CIRCLE is flow past a circular obstacle:

CONVECT is buoyancy flow with heated side walls:

DAM is a free boundary problem with a breaking dam:

DCAVITY is the driven cavity:

DROP follows the splash of a drop of liquid:

FLTRAP is a buoyancy flow with obstacles:

MOLDING is a flow based on injection molding:

RAYLEIGH is a buoyancy flow with heated upper and lower walls:

WAVE is a free surface flow over a step:

You can go up one level to the FORTRAN90 source codes.


Last revised on 24 June 2013.