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 NumDiff with substepping and add a vertical option. #1691

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

AMLattanzi
Copy link
Collaborator

The numerical diffusion option did not work with substepping due to an erroneous arithmetic operation. The root cause of the issue was an inconsistency between the number of ghost cells filled after the fast integrator and the number of ghost cells operated on by VelocityToMomentum. This PR corrects that issue (tested in DEBUG with Exec/ABL/inputs_numdiff. Additionally, a vertical numerical diffusion function was added for potential testing with the BOMEX simulation (no direct plugin yet).

@AMLattanzi AMLattanzi merged commit 133fe11 into erf-model:development Jul 16, 2024
18 checks passed
@AMLattanzi AMLattanzi deleted the NumDiffFix branch November 12, 2024 21:17
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.

1 participant