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

Add free-slip friction PINSFV test #18953

Merged
merged 1 commit into from Sep 28, 2021
Merged

Conversation

lindsayad
Copy link
Member

@lindsayad lindsayad commented Sep 28, 2021

This test almost perfectly mimics the problematic input that @joe61vette sent us. It has friction, a symmetry boundary, and a free slip wall boundary. The velocity field should be constant throughout the entire domain, and that is what we see when we have two term boundary expansion turned on which allows the pressure gradient to be constant and to perfectly balance the friction term in the momentum balance. When we have a one term boundary expansion on there is an implicit assumption that the gradient is zero at the boundary, e.g. the boundary face value is equal to the adjoining cell centroid value. In the case of the momentum balance this has the effect of decreasing the pressure gradient in the cell nearest the boundary. Consequently the cell center velocity must decrease so that the friction and grad pressure terms can balance. This is what @joe61vette was observing. However, once we turn on the two term expansion, the grad pressure term accuracy is restored and the cell center velocities are correct.

In the future I think we will restore two_term_boundary_expansion as the default (like it used to be until we changed it in #17716) and do some try-catch work in gradient computation near boundaries to protect against singular systems which arise for triangles commonly (see #16822).

Added test refs #16765

velocity field:

Screenshot from 2021-09-28 10-04-48

This test almost perfectly mimics the 'problematic' input that Joe sent
us. It has friction, a symmetry boundary, and a free slip wall boundary.
The velocity field should be constant throughout the entire domain, and
that is what we see when we have two term boundary expansion turned on
which allows the pressure gradient to be constant and to perfectly
balance the friction term in the momentum balance

Refs idaholab#16765
@lindsayad lindsayad added the PR: Auto Merge Add this label to have CIVET merge on success label Sep 28, 2021
@moosebuild
Copy link
Contributor

Job Generate and verify coverage on d9e198e wanted to post the following:

Framework coverage

16ff5b #18953 d9e198
Total Total +/- New
Rate 81.57% 81.56% -0.00% -
Hits 69539 69538 -1 0
Misses 15716 15717 +1 0

Diff coverage report

Full coverage report

Modules coverage

Coverage did not change

Full coverage reports

Reports

This comment will be updated on new commits.

@moosebuild
Copy link
Contributor

Job Documentation on d9e198e wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild moosebuild merged commit 71b73f3 into idaholab:next Sep 28, 2021
@lindsayad lindsayad deleted the joe-style-test branch September 28, 2021 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Auto Merge Add this label to have CIVET merge on success
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants