From be6715a225b9b78571d654d9aaed34aae88f3c83 Mon Sep 17 00:00:00 2001 From: Edward Caunt Date: Thu, 14 Nov 2024 12:17:02 +0000 Subject: [PATCH] misc: Fix typo --- examples/cfd/03_diffusion.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cfd/03_diffusion.ipynb b/examples/cfd/03_diffusion.ipynb index d2bc7fe16b..b8c24c7dd5 100644 --- a/examples/cfd/03_diffusion.ipynb +++ b/examples/cfd/03_diffusion.ipynb @@ -61,7 +61,7 @@ " un = u.copy()\n", " u[1:-1, 1:-1] = (un[1:-1,1:-1]\n", " + nu*dt/dy**2 * (un[1:-1, 2:] - 2*un[1:-1, 1:-1] + un[1:-1, 0:-2])\n", - " + nu dt/dx**2 * (un[2:, 1:-1] - 2*un[1:-1, 1:-1] + un[0:-2, 1:-1]))\n", + " + nu*dt/dx**2 * (un[2:, 1:-1] - 2*un[1:-1, 1:-1] + un[0:-2, 1:-1]))\n", " u[0, :] = 1\n", " u[-1, :] = 1\n", " u[:, 0] = 1\n",