Skip to content

Commit c309186

Browse files
committed
deploy: db64d3c
1 parent 49c8047 commit c309186

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.doctrees/3_numerical.doctree

360 Bytes
Binary file not shown.

.doctrees/environment.pickle

0 Bytes
Binary file not shown.

3_numerical.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
\[\frac{d\mathbf{x}}{dt} = \sigma\,\mathbf{u}(\mathbf{x},t)\,,
104104
\mathbf{x}(t_n)=\mathbf{x}_n\,,\]</div>
105105
<p>where <span class="math notranslate nohighlight">\(\sigma = \pm1\)</span> selects forward or backward integration.
106-
During the time integration process, the algorithm frequently queries the flow velocity vector <span class="math notranslate nohighlight">\(\bm{v}(\bm{x},t)\)</span> at specific locations and moments with very high precision.
107-
However, since the computational grid is inherently spatially discretized, high-order interpolation methods are required by the program to obtain a physically meaningful flow map.
106+
During the time integration process, the algorithm frequently queries the flow velocity vector <span class="math notranslate nohighlight">\(\mathbf{v}(\mathbf{x},t)\)</span> at specific locations and moments with very high precision requirements.
107+
However, since the data grid is inherently spatially discretized, high-order interpolation methods are required by the program to keep numerical stability and obtain a physically meaningful flow map.
108108
Furthermore, when querying the velocity, special wall treatment must be applied at the boundaries to avoid value discontinuities and to represent certain real physical conditions.</p>
109109
<section id="time-integration">
110110
<span id="marching"></span><h3>Time Integration<a class="headerlink" href="#time-integration" title="Link to this heading"></a></h3>
@@ -126,15 +126,15 @@
126126
<div class="math notranslate nohighlight">
127127
\[y_{n+1} = y_n + h \sum_{i=1}^s b_i\,k_i.\]</div>
128128
<p><strong>Second-Order Runge-Kutta (RK2, Heun’s)</strong></p>
129-
<p>Heun’s method attains second-order accuracy by combining predictor and corrector slopes:</p>
129+
<p>Heun’s <code class="docutils literal notranslate"><span class="pre">RK2</span></code> method attains second-order accuracy by combining predictor and corrector slopes:</p>
130130
<div class="math notranslate nohighlight">
131131
\[\begin{split}k_1 &amp;= \sigma\,\mathbf{u}(\mathbf{x}_n,t_n),\\
132132
\mathbf{x}^* &amp;= \mathbf{x}_n + \Delta t\,k_1,\\
133133
k_2 &amp;= \sigma\,\mathbf{u}(\mathbf{x}^*,t_n + \Delta t),\\
134134
\mathbf{x}_{n+1} &amp;= \mathbf{x}_n + \tfrac{\Delta t}{2}\,(k_1 + k_2).\end{split}\]</div>
135135
<p>This scheme yields a global error of order <span class="math notranslate nohighlight">\(O(\Delta t^2)\)</span> with two velocity evaluations per step.</p>
136136
<p><strong>Classical Fourth-Order Runge-Kutta (RK4)</strong></p>
137-
<p>The classical RK4 method achieves fourth-order accuracy via four slope evaluations at intermediate points:</p>
137+
<p>The classical <code class="docutils literal notranslate"><span class="pre">RK4</span></code> method achieves fourth-order accuracy via four slope evaluations at intermediate points:</p>
138138
<div class="math notranslate nohighlight">
139139
\[\begin{split}k_1 = \mathbf{u}(\mathbf{x}_n,t_n),\\
140140
k_2 = \mathbf{u}\!\bigl(\mathbf{x}_n + \tfrac{\Delta t}{2}k_1,\;t_n + \tfrac{\Delta t}{2}\bigr),\\

_sources/3_numerical.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ To obtain this map, one must numerically integrate the underlying dynamical syst
1818
\mathbf{x}(t_n)=\mathbf{x}_n\,,
1919
2020
where :math:`\sigma = \pm1` selects forward or backward integration.
21-
During the time integration process, the algorithm frequently queries the flow velocity vector :math:`\bm{v}(\bm{x},t)` at specific locations and moments with very high precision.
22-
However, since the computational grid is inherently spatially discretized, high-order interpolation methods are required by the program to obtain a physically meaningful flow map.
21+
During the time integration process, the algorithm frequently queries the flow velocity vector :math:`\mathbf{v}(\mathbf{x},t)` at specific locations and moments with very high precision requirements.
22+
However, since the data grid is inherently spatially discretized, high-order interpolation methods are required by the program to keep numerical stability and obtain a physically meaningful flow map.
2323
Furthermore, when querying the velocity, special wall treatment must be applied at the boundaries to avoid value discontinuities and to represent certain real physical conditions.
2424

2525

@@ -65,7 +65,7 @@ and then form the new approximation by:
6565
6666
**Second-Order Runge-Kutta (RK2, Heun's)**
6767

68-
Heun's method attains second-order accuracy by combining predictor and corrector slopes:
68+
Heun's ``RK2`` method attains second-order accuracy by combining predictor and corrector slopes:
6969

7070
.. math::
7171
@@ -78,7 +78,7 @@ This scheme yields a global error of order :math:`O(\Delta t^2)` with two veloci
7878

7979
**Classical Fourth-Order Runge-Kutta (RK4)**
8080

81-
The classical RK4 method achieves fourth-order accuracy via four slope evaluations at intermediate points:
81+
The classical ``RK4`` method achieves fourth-order accuracy via four slope evaluations at intermediate points:
8282

8383
.. math::
8484

0 commit comments

Comments
 (0)