File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ to prevent hydrostatic equilibrium and allow for a non-trivial velocity solution
92
92
Next we set up the discrete function spaces.
93
93
We use lowest-order Taylor--Hood elements for the velocity and pressure,
94
94
and continuous piecewise-linear elements for the temperature.
95
- We introduce a Lagrange multiplier to enforce the integral constraint on :math: `T`. ::
95
+ We introduce a Lagrange multiplier to enforce the integral constraint on :math: `T`::
96
96
97
97
U = VectorFunctionSpace(mesh, "CG", degree=2)
98
98
V = FunctionSpace(mesh, "CG", degree=1)
@@ -264,3 +264,6 @@ The temperature and stream lines for :math:`T_0=1` and :math:`T_0=10000` are dis
264
264
| .. image:: T0_1.png | .. image:: T0_10000.png |
265
265
| :width: 100% | :width: 100% |
266
266
+-------------------------+-------------------------+
267
+
268
+ A Python script version of this demo can be found :demo: `here
269
+ <boussinesq.py> `.
You can’t perform that action at this time.
0 commit comments