Skip to content

Commit 694024c

Browse files
committed
Fix sound speed
1 parent 110d5b9 commit 694024c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/fsi/fin_2d.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ boundary_movement = TrixiParticles.oscillating_movement(frequency,
180180
rotation_angle, center;
181181
rotation_phase_offset, ramp_up=0.5)
182182

183-
sound_speed = 20.0
183+
sound_speed = 40.0
184184
state_equation = StateEquationCole(; sound_speed, reference_density=fluid_density,
185185
exponent=1, background_pressure=0.0)
186186

@@ -255,12 +255,11 @@ ode = semidiscretize(semi, tspan)
255255
info_callback = InfoCallback(interval=100)
256256
saving_callback = SolutionSavingCallback(dt=0.01, prefix="")
257257

258-
split_dt = 2e-5
258+
split_dt = 1e-5
259259
split_integration = SplitIntegrationCallback(RDPK3SpFSAL35(), adaptive=false, dt=split_dt,
260260
maxiters=10^8)
261261
stepsize_callback = StepsizeCallback(cfl=1.0)
262-
shifting_callback = ParticleShiftingCallback()
263-
callbacks = CallbackSet(info_callback, saving_callback, #shifting_callback,
262+
callbacks = CallbackSet(info_callback, saving_callback, UpdateCallback(),
264263
split_integration, stepsize_callback)
265264

266265
# Use a Runge-Kutta method with automatic (error based) time step size control.

0 commit comments

Comments
 (0)