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

implement slip BC for IncNS #347

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

nfehn
Copy link
Member

@nfehn nfehn commented Feb 17, 2023

closes #292

@nfehn nfehn added the enhancement New feature or request label Feb 17, 2023
@nfehn
Copy link
Member Author

nfehn commented Mar 6, 2023

@peterrum @kronbichler could you review this PR?

Comment on lines 210 to 219
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;
}
Copy link
Member

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!?

Copy link
Member Author

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.

Copy link
Contributor

@kronbichler kronbichler left a 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.

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

Successfully merging this pull request may close these issues.

New slip boundary condition for IncNS
3 participants