[an error occurred while processing this directive]

[ Flash Home ]

[ Flash Code Home ]

[ Overview ]

[ User Information ]

[ Calculations ]

[ Publications ]

FLASH Code Test Results

Linear Advection

In this problem we create a planar density pulse in a region of uniform pressure p0 and velocity u0, with the velocity normal to the pulse plane. The density pulse is defined via

r(s) = r1f(s/w) + r0[1-f(s/w)] ,
where s is the distance of a point from the pulse midplane, w is the characteristic width of the pulse, and the pulse shape function f is, for a square pulse,
fSP(x) = ì
í
î
1
    |x| < 1
0
    |x| > 1
 ,
and for a Gaussian pulse,
fGP(x) = e-x2 .
For these initial conditions the Euler equations reduce to a single wave equation with wave speed u0; hence the density pulse should move across the computational volume at this speed without changing shape. Advection problems similar to this were first proposed by Boris and Book (1973) and Forester (1977).

To demonstrate the performance of FLASH 1.0 on the advection problem, we have performed tests of both the square and Gaussian pulse profiles with the pulse normal parallel to the x-axis (q=0o) and at an angle to the x-axis (q=45o) in two dimensions. The square pulse used r1=1, r0=10-3, p0=10-6, u0=1, and w=0.1. With six levels of refinement in the domain [0,1] x [0,1], this value of w corresponds to having about 52 zones across the pulse width. The Gaussian pulse tests used the same values of r1, r0, p0, and u0, but with w=0.015625. This value of w corresponds to about 8 zones across the pulse width at six levels of refinement. For each test we performed runs at two, four, and six levels of refinement to examine the quality of the numerical solution as the resolution of the advected pulse improves. The runs with q=0o used zero-gradient (outflow) boundary conditions, while the runs performed at an angle to the x-axis used periodic boundaries.

Plots
Comparison of the density for 2, 4, and 6 levels of refinement with the analytical solution at t=0.4
(GIF, Postscript)

References
Boris, J. P. and Book, D. L., 1973, J. Comp. Phys., 11, 38
Forester, C. K. 1977, J. Comp. Phys., 23, 1
Zalesak, S. T. 1987, in Advances in Computer Methods for Partial Differential Equations VI, eds. Vichnevetsky, R. and Stepleman, R. S. (IMACS), 15

Back to Test Results

[Flash Code Home] [Overview] [User Information] [Calculations] [Publications]
[Flash Home]


ricker@flash.uchicago.edu
This file was last modified on 10 October 1999.
The ASCI Flash Center is based at the University of Chicago under U. S. Department of Energy contract B341495. All material on these pages is Copyright © 1999 ASCI Flash Center.