Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Apr 1, 2024
1 parent 422e99a commit 0f559b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/callbacks_step/analysis_surface_integral_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ function viscous_stress_vector(u, normal_direction, equations_parabolic,
return (visc_stress_vector_1, visc_stress_vector_2)
end

function (drag_coefficient::LiftCoefficientShearStress)(u, normal_direction,
function (lift_coefficient::LiftCoefficientShearStress)(u, normal_direction,
equations_parabolic,
gradients_1, gradients_2)
visc_stress_vector = viscous_stress_vector(u, normal_direction, equations_parabolic,
gradients_1, gradients_2)
@unpack psi, rhoinf, uinf, linf = drag_coefficient.force_state
@unpack psi, rhoinf, uinf, linf = lift_coefficient.force_state
return (visc_stress_vector[1] * psi[1] + visc_stress_vector[2] * psi[2]) /
(0.5 * rhoinf * uinf^2 * linf)
end
Expand Down

0 comments on commit 0f559b2

Please sign in to comment.