Improved Superficial velocity calculation with paraview#135
Merged
Conversation
github-actions bot
pushed a commit
that referenced
this pull request
Sep 17, 2025
Improved Superficial velocity calculation with paraview
github-actions bot
pushed a commit
that referenced
this pull request
Sep 23, 2025
Improved Superficial velocity calculation with paraview
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.
Use paraview module to extract slice at midpoint in the liquid phase and average gas velocity over the slice
A volume flow rate through the slice is computed and divided by the surface area of the slice.
The creation of the slice is best done with paraview which requires modifying a little bit how the installation is done.
This is how the superficial velocity is traditionally computed. The previous implementation was approximating this operation.
I ran tests with the bubble column tutorial at times
0.5, 0.6, 0.7, 0.8The old method gives
[0.002272, 0.001821, 0.002458, 0.002894]and takes 0.32s to run on a Kestrel CPU.The new one gives
[0.002271, 0.00182, 0.002455, 0.002888]and takes 0.88s to run on a Kestrel CPU.The default behavior is still to use the old method and a parameter
use_pvallows to use paraview.