Skip to content

Commit 36a03cd

Browse files
committed
table
1 parent 9e5d369 commit 36a03cd

2 files changed

Lines changed: 23 additions & 30 deletions

File tree

source/3_numerical.rst

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This yields a global error of order :math:`O(\Delta t^4)` with four velocity eva
7474

7575
**Sixth-Order Runge-Kutta (RK6)**
7676

77-
The six-stage scheme uses non-uniform weights to attain sixth-order accuracy:
77+
The seven-stage scheme uses non-uniform weights to attain global :math:`O(\Delta t^6)` accuracy. This method originates from
7878

7979
.. math::
8080
@@ -86,34 +86,27 @@ The six-stage scheme uses non-uniform weights to attain sixth-order accuracy:
8686
k_6 = \mathbf{u}\!\bigl(\mathbf{x}_n + \Delta t(-\tfrac{3}{2}k_1 + 2k_2 - \tfrac{1}{2}k_3 + k_4),\;t_n + \Delta t\bigr),\\
8787
\mathbf{x}_{n+1} = \mathbf{x}_n + \Delta t\bigl(\tfrac{1}{20}k_1 + \tfrac{1}{4}k_4 + \tfrac{1}{5}k_5 + \tfrac{1}{2}k_6\bigr).
8888
89-
This scheme incurs a global error of order :math:`O(\Delta t^6)` with six velocity evaluations.
90-
91-
92-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
93-
| ``output_dir`` | Path to directory for saving results | ``<string>`` | |
94-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
95-
| ``auto_wall`` | Flag for automatic wall detection | ``0`` | Manually indicate computation bounds. |
96-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
97-
| | | (``1``) | Auto detect bounds from input mesh. |
98-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
99-
| ``wall_xrange`` | X-direction wall bounds [xmin, xmax] | ``[<float>, <float>]`` | Dimensionalized coordinates bounds. |
100-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
101-
| ``wall_yrange`` | Y-direction wall bounds [ymin, ymax] | ``[<float>, <float>]`` | |
102-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
103-
| ``wall_zrange`` | Z-direction wall bounds [zmin, zmax] | ``[<float>, <float>]`` | |
104-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
105-
| ``x`` | Number of Lagrangian seed points in X direction | ``<int>`` | |
106-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
107-
| ``y`` | Number of Lagrangian seed points in Y direction | ``<int>`` | |
108-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
109-
| ``z`` | Number of Lagrangian seed points in Z direction | ``<int>`` | |
110-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
111-
| ``T_range`` | Time range [``T_start``, ``T_end``] in frames | ``[<float>, <float>]`` | ``T_end`` no larger than ``N_frames``. |
112-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
113-
| ``dt`` | Time step for particle advection in frames | ``<float>`` | |
114-
+===================+======================================================+=========================+=========================================================================================================+
115-
| ``physical_dt`` | Physical time step between two input frames | ``<float>`` | Perform physical advection. |
116-
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
89+
This scheme incurs a global error of order with six velocity evaluations.
90+
91+
92+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
93+
| :math:`0` | | | | | | |
94+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
95+
| :math:`(5\mp\sqrt{5})/10` | :math:`(5\mp\sqrt{5})/10` | | | | | |
96+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
97+
| :math:`(5\pm\sqrt{5})/10` | :math:`\mp\sqrt{5}/10` | :math:`(5\pm2\sqrt{5})/10` | | | | |
98+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
99+
| :math:`(5\mp\sqrt{5})/10` | :math:`(-15\pm7\sqrt{5})/20` | :math:`(-1\pm\sqrt{5})/4` | :math:`(15\mp7\sqrt{5})/10` | | | |
100+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
101+
| :math:`(5\pm\sqrt{5})/10` | :math:`(5\mp\sqrt{5})/60` | :math:`0` | :math:`1/6` | :math:`(15\pm7\sqrt{5})/60` | | |
102+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
103+
| :math:`(5\mp\sqrt{5})/10` | :math:`(5\pm\sqrt{5})/60` | :math:`0` | :math:`(9\mp5\sqrt{5})/12` | :math:`1/6` | :math:`(-5\pm3\sqrt{5})/10` | |
104+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
105+
| :math:`1` | :math:`1/6` | :math:`0` | :math:`(-55\pm25\sqrt{5})/12` | :math:`(-25\mp7\sqrt{5})/12` | :math:`5\mp2\sqrt{5}` | :math:`(5\pm\sqrt{5})/2` |
106+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
107+
| :math:`1/12` | :math:`0` | :math:`0` | :math:`0` | :math:`5/12` | :math:`5/12` | :math:`1/12` |
108+
+-----------------------------+-------------------------------+----------------------------+---------------------------------+------------------------------+-----------------------------+--------------------------+
109+
117110

118111

119112
.. _ftlefinal:

source/9_references.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ References
88
99
.. [Lekien2005] Lekien, F., Marsden, J. "Tricubic interpolation in three dimensions," *International Journal for Numerical Methods in Engineering* **63** (2005).
1010
11-
11+
.. [Butcher] Butcher J. C. "On Runge-Kutta processes of high order." *Journal of the Australian Mathematical Society* **4(2)** (1964). doi:10.1017/S1446788700023387
1212
1313
1414
Papers Who Uses ``Py3DFTLE``

0 commit comments

Comments
 (0)