Skip to content

Commit 51367c7

Browse files
Fixed calling incorrect coefficients in y and z
1 parent 45d98f0 commit 51367c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/simulation/m_ibm.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -988,13 +988,13 @@ contains
988988
& i)*viscous_stress(1,1:3)
989989

990990
call s_compute_viscous_stress_tensor(viscous_stress, q_prim_vf, dynamic_viscosity, i, j + l, k)
991-
local_force_contribution(1:3) = local_force_contribution(1:3) + fd%fd_coeff_x(l, &
991+
local_force_contribution(1:3) = local_force_contribution(1:3) + fd%fd_coeff_y(l, &
992992
& i)*viscous_stress(2,1:3)
993993

994994
if (num_dims == 3) then
995995
call s_compute_viscous_stress_tensor(viscous_stress, q_prim_vf, dynamic_viscosity, i, j, &
996996
& k + l)
997-
local_force_contribution(1:3) = local_force_contribution(1:3) + fd%fd_coeff_x(l, &
997+
local_force_contribution(1:3) = local_force_contribution(1:3) + fd%fd_coeff_z(l, &
998998
& i)*viscous_stress(3,1:3)
999999
end if
10001000
end do

0 commit comments

Comments
 (0)