incremental-fluids icon indicating copy to clipboard operation
incremental-fluids copied to clipboard

SetBoundaryCondition() ignores boundary normal

Open zx-82 opened this issue 3 years ago • 0 comments

setBoundaryCondition() simply sets the velocity of SOLID cells to the velocity of the solid body. However, this does not enforce the correct boundary condition which is: dotprod(velocity,solid_boundary_normal)=0.

Solution: setBoundaryCondition() should replace the normal component of the given velocity (extrapolated from the fluid) with the normal component of the solid body velocity.

zx-82 avatar Nov 19 '22 10:11 zx-82