-
Notifications
You must be signed in to change notification settings - Fork 35
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
implement slip BC for IncNS #347
base: master
Are you sure you want to change the base?
Conversation
@peterrum @kronbichler could you review this PR? |
u_p = u_m - 2. * (u_m * normal_m) * normal_m; | ||
|
||
if(type_dirichlet_bc == TypeDirichletBCs::Mirror) | ||
{ | ||
u_p = u_m - 2. * (u_m * normal_m) * normal_m; | ||
} | ||
else if(type_dirichlet_bc == TypeDirichletBCs::Direct) | ||
{ | ||
u_p = u_m - (u_m * normal_m) * normal_m; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this right? Why is the same equation written twice!?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 210 needs to be removed. I introduced the if-else-branch but did not remove the line that was there before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok to me, apart from @peterrum's comment.
closes #292