Skip to content

Commit f6155f3

Browse files
author
Daniel Vickers
committed
fixed formatting issue
1 parent 6446782 commit f6155f3

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/common/m_constants.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module m_constants
2424
integer, parameter :: num_fluids_max = 10 !< Maximum number of fluids in the simulation
2525
integer, parameter :: num_probes_max = 10 !< Maximum number of flow probes in the simulation
2626
integer, parameter :: num_patches_max = 10 !< Maximum number of IC patches
27-
integer, parameter :: num_ib_patches_max = 300000 !< Maximum number of immersed boundary patches (patch_ib)
27+
integer, parameter :: num_ib_patches_max = 2050000 !< Maximum number of immersed boundary patches (patch_ib)
2828
integer, parameter :: num_local_ibs_max = 2000 !< Maximum number of immersed boundary patches (patch_ib)
2929
integer, parameter :: num_bc_patches_max = 10 !< Maximum number of boundary condition patches
3030
integer, parameter :: max_2d_fourier_modes = 10 !< Max Fourier mode index for 2D modal patch (geometry 13)

src/simulation/m_ibm.fpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,8 +998,7 @@ contains
998998
call s_compute_viscous_stress_tensor(viscous_stress_div_2, q_prim_vf, dynamic_viscosity, i, &
999999
& j, k + 1)
10001000
viscous_stress_div(3,1:3) = (viscous_stress_div_2(3,1:3) - viscous_stress_div_1(3, &
1001-
& 1:3))/(2._wp*dz) &
1002-
& ! get z derivative of the third-row of viscous stress tensor
1001+
& 1:3))/(2._wp*dz)
10031002
local_force_contribution(1:3) = local_force_contribution(1:3) + viscous_stress_div(3, &
10041003
& 1:3) ! add the z components of the divergence to the force
10051004
end if

0 commit comments

Comments
 (0)