Skip to content

Commit 8863884

Browse files
author
LasNikas
committed
fix tests
1 parent d69f03d commit 8863884

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

examples/fluid/pipe_flow_2d.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pipe.boundary.coordinates[1, :] .-= particle_spacing * open_boundary_layers
4949

5050
NDIMS = ndims(pipe.fluid)
5151

52-
n_buffer_particles = 4 * pipe.n_particles_per_dimension[2]^(NDIMS - 1)
52+
n_buffer_particles = 5 * pipe.n_particles_per_dimension[2]^(NDIMS - 1)
5353

5454
# ==========================================================================================
5555
# ==== Fluid

test/schemes/boundary/open_boundary/mirroring.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272

7373
TrixiParticles.set_zero!(open_boundary.pressure)
7474

75-
TrixiParticles.extrapolate_values!(open_boundary, v_open_boundary, v_fluid,
75+
TrixiParticles.extrapolate_values!(open_boundary, FirstOrderMirroring(),
76+
v_open_boundary, v_fluid,
7677
inflow.initial_condition.coordinates,
7778
domain_fluid.coordinates, semi, 0.0;
7879
prescribed_pressure=false,
@@ -168,7 +169,8 @@
168169

169170
TrixiParticles.set_zero!(open_boundary.pressure)
170171

171-
TrixiParticles.extrapolate_values!(open_boundary, v_open_boundary, v_fluid,
172+
TrixiParticles.extrapolate_values!(open_boundary, FirstOrderMirroring(),
173+
v_open_boundary, v_fluid,
172174
inflow.initial_condition.coordinates,
173175
domain_fluid.coordinates, semi, 0.0;
174176
prescribed_pressure=false,
@@ -240,7 +242,8 @@
240242

241243
TrixiParticles.set_zero!(open_boundary_in.pressure)
242244

243-
TrixiParticles.extrapolate_values!(open_boundary_in, v_open_boundary, v_fluid,
245+
TrixiParticles.extrapolate_values!(open_boundary_in, FirstOrderMirroring(),
246+
v_open_boundary, v_fluid,
244247
inflow.initial_condition.coordinates,
245248
domain_fluid.coordinates, semi, 0.0)
246249

0 commit comments

Comments
 (0)