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 layerNormalVelocity bug in Runge-Kutta loop #130

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

trhille
Copy link

@trhille trhille commented Oct 29, 2024

Even though we do a velocity solve during each Runge-Kutta stage, those updated velocities were not being used for advection because layerNormalVelocity was not being updated after each velocity solve. This merge fixes that major bug in RK time integration.

Update layerNormalVelocity in each RK stage. While velocity was
being solved for each stage, layerNormalVelocity was not being
updated based on the updated velocity, which is a major bug.
Use layerNormalVelocity instead of normalVelocity to
calculate layerThicknessEdge.
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