From 3f5ae01883779769cb0ee665924e234d96e012f2 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 22 Jun 2023 16:43:00 -0400 Subject: [PATCH] fix step-57 bilinear form --- examples/step-57/step-57.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/step-57/step-57.cc b/examples/step-57/step-57.cc index 2061d7cbaa..4acd4f5069 100644 --- a/examples/step-57/step-57.cc +++ b/examples/step-57/step-57.cc @@ -457,8 +457,8 @@ namespace Step57 local_rhs(i) += (-viscosity * scalar_product(grad_phi_u[i], present_velocity_gradients[q]) - - phi_u[i] * (present_velocity_values[q] * - present_velocity_gradients[q]) + + phi_u[i] * (present_velocity_gradients[q] * + present_velocity_values[q]) + div_phi_u[i] * present_pressure_values[q] + phi_p[i] * present_velocity_divergence - gamma * div_phi_u[i] * present_velocity_divergence) * -- 2.39.5