Sets the boundary condition for MHD type equations
model
(string)coefficients
(integer vector)In the example below, the hyperbolic equation is eulerEqn. This corresponds to a 5 component system with primary variables \([rho, mx, my, mz, en]\). Components 2-4 of this equation system correspond to the momentum vector, \((mx,my,mz)\), which are rotated so that \(mx\) is aligned with the normal to the boundary. The coefficients for this example are \([1.0,-1.0,1.0,1.0,1.0]\) and so the sign of the normal momentum is reversed at the boundary, which is corresponds to a wall boundary condition. Other boundary conditions can therefore be created by manipulating the coefficient vector.
<Updater fluidWall>
kind = simpleBc2d
model = eulerEqn
coefficients = [1.0,-1.0,1.0,1.0,1.0]
onGrid = domain
out = [q]
entity = bottom
</Updater>