Skip to content

Commit

Permalink
Revert alloc BC (other PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Aug 2, 2023
1 parent 9dff7de commit 0936b3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/tree_2d_dgsem/elixir_navierstokes_convergence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ end
initial_condition = initial_condition_navier_stokes_convergence_test

# BC types
velocity_bc_top_bottom = NoSlip((x, t, equations) -> SVector(initial_condition_navier_stokes_convergence_test(x, t, equations)[2],
initial_condition_navier_stokes_convergence_test(x, t, equations)[3]))
velocity_bc_top_bottom = NoSlip((x, t, equations) -> initial_condition_navier_stokes_convergence_test(x, t, equations)[2:3])
heat_bc_top_bottom = Adiabatic((x, t, equations) -> 0.0)
boundary_condition_top_bottom = BoundaryConditionNavierStokesWall(velocity_bc_top_bottom, heat_bc_top_bottom)

Expand Down

0 comments on commit 0936b3b

Please sign in to comment.