Closed abarret closed 6 months ago
Oh this currently requires a bug fix in IBAMR...
The bug fix should be merged into IBAMR master soon. I've now updated the hierarchy integrator to use physical boundary conditions and added a channel flow test.
IBAMR master is now compatible with this branch.
I've tested targets channel
, bc_solve
and bc_apply
and each one ran fine on both AMR and uniform grids. The results from the output indicate appropriate behavior i.e. exact sols and numerical sols agree for bc_apply
within a pretty good tolerance, error norms are small for bc_solve
, and convergence is achieved at each time step for channel
flow.
Note: I did not do convergence testing.
Approved!
I've added two "tests" (that should become real tests when the testing suite gets up and running) that check that we can apply and invert the operator.
I'll add the tests for physical_bc/apply and physical_bc/solve in my branch.
I fixed the issues from #67. This should be ready to go.
This adds in support for velocity Dirichlet boundary conditions. In theory, you could apply different conditions than just Dirichlet, but I have not tested those. I've added two "tests" (that should become real tests when the testing suite gets up and running) that check that we can apply and invert the operator.
This currently requires that both velocity fields specify the same type of conditions (e.g. Dirichlet) at the same location, but this is not checked in the code.