Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetBoundaryCondition() ignores boundary normal #7

Open
zx-82 opened this issue Nov 19, 2022 · 0 comments
Open

SetBoundaryCondition() ignores boundary normal #7

zx-82 opened this issue Nov 19, 2022 · 0 comments

Comments

@zx-82
Copy link

zx-82 commented Nov 19, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant