Skip to content

Commit 56b6ec0

Browse files
committed
Fix fin example
1 parent 846db20 commit 56b6ec0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/fsi/fin_2d.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ n_particles_per_dimension = (round(Int, (fin_length + length_clamp) / particle_s
5858

5959
# Note that the `RectangularShape` puts the first particle half a particle spacing away
6060
# from the boundary, which is correct for fluids, but not for solids.
61-
# We therefore need to pass `tlsph=true`.
61+
# We therefore need to pass `place_on_shell=true`.
6262
beam = RectangularShape(particle_spacing, n_particles_per_dimension,
63-
(-length_clamp, 0.0), density=density, tlsph=true)
63+
(-length_clamp, 0.0), density=density, place_on_shell=true)
6464

6565
fixed_particles = setdiff(shape_sampled, beam)
6666

@@ -224,7 +224,7 @@ fluid_system = WeaklyCompressibleSPHSystem(fluid, fluid_density_calculator,
224224
state_equation, smoothing_kernel,
225225
smoothing_length_fluid, viscosity=viscosity_fluid,
226226
density_diffusion=density_diffusion,
227-
particle_shifting=TrixiParticles.ParticleShiftingSun2019(0.1 * sound_speed),
227+
shifting_technique=ParticleShiftingTechnique(),
228228
pressure_acceleration=tensile_instability_control)
229229
# fluid_system = EntropicallyDampedSPHSystem(fluid, smoothing_kernel, smoothing_length,
230230
# sound_speed, viscosity=ViscosityAdami(; nu),

0 commit comments

Comments
 (0)