Repository navigation
Correct the velocity after particle shifting in the callback - #1399
Open
RubberLanding wants to merge 1 commit into
Open
RubberLanding wants to merge 1 commit into
RubberLanding wants to merge 1 commit into
Conversation
With `integrate_shifting_velocity=false`, the `UpdateCallback` shifts the particles but keeps their properties. Add the keyword argument `correct_properties` to `ParticleShiftingTechnique` to correct the velocity with a first-order Taylor expansion. Free-slip walls don't contribute to the velocity gradient. Density and pressure are not corrected yet.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1399 +/- ##
==========================================
+ Coverage 91.77% 91.81% +0.03%
==========================================
Files 148 149 +1
Lines 11776 11852 +76
==========================================
+ Hits 10808 10882 +74
- Misses 968 970 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With
integrate_shifting_velocity=false, theUpdateCallbackshifts the particles but keeps their properties. Add the keyword argumentcorrect_propertiestoParticleShiftingTechniqueto correct the velocity with a first-order Taylor expansion. Free-slip walls don't contribute to the velocity gradient. Density and pressure are not corrected yet.