Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
xclaw | 2013-01-21 20:00 | 166K | ||
setrun.py.html | 2013-01-21 21:31 | 9.0K | ||
setrun.py | 2013-01-21 18:05 | 5.6K | ||
setprob.o | 2013-01-21 20:00 | 1.7K | ||
setprob.m.html | 2013-01-21 21:31 | 1.8K | ||
setprob.m | 2013-01-21 18:05 | 225 | ||
setprob.f.html | 2013-01-21 21:31 | 2.5K | ||
setprob.f | 2013-01-21 18:05 | 764 | ||
setprob.data.html | 2013-01-21 21:31 | 2.2K | ||
setprob.data | 2013-01-21 20:00 | 473 | ||
setplot1.m.html | 2013-01-21 21:31 | 3.6K | ||
setplot1.m | 2013-01-21 18:05 | 1.4K | ||
setplot.pyc | 2013-01-21 20:00 | 1.6K | ||
setplot.py.html | 2013-01-21 21:31 | 4.4K | ||
setplot.py | 2013-01-21 18:05 | 2.3K | ||
rp1.o | 2013-01-21 20:00 | 2.9K | ||
rp1.f.html | 2013-01-21 21:31 | 5.0K | ||
rp1.f | 2013-01-21 18:05 | 2.3K | ||
qinit.o | 2013-01-21 20:00 | 968 | ||
qinit.f.html | 2013-01-21 21:31 | 2.2K | ||
qinit.f | 2013-01-21 18:05 | 484 | ||
pyclaw.log | 2013-01-21 20:00 | 1.9K | ||
driver.o | 2013-01-21 20:00 | 1.0K | ||
driver.f.html | 2013-01-21 21:31 | 2.7K | ||
driver.f | 2013-01-21 18:05 | 872 | ||
claw.data.html | 2013-01-21 21:31 | 4.4K | ||
claw.data | 2013-01-21 20:00 | 2.1K | ||
bc1.o | 2013-01-21 20:00 | 4.4K | ||
bc1.f.html | 2013-01-21 21:31 | 6.1K | ||
bc1.f | 2013-01-21 18:05 | 3.4K | ||
afterframe.m.html | 2013-01-21 21:31 | 1.6K | ||
afterframe.m | 2013-01-21 18:05 | 78 | ||
_plots/ | 2013-01-21 20:00 | - | ||
Makefile.html | 2013-01-21 21:31 | 3.8K | ||
Makefile | 2013-01-21 18:05 | 1.7K | ||
README.html | |
Source file: README.txt | |
Directory: /Users/rjl/git/rjleveque/clawpack-4.6.3/book/chap7/acouinflow | |
Converted: Mon Jan 21 2013 at 20:15:45 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
Acoustics equations with zero initial conditions, inflow at x=0, solid wall at x=1. The density and bulk modulus are specified in setrun.py [.html]. The inflow boundary conditions are set in bc1.f [.html] to be an incoming wave of strength 0.5*sin(omega*t). The value of omega is specified in setrun.py [.html]. Note that after time 2*pi/omega the boundary conditions at the left are replaced by extrapolation (outflow) boundary conditions.
Example [book/chap7/acouinflow]
to accompany the book Converted to Clawpack 4.4 form in 2009.
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
Python files
Data filesWarning: These files are generally changed when setting up a run and the versions here may not be the ones actually used.
Library routinesIn addition to the Fortran routines in this library, several library routines from $CLAW/clawpack/1d/lib are used. See the Makefile [.html] to determine which ones are used.
|