@@ -28,8 +28,50 @@ def initial_condition(input_, output_):
2828
2929class AcousticWaveProblem (TimeDependentProblem , SpatialProblem ):
3030 r"""
31- Implementation of the acoustic wave problem in the spatial interval
32- :math:`[0, 1]` and temporal interval :math:`[0, 1]`.
31+ Implementation of the one-dimensional acoustic wave problem on the
32+ space-time domain :math:`\Omega\times T = [0, 1] \times [0, 1]`.
33+
34+ The problem is governed by the acoustic wave equation
35+
36+ .. math::
37+
38+ \frac{\partial^2 u}{\partial t^2}
39+ =
40+ c^2 \frac{\partial^2 u}{\partial x^2},
41+
42+ where :math:`u = u(x, t)` is the solution field and :math:`c > 0` is the
43+ wave propagation speed.
44+
45+ Homogeneous Dirichlet boundary conditions are imposed at the spatial
46+ boundaries:
47+
48+ .. math::
49+
50+ u(0, t) = u(1, t) = 0, \qquad t \in [0, 1].
51+
52+ The initial displacement is prescribed as
53+
54+ .. math::
55+
56+ u(x, 0) = \sin(\pi x) + \frac{1}{2}\sin(4\pi x),
57+ \qquad x \in [0, 1],
58+
59+ together with zero initial velocity:
60+
61+ .. math::
62+
63+ \frac{\partial u}{\partial t}(x, 0) = 0,
64+ \qquad x \in [0, 1].
65+
66+ The analytical solution is given by
67+
68+ .. math::
69+
70+ u(x, t)
71+ =
72+ \sin(\pi x)\cos(c\pi t)
73+ +
74+ \frac{1}{2}\sin(4\pi x)\cos(4c\pi t).
3375
3476 .. seealso::
3577
0 commit comments