-
Notifications
You must be signed in to change notification settings - Fork 89
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
Register pressureGradient only for hybrid FVM (single phase) #3125
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3125 +/- ##
===========================================
- Coverage 53.57% 53.56% -0.01%
===========================================
Files 1003 1003
Lines 85289 85297 +8
===========================================
- Hits 45696 45693 -3
- Misses 39593 39604 +11 ☔ View full report in Codecov by Sentry. |
In reality, it would be good if we could find a way to compute this also for tpfa. It's just harder to come up with a way to approximate it. |
something like that? |
yeah, what's annoying is the number of derivatives that entails... I guess we will just lag the term. |
The formula should work for Cartesian grids but it's not clear to me it will work for non Cartesian unstructured grids. If I am not wrong, it is essentially a weighted average of face velocity, with the weights being distance to face times the face area, which is a volume. In the Cartesian case, these weights add up to the volume and the formula works but in general adding all the weights/volumes will be larger than the volume of the cell. So if we want to use something like (17) we need to adjust the cell volume, or maybe just average the face velocities (q/A). Another way to estimate the velocity inside the element is to use a least square approximation. I may have missed something... |
The least square approximation s what we use for the Mimetic. the annoying thing with tpfa was that we don't store the face velocities so to compute cell center values we would need to do another stencil loop coz we need the neighbors' pressures. |
No description provided.