| README.html |   | 
| Source file: README.txt | |
| Directory: /Users/rjl/git/rjleveque/clawpack-4.6.2/apps/advection/2d/swirl | |
| Converted: Wed May 30 2012 at 13:01:46 using clawcode2html | |
| This documentation file will not reflect any later changes in the source file. | 
    
 
            
            $\phantom{******** If you see this on the webpage then the 
                               browser could not locate *********}$
            $\phantom{******** the jsMath file load.js *********}$
$\newcommand{\vector}[1]{\left[\begin{array}{c} #1 \end{array}\right]}$ $\newenvironment{matrix}{\left[\begin{array}{cccccccccc}} {\end{array}\right]}$ $\newcommand{\A}{{\cal A}}$ $\newcommand{\W}{{\cal W}}$
|  | 
 
 CLAWPACK Sample Code
 Description
 
 Swirling flow in a box Edge velocities are stored in aux array (see setaux.f [.html]) with velocity specified by differencing the streamfunction psi.f The velocities are time-dependent giving reversing flow. These velocities are computed in b4step2.f [.html]. The period is specified by the parameter tperiod in setprob.data. In theory the solution should agree with the initial data at times t = N*tperiod/2 for all integers N, but because of the numerical diffusion this won't happen. As a special case, if tperiod = 0, then the velocities are constant in time and b4step2 does nothing. The velocities specified in setaux.f are then used at all times. An example using AMRCLAW is also included in directory ./amr This test problem was used in: 
 
@article{rjl:advect,
  author="R. J. LeVeque",
  title="High-resolution conservative algorithms for advection in
  incompressible flow",
  journal="SIAM J. Numer. Anal.",
  volume="33",
  year="1996",
  pages="627-665"
}
See www.amath.washington.edu/~rjl/pubs/hiresadv See Instructions 
 Plots of resultsAfter running this code and creating plots via "make .plots", you should be able to view the plots in _plots/_PlotIndex.html .
 
 
 Fortran files
 
 
 
 
 
 Data files
 Some parameters that you might want to modify are described in the documentation . 
 
 
 
 
 
 
 Python files
 
 
 
 Library routines
 In addition to the Fortran routines in this library, several library routines from $CLAW/clawpack/2d/lib are used. See the Makefile [.html] to determine which ones are used. |