From 8f5080cbf52d60474ad08ee17a94f5461c929b81 Mon Sep 17 00:00:00 2001 From: dericknganyu <47175212+dericknganyu@users.noreply.github.com> Date: Wed, 26 Jun 2024 14:07:58 +0200 Subject: [PATCH] Update models.py to include Reynolds number Seems like the Reynolds number for the stokes_cylinder was omitted? --- examples/stokes_cylinder/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/stokes_cylinder/models.py b/examples/stokes_cylinder/models.py index 2639938..5a92258 100644 --- a/examples/stokes_cylinder/models.py +++ b/examples/stokes_cylinder/models.py @@ -78,12 +78,12 @@ def r_net(self, params, x, y): v_xx = v_hessian[0][0] v_yy = v_hessian[1][1] - ru = -(u_xx + u_yy) + p_x - rv = -(v_xx + v_yy) + p_y + ru = -(u_xx + u_yy)/self.Re + p_x + rv = -(v_xx + v_yy)/self.Re + p_y rc = u_x + v_y - u_out = u_x - p - v_out = v_x + u_out = u_x/self.Re - p + v_out = v_x/self.Re return ru, rv, rc, u_out, v_out