Skip to content

Commit 78e6dac

Browse files
authored
log-law docs: modify equation label syntax (#1706)
1 parent 501c711 commit 78e6dac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/sphinx/theory/include/wall_models.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ then used as a boundary condition.
4444

4545
The log law:
4646

47-
.. math:: u_{\mathrm{mag}} = u_\tau \left(\frac{1}{\kappa}\log\left(\frac{u_\tau z}{\nu}\right) + B\right). \label{eq:loglaw}
47+
.. math:: u_{\mathrm{mag}} = u_\tau \left(\frac{1}{\kappa}\log\left(\frac{u_\tau z}{\nu}\right) + B\right).
48+
:label: loglaw
4849

4950
Given a horizontal velocity magnitude
5051
:math:`u_{\mathrm{mag}} = \sqrt{u^2 + v^2}` at
5152
:math:`z = z_{\mathrm{ref}}`, :math:`u_\tau` can be computed using a
52-
non-linear solve to satisfy `[eq:loglaw] <#eq:loglaw>`__.
53+
non-linear solve to satisfy equation :eq:`loglaw`.
5354

5455
In AMR-Wind Newton-Raphson iterations are used with a convergence
5556
criterion of :math:`\lvert u_\tau^{n+1} - u_\tau^n \rvert < 10^{-5}`.

0 commit comments

Comments
 (0)