Skip to content

Re: Free-Slip Boundary Condition – Implementation Doubts


Hi Alejandro,rnrn1) To write a new boundary like BounceBack, you can have a look at the dynamics.hh file in the src folder. I think implementing the boundary this way is mainly a copy and paste work of the BounceBack class and changing the collide function.rnrn2) I implemented a convection boundary for AdvectionDiffusion problems,that computes the missing f_i by extrapolation, for more information you can have a look at section 3.3 ofrn think there is also a ConvectionBoundary for the fluid that might be worth checking.rnrnBest regardsrnRobin