From 0f559b21d55db39b8fa3b4f79e6736127a0a756e Mon Sep 17 00:00:00 2001 From: Daniel_Doehring Date: Mon, 1 Apr 2024 11:02:06 +0200 Subject: [PATCH] typo --- src/callbacks_step/analysis_surface_integral_2d.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callbacks_step/analysis_surface_integral_2d.jl b/src/callbacks_step/analysis_surface_integral_2d.jl index c40c9bb5741..c7864a7590b 100644 --- a/src/callbacks_step/analysis_surface_integral_2d.jl +++ b/src/callbacks_step/analysis_surface_integral_2d.jl @@ -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