Open erny123 opened 3 weeks ago
I am not sure if I understand your question correctly. Do you want a moving wall? The function you are referencing is indeed the BC invoked by the solver, with u_inner
being internally assigned (i.e., from the fluid cell next to the wall).
The code
sets the boundary condition at the boundary named :top_bottom
to boundary_condition_slip_wall
. The boundary name :top_bottom
is defined in
I'm looking into the NS convergence test: https://github.com/trixi-framework/Trixi.jl/blob/main/examples/dgmulti_2d/elixir_navierstokes_convergence.jl
For the Euler hyperbolic system ya'll implement the Slip-Wall BC.
However, I'm not understanding this syntax in line 189:
# define inviscid boundary conditions boundary_conditions_hyperbolic = (; :top_bottom => boundary_condition_slip_wall)
In lines 22-23 the
top_bottom()
function is defined along with theDict()
.If I want the BC to be a Slip-Wall but with a velocity using
u_inner
defined here:https://trixi-framework.github.io/Trixi.jl/stable/reference-trixi/#Trixi.boundary_condition_slip_wall-Tuple{Any,%20AbstractVector,%20Any,%20Any,%20Any,%20CompressibleEulerEquations2D}
How would I go about doing that with the syntax given in this elixer example?