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

fix outflow bc for boundary normal velocities. #1374

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

AMLattanzi
Copy link
Collaborator

The face centered velocity located on an outflow boundary must be treated differently. The FOEXTRAP causes an erroneous update for normal velocity at the boundary; this sustains a very small boundary velocity that does not relax to the adjacent flow field inside the domain.

This PR modifies the outflow BC to utilize a second order Neumann condition to specify the boundary value. The source for the stencil is as follows:
Screenshot from 2024-01-10 16-32-11

Simulating in Exec/Regtests/Bubble with inputs_BF02_moist_bubble shows that the contours in xvelocity are no longer suppressed at the boundary or within the domain:
Outflow_Run

@asalmgren asalmgren merged commit 73c2293 into erf-model:development Jan 11, 2024
11 checks passed
@AMLattanzi AMLattanzi deleted the OutflowBC branch February 1, 2024 16:03
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

Successfully merging this pull request may close these issues.

2 participants