Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
Makefile | 2011-05-15 14:28 | 1.8K | ||
Makefile.html | 2011-10-22 13:26 | 3.9K | ||
_plots/ | 2011-07-26 11:07 | - | ||
afterframe.m | 2011-05-15 14:28 | 34 | ||
afterframe.m.html | 2011-10-22 13:26 | 1.5K | ||
amr/ | 2011-07-26 12:58 | - | ||
b4step2.f | 2011-05-15 14:28 | 1.4K | ||
b4step2.f.html | 2011-10-22 13:26 | 3.3K | ||
claw.data | 2011-07-26 11:02 | 2.4K | ||
claw.data.html | 2011-10-22 13:26 | 4.8K | ||
driver.f | 2011-05-15 14:28 | 888 | ||
driver.f.html | 2011-10-22 13:26 | 2.7K | ||
psi.f | 2011-05-15 14:28 | 331 | ||
psi.f.html | 2011-10-22 13:26 | 1.9K | ||
pyclaw.log | 2011-07-26 11:07 | 4.5K | ||
qinit.f | 2011-05-15 14:28 | 961 | ||
qinit.f.html | 2011-10-22 13:26 | 2.8K | ||
rpn2ad1.f | 2011-05-15 14:28 | 2.4K | ||
rpn2ad1.f.html | 2011-10-22 13:26 | 5.0K | ||
rpt2ad1.f | 2011-05-15 14:28 | 1.0K | ||
rpt2ad1.f.html | 2011-10-22 13:26 | 2.8K | ||
setaux.f | 2011-05-15 14:28 | 1.0K | ||
setaux.f.html | 2011-10-22 13:26 | 2.8K | ||
setplot.py | 2011-05-15 14:28 | 2.6K | ||
setplot.py.html | 2011-10-22 13:26 | 4.7K | ||
setplot.pyc | 2011-07-26 11:02 | 2.0K | ||
setplot2.m | 2011-05-15 14:28 | 3.2K | ||
setplot2.m.html | 2011-10-22 13:26 | 6.2K | ||
setprob.data | 2011-07-26 11:02 | 335 | ||
setprob.data.html | 2011-10-22 13:26 | 2.0K | ||
setprob.f | 2011-05-15 14:28 | 551 | ||
setprob.f.html | 2011-10-22 13:26 | 2.2K | ||
setrun.py | 2011-05-15 14:28 | 5.6K | ||
setrun.py.html | 2011-10-22 13:26 | 9.0K | ||
README.html | |
Source file: README.txt | |
Directory: /home/rjl/git/rjleveque/clawpack-4.x/apps/advection/2d/swirl | |
Converted: Tue Jul 26 2011 at 12:58:52 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 faculty.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. |