Skip to content

Commit 3902fdd

Browse files
committed
bug fixes
1 parent 79b85c9 commit 3902fdd

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/pre_process/m_global_parameters.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,8 @@ contains
825825
sys_size = eqn_idx%species%end
826826
end if
827827
828+
if (bubbles_lagrange) fd_number = max(1, fd_order/2)
829+
828830
call s_configure_coordinate_bounds(recon_type, weno_polyn, muscl_polyn, igr_order, buff_size, idwint, idwbuff, viscous, &
829831
& bubbles_lagrange, m, n, p, num_dims, igr, ib, fd_number)
830832

src/simulation/m_bubbles_EL.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ contains
703703
case (1)
704704
mtn_dposdt(k, l, stage) = f_interpolate_velocity(myPos(l), cell, l, q_prim_vf)
705705
mtn_dveldt(k, l, stage) = 0._wp
706-
mtn_vel(k, l, stage) = mtn_dposdt(k, l, stage)
706+
mtn_vel(k, l, 1) = mtn_dposdt(k, l, stage)
707707
case (2)
708708
mtn_dposdt(k, l, stage) = myVel(l)
709709
f_b = f_get_bubble_force(myPos(l), myR, myV, myVel(l), myMass_n, myMass_v, Re(1), myRho, cell, l, &

toolchain/mfc/test/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def create_input_lagrange(path_test):
446446
os.mkdir(folder_path_lagrange)
447447

448448
with open(file_path_lagrange, "w") as file:
449-
file.write("0.5\t0.5\t0.5\t0.0\t0.0\t0.0\t8.0e-03\t0.0")
449+
file.write("0.5\t0.5\t0.5\t0.0\t0.0\t0.0\t8.0e-03\t0.0\n")
450450

451451

452452
def copy_input_lagrange(path_example_input, path_test):

0 commit comments

Comments
 (0)