Skip to content

Commit 70a8fbe

Browse files
committed
Added docs for nonuniform advection problem
1 parent c264085 commit 70a8fbe

5 files changed

Lines changed: 88 additions & 18 deletions

File tree

docs/source/advection_basics.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ numerical methods for advection that we implement in pyro.
1212

1313
pyro has several solvers for linear advection:
1414

15-
* :py:mod:`advection` implements the directionally unsplit corner transport upwind algorithm with piecewise linear reconstruction
15+
* :py:mod:`advection` implements the directionally unsplit corner transport upwind
16+
algorithm with piecewise linear reconstruction
1617

1718
* :py:mod:`advection_fv4` uses a fourth-order accurate finite-volume
1819
method with RK4 time integration
1920

21+
* :py:mod:`advection_nonuniform` models advection with a non-uniform velocity field.
22+
This is used to implement
23+
`Zalesak (1979) <https://doi.org/10.1016/0021-9991(79)90051-2>`_'s slotted disk problem.
24+
2025
* :py:mod:`advection_rk` uses a method of lines time-integration
2126
approach with piecewise linear spatial reconstruction for linear
2227
advection
@@ -146,4 +151,3 @@ Extensions
146151

147152
The neat thing about Burger's equation is that it admits shocks and
148153
rarefactions, so some very interesting flow problems can be setup.
149-
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
advection\_nonuniform\.problems package
2+
=======================================
3+
4+
.. automodule:: advection_nonuniform.problems
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
8+
9+
Submodules
10+
----------
11+
12+
advection\_nonuniform\.problems\.slotted module
13+
-----------------------------------------------
14+
15+
.. automodule:: advection_nonuniform.problems.slotted
16+
:members:
17+
:undoc-members:
18+
:show-inheritance:
19+
20+
advection\_nonuniform\.problems\.smooth module
21+
----------------------------------------------
22+
23+
.. automodule:: advection_nonuniform.problems.smooth
24+
:members:
25+
:undoc-members:
26+
:show-inheritance:
27+
28+
advection\_nonuniform\.problems\.tophat module
29+
----------------------------------------------
30+
31+
.. automodule:: advection_nonuniform.problems.tophat
32+
:members:
33+
:undoc-members:
34+
:show-inheritance:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
advection\_nonuniform package
2+
=============================
3+
4+
.. automodule:: advection_nonuniform
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
8+
9+
Subpackages
10+
-----------
11+
12+
.. toctree::
13+
14+
advection_nonuniform.problems
15+
16+
Submodules
17+
----------
18+
19+
advection\_nonuniform\.advective\_fluxes module
20+
-----------------------------------------------
21+
22+
.. automodule:: advection_nonuniform.advective_fluxes
23+
:members:
24+
:undoc-members:
25+
:show-inheritance:
26+
27+
advection\_nonuniform\.simulation module
28+
----------------------------------------
29+
30+
.. automodule:: advection_nonuniform.simulation
31+
:members:
32+
:undoc-members:
33+
:show-inheritance:

paper/paper.bib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ @ARTICLE{pyroI
1616
}
1717

1818
@ARTICLE{castro,
19-
author = {{Almgren}, A.~S. and {Beckner}, V.~E. and {Bell}, J.~B. and
20-
{Day}, M.~S. and {Howell}, L.~H. and {Joggerst}, C.~C. and {Lijewski}, M.~J. and
19+
author = {{Almgren}, A.~S. and {Beckner}, V.~E. and {Bell}, J.~B. and
20+
{Day}, M.~S. and {Howell}, L.~H. and {Joggerst}, C.~C. and {Lijewski}, M.~J. and
2121
{Nonaka}, A. and {Singer}, M. and {Zingale}, M.},
2222
title = "{CASTRO: A New Compressible Astrophysical Solver. I. Hydrodynamics and Self-gravity}",
2323
journal = {Astrophysical Journal},
@@ -35,7 +35,7 @@ @ARTICLE{castro
3535
}
3636

3737
@ARTICLE{maestro,
38-
author = {{Nonaka}, A. and {Almgren}, A.~S. and {Bell}, J.~B. and {Lijewski}, M.~J. and
38+
author = {{Nonaka}, A. and {Almgren}, A.~S. and {Bell}, J.~B. and {Lijewski}, M.~J. and
3939
{Malone}, C.~M. and {Zingale}, M.},
4040
title = "{MAESTRO: An Adaptive Low Mach Number Hydrodynamics Algorithm for Stellar Flows}",
4141
journal = {Astrophysical Journal Supplement},

paper/paper.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,30 +63,29 @@ to science codes.
6363

6464
The current pyro solvers are:
6565

66-
* linear advection (including a second-order unsplit CTU scheme, a
67-
method-of-lines piecewise linear solver$^\star$, a 4th-order
68-
finite-volume scheme$^\star$, and a WENO method$^\star$)
66+
- linear advection (including a second-order unsplit CTU scheme, a
67+
method-of-lines piecewise linear solver$^\\star$, a 4th-order
68+
finite-volume scheme$^\\star$, a WENO method$^\\star$, and
69+
advection with a non-uniform velocity field$^\\star$)
6970

70-
* compressible hydrodynamics (including a second-order unsplit CTU
71-
scheme, a method-of-lines piecewise linear solver$^\star$, and two
71+
- compressible hydrodynamics (including a second-order unsplit CTU
72+
scheme, a method-of-lines piecewise linear solver$^\\star$, and two
7273
4th-order finite-volume schemes, one with Runge-Kutta integration
7374
and the other using a spectral deferred corrections
74-
method$^\star$)
75+
method$^\\star$)
7576

76-
* diffusion using a second-order implicit discretization
77+
- diffusion using a second-order implicit discretization
7778

78-
* incompressible hydrodynamics using a second-order approximate
79+
- incompressible hydrodynamics using a second-order approximate
7980
projection method.
8081

81-
* low Mach number atmospheric solver$^\star$, using an approximate
82+
- low Mach number atmospheric solver$^\\star$, using an approximate
8283
projection method.
8384

84-
* shallow water equations solver$^\star$
85+
- shallow water equations solver$^\\star$
8586

86-
(solvers since the first pyro paper are marked with a $^\star$). Also
87+
(solvers since the first pyro paper are marked with a $^\\star$). Also
8788
new is support for Lagrangian tracer particles, which can be added to
8889
any solver that has a velocity field.
8990

90-
91-
9291
# References

0 commit comments

Comments
 (0)