![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | setrun.py.html | 2013-01-21 21:31 | 9.0K | |
![]() | setprob.f.html | 2013-01-21 21:31 | 2.2K | |
![]() | setprob.data.html | 2013-01-21 21:31 | 2.0K | |
![]() | setplot2.m.html | 2013-01-21 21:31 | 6.3K | |
![]() | setplot.py.html | 2013-01-21 21:31 | 4.7K | |
![]() | setaux.f.html | 2013-01-21 21:31 | 2.9K | |
![]() | rpt2ad1.f.html | 2013-01-21 21:31 | 2.8K | |
![]() | rpn2ad1.f.html | 2013-01-21 21:31 | 5.0K | |
![]() | qinit.f.html | 2013-01-21 21:31 | 2.8K | |
![]() | psi.f.html | 2013-01-21 21:31 | 2.0K | |
![]() | driver.f.html | 2013-01-21 21:31 | 2.7K | |
![]() | claw.data.html | 2013-01-21 21:31 | 4.8K | |
![]() | b4step2.f.html | 2013-01-21 21:31 | 3.3K | |
![]() | afterframe.m.html | 2013-01-21 21:31 | 1.6K | |
![]() | Makefile.html | 2013-01-21 21:31 | 3.9K | |
![]() | amr/ | 2013-01-21 20:15 | - | |
![]() | pyclaw.log | 2013-01-21 19:34 | 4.5K | |
![]() | _plots/ | 2013-01-21 19:34 | - | |
![]() | setplot.pyc | 2013-01-21 19:34 | 2.0K | |
![]() | xclaw | 2013-01-21 19:34 | 215K | |
![]() | setprob.o | 2013-01-21 19:34 | 1.4K | |
![]() | setprob.data | 2013-01-21 19:34 | 335 | |
![]() | setaux.o | 2013-01-21 19:34 | 1.5K | |
![]() | rpt2ad1.o | 2013-01-21 19:34 | 1.8K | |
![]() | rpn2ad1.o | 2013-01-21 19:34 | 2.3K | |
![]() | qinit.o | 2013-01-21 19:34 | 1.2K | |
![]() | psi.o | 2013-01-21 19:34 | 776 | |
![]() | driver.o | 2013-01-21 19:34 | 1.1K | |
![]() | claw.data | 2013-01-21 19:34 | 2.4K | |
![]() | b4step2.o | 2013-01-21 19:34 | 2.0K | |
![]() | setrun.py | 2013-01-21 18:05 | 5.6K | |
![]() | setprob.f | 2013-01-21 18:05 | 551 | |
![]() | setplot2.m | 2013-01-21 18:05 | 3.2K | |
![]() | setplot.py | 2013-01-21 18:05 | 2.6K | |
![]() | setaux.f | 2013-01-21 18:05 | 1.0K | |
![]() | rpt2ad1.f | 2013-01-21 18:05 | 1.0K | |
![]() | rpn2ad1.f | 2013-01-21 18:05 | 2.4K | |
![]() | qinit.f | 2013-01-21 18:05 | 961 | |
![]() | psi.f | 2013-01-21 18:05 | 331 | |
![]() | driver.f | 2013-01-21 18:05 | 888 | |
![]() | b4step2.f | 2013-01-21 18:05 | 1.4K | |
![]() | afterframe.m | 2013-01-21 18:05 | 34 | |
![]() | Makefile | 2013-01-21 18:05 | 1.8K | |
README.html | ![]() |
Source file: README.txt | |
Directory: /Users/rjl/git/rjleveque/clawpack-4.6.3/apps/advection/2d/swirl | |
Converted: Mon Jan 21 2013 at 20:15:23 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. |