Skip to content

Commit

Permalink
Merge pull request #15442 from tjhei/fix-step-57-convergence
Browse files Browse the repository at this point in the history
fix step-57 bilinear form
  • Loading branch information
kronbichler committed Jun 23, 2023
2 parents 870d16f + 3f5ae01 commit c6b3d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/step-57/step-57.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) *
Expand Down

0 comments on commit c6b3d46

Please sign in to comment.