Skip to content

Commit 891979c

Browse files
committed
deploy: 1c4b164
1 parent 8fa41cc commit 891979c

File tree

6 files changed

+71
-30
lines changed

6 files changed

+71
-30
lines changed

.doctrees/6_inputdeck.doctree

6.04 KB
Binary file not shown.

.doctrees/environment.pickle

369 Bytes
Binary file not shown.

6_inputdeck.html

Lines changed: 45 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
<li class="toctree-l2"><a class="reference internal" href="#input-and-range-control">Input and Range Control</a></li>
5555
<li class="toctree-l2"><a class="reference internal" href="#numerical-methods">Numerical Methods</a></li>
5656
<li class="toctree-l2"><a class="reference internal" href="#dynamic-lcs-window">Dynamic LCS Window</a></li>
57+
<li class="toctree-l2"><a class="reference internal" href="#utilizations">Utilizations</a></li>
5758
</ul>
5859
</li>
5960
<li class="toctree-l1"><a class="reference internal" href="7_command.html">Command-Line Mode (Commands)</a></li>
@@ -158,6 +159,11 @@ <h2>Input and Range Control<a class="headerlink" href="#input-and-range-control"
158159
<td><p><code class="docutils literal notranslate"><span class="pre">&lt;float&gt;</span></code></p></td>
159160
<td></td>
160161
</tr>
162+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">physical_dt</span></code></p></td>
163+
<td><p>Physical time step between two input frames</p></td>
164+
<td><p><code class="docutils literal notranslate"><span class="pre">&lt;float&gt;</span></code></p></td>
165+
<td></td>
166+
</tr>
161167
</tbody>
162168
</table>
163169
</section>
@@ -205,12 +211,12 @@ <h2>Numerical Methods<a class="headerlink" href="#numerical-methods" title="Link
205211
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">advc_method</span></code></p></td>
206212
<td><p>Lagrangian advection scheme</p></td>
207213
<td><p>(<code class="docutils literal notranslate"><span class="pre">Euler</span></code>)</p></td>
208-
<td><p>Simple and fast Euler stepping with</p></td>
214+
<td><p>Simple and fast Euler stepping with <span class="math notranslate nohighlight">\(O(h^1)\)</span> error.</p></td>
209215
</tr>
210216
<tr class="row-odd"><td></td>
211217
<td></td>
212218
<td><p><code class="docutils literal notranslate"><span class="pre">RK2</span></code></p></td>
213-
<td><p>Runge–Kutta 2 with <span class="math notranslate nohighlight">\(O(h^3)\)</span> error.</p></td>
219+
<td><p>Runge–Kutta 2 with <span class="math notranslate nohighlight">\(O(h^2)\)</span> error.</p></td>
214220
</tr>
215221
<tr class="row-even"><td></td>
216222
<td></td>
@@ -223,13 +229,13 @@ <h2>Numerical Methods<a class="headerlink" href="#numerical-methods" title="Link
223229
<td><p>Runge–Kutta 6 with <span class="math notranslate nohighlight">\(O(h^6)\)</span> error.</p></td>
224230
</tr>
225231
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">interp_method</span></code></p></td>
226-
<td><p>Interpolation method</p></td>
232+
<td><p>Interpolation method for velocity fields</p></td>
227233
<td><p><code class="docutils literal notranslate"><span class="pre">trilinear</span></code></p></td>
228-
<td><p>NA</p></td>
234+
<td><p>Simple and fast triliear interpolation method. Very fast on GPUs.</p></td>
229235
</tr>
230236
<tr class="row-odd"><td></td>
231237
<td></td>
232-
<td><p><code class="docutils literal notranslate"><span class="pre">tricubic</span></code></p></td>
238+
<td><p>(<code class="docutils literal notranslate"><span class="pre">tricubic</span></code>)</p></td>
233239
<td></td>
234240
</tr>
235241
<tr class="row-even"><td></td>
@@ -239,41 +245,43 @@ <h2>Numerical Methods<a class="headerlink" href="#numerical-methods" title="Link
239245
</tr>
240246
<tr class="row-odd"><td></td>
241247
<td></td>
242-
<td><p><code class="docutils literal notranslate"><span class="pre">reflect</span></code></p></td>
243-
<td></td>
248+
<td><p><code class="docutils literal notranslate"><span class="pre">WENO</span></code></p></td>
249+
<td><p>Weighted Essentially Non-Oscillatory (WENO) scheme with shockwave capture capability.</p></td>
244250
</tr>
245251
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">grad_order</span></code></p></td>
246252
<td><p>The method (order) of gradient discretization</p></td>
247-
<td><p><code class="docutils literal notranslate"><span class="pre">2</span></code></p></td>
253+
<td><p>(<code class="docutils literal notranslate"><span class="pre">2</span></code>)</p></td>
248254
<td><p>2nd-order central difference.</p></td>
249255
</tr>
250256
<tr class="row-odd"><td></td>
251257
<td></td>
252258
<td><p><code class="docutils literal notranslate"><span class="pre">4</span></code></p></td>
253-
<td><p>4th-order central difference.</p></td>
259+
<td><p><code class="docutils literal notranslate"><span class="pre">I.P.</span></code> 4th-order central difference.</p></td>
254260
</tr>
255261
<tr class="row-even"><td></td>
256262
<td></td>
257263
<td><p><code class="docutils literal notranslate"><span class="pre">6</span></code></p></td>
258-
<td><p>6th-order central difference.</p></td>
264+
<td><p><code class="docutils literal notranslate"><span class="pre">I.P.</span></code> 6th-order central difference.</p></td>
259265
</tr>
260266
<tr class="row-odd"><td></td>
261267
<td></td>
262268
<td><p><code class="docutils literal notranslate"><span class="pre">100</span></code></p></td>
263-
<td></td>
269+
<td><p><code class="docutils literal notranslate"><span class="pre">I.P.</span></code> Global Fast Fourier Transform (FFT) with finite order. Compute extremely intensive!</p></td>
264270
</tr>
265271
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">Eigen_method</span></code></p></td>
266-
<td><p>Eigenvalue computation method</p></td>
267-
<td><p><code class="docutils literal notranslate"><span class="pre">&lt;string&gt;</span></code></p></td>
268-
<td><p>NA</p></td>
272+
<td><p>Solver for max eigenvalue of Cauchy–Green tensor</p></td>
273+
<td><p><code class="docutils literal notranslate"><span class="pre">eigmax_sym3</span></code></p></td>
274+
<td><p>Closed-form cubic eigenvalue solver for symmetric 3×3 matrices (noniterative solver).</p></td>
269275
</tr>
270-
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">if_visual</span></code></p></td>
271-
<td><p>Glace visualization enabler</p></td>
272-
<td><p><code class="docutils literal notranslate"><span class="pre">0</span></code> or <code class="docutils literal notranslate"><span class="pre">1</span></code></p></td>
273-
<td><p>Take a pop-up glance on the results after computation for check with a rudimentary appearance.</p></td>
276+
<tr class="row-odd"><td></td>
277+
<td></td>
278+
<td><p><code class="docutils literal notranslate"><span class="pre">jacobi</span></code></p></td>
279+
<td><p><code class="docutils literal notranslate"><span class="pre">I.P.</span></code> Jacobi eigenvalue algorithm (iterative).</p></td>
274280
</tr>
275281
</tbody>
276282
</table>
283+
<p>As for your reference, and configured as defaults, the <em>Berkeley LCS Tutorials</em> used <code class="docutils literal notranslate"><span class="pre">RK4</span></code> for advection, interpolated by <code class="docutils literal notranslate"><span class="pre">tricubic</span></code>. Although non detailed, <code class="docutils literal notranslate"><span class="pre">grad_order=2</span></code> was employed by them from the equation, supposing the mesh is sufficiently refined.
284+
Please always notice that, although providing much better numerical precision and looks cool in papers, high-order methods could be resource-consuming, even hundreds of times.</p>
277285
</section>
278286
<section id="dynamic-lcs-window">
279287
<h2>Dynamic LCS Window<a class="headerlink" href="#dynamic-lcs-window" title="Link to this heading"></a></h2>
@@ -308,6 +316,25 @@ <h2>Dynamic LCS Window<a class="headerlink" href="#dynamic-lcs-window" title="Li
308316
</tr>
309317
</tbody>
310318
</table>
319+
</section>
320+
<section id="utilizations">
321+
<h2>Utilizations<a class="headerlink" href="#utilizations" title="Link to this heading"></a></h2>
322+
<table class="docutils align-default">
323+
<thead>
324+
<tr class="row-odd"><th class="head"><p>Key</p></th>
325+
<th class="head"><p>Description</p></th>
326+
<th class="head"><p>Value(s)</p></th>
327+
<th class="head"><p>Explaination</p></th>
328+
</tr>
329+
</thead>
330+
<tbody>
331+
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">if_visual</span></code></p></td>
332+
<td><p>Glace visualization enabler</p></td>
333+
<td><p><code class="docutils literal notranslate"><span class="pre">0</span></code> or <code class="docutils literal notranslate"><span class="pre">1</span></code></p></td>
334+
<td><p>Take a pop-up glance on the results after computation for check with a rudimentary appearance.</p></td>
335+
</tr>
336+
</tbody>
337+
</table>
311338
<p id="flow-vars">Flow So</p>
312339
</section>
313340
</section>

_sources/6_inputdeck.rst.txt

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Input and Range Control
3333
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
3434
| ``dt`` | Time step for particle advection in frames | ``<float>`` | |
3535
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
36+
| ``physical_dt`` | Physical time step between two input frames | ``<float>`` | |
37+
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
3638

3739
Numerical Methods
3840
---------------------------------
@@ -53,35 +55,38 @@ Numerical Methods
5355
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
5456
| | | ``periodic`` | |
5557
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
56-
| ``advc_method`` | Lagrangian advection scheme | (``Euler``) | Simple and fast Euler stepping with |
58+
| ``advc_method`` | Lagrangian advection scheme | (``Euler``) | Simple and fast Euler stepping with :math:`O(h^1)` error. |
5759
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
58-
| | | ``RK2`` | Runge–Kutta 2 with :math:`O(h^3)` error. |
60+
| | | ``RK2`` | Runge–Kutta 2 with :math:`O(h^2)` error. |
5961
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
6062
| | | ``RK4`` | Runge–Kutta 4 with :math:`O(h^4)` error. |
6163
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
6264
| | | ``RK6`` | Runge–Kutta 6 with :math:`O(h^6)` error. |
6365
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
64-
| ``interp_method`` | Interpolation method | ``trilinear`` | NA |
66+
| ``interp_method`` | Interpolation method for velocity fields | ``trilinear`` | Simple and fast triliear interpolation method. Very fast on GPUs. |
6567
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
66-
| | | ``tricubic`` | |
68+
| | | (``tricubic``) | |
6769
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
6870
| | | ``hermite`` | |
6971
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
70-
| | | ``reflect`` | |
72+
| | | ``WENO`` | Weighted Essentially Non-Oscillatory (WENO) scheme with shockwave capture capability. |
7173
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
72-
| ``grad_order`` | The method (order) of gradient discretization | ``2`` | 2nd-order central difference. |
74+
| ``grad_order`` | The method (order) of gradient discretization | (``2``) | 2nd-order central difference. |
7375
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
74-
| | | ``4`` | 4th-order central difference. |
76+
| | | ``4`` | ``I.P.`` 4th-order central difference. |
7577
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
76-
| | | ``6`` | 6th-order central difference. |
78+
| | | ``6`` | ``I.P.`` 6th-order central difference. |
7779
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
78-
| | | ``100`` | |
80+
| | | ``100`` | ``I.P.`` Global Fast Fourier Transform (FFT) with finite order. Compute extremely intensive! |
7981
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
80-
| ``Eigen_method`` | Eigenvalue computation method | ``<string>`` | NA |
82+
| ``Eigen_method`` | Solver for max eigenvalue of Cauchy–Green tensor | ``eigmax_sym3`` | Closed-form cubic eigenvalue solver for symmetric 3×3 matrices (noniterative solver). |
8183
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
82-
| ``if_visual`` | Glace visualization enabler | ``0`` or ``1`` | Take a pop-up glance on the results after computation for check with a rudimentary appearance. |
84+
| | | ``jacobi`` | ``I.P.`` Jacobi eigenvalue algorithm (iterative). |
8385
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
8486

87+
As for your reference, and configured as defaults, the *Berkeley LCS Tutorials* used ``RK4`` for advection, interpolated by ``tricubic``. Although non detailed, ``grad_order=2`` was employed by them from the equation, supposing the mesh is sufficiently refined.
88+
Please always notice that, although providing much better numerical precision and looks cool in papers, high-order methods could be resource-consuming, even hundreds of times.
89+
8590
Dynamic LCS Window
8691
---------------------------------
8792

@@ -97,6 +102,14 @@ Dynamic LCS Window
97102
| ``win_step`` | Window step for dynamic LCS | ``<float>`` | Stepping in frames. Better smaller than ``win_size/2`` for capturing dynamic patterns. |
98103
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
99104

105+
Utilizations
106+
-------------------
107+
108+
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
109+
| Key | Description | Value(s) | Explaination |
110+
+===================+======================================================+=========================+=========================================================================================================+
111+
| ``if_visual`` | Glace visualization enabler | ``0`` or ``1`` | Take a pop-up glance on the results after computation for check with a rudimentary appearance. |
112+
+-------------------+------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------+
100113

101114
.. _flow_vars:
102115

0 commit comments

Comments
 (0)