-
Notifications
You must be signed in to change notification settings - Fork 99
perf: Improve MGR recipes for thermal #3939
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,8 +77,8 @@ class ThermalCompositionalMultiphaseFVM : public MGRStrategyBase< 2 > | |
|
|
||
| m_levelFRelaxType[1] = MGRFRelaxationType::none; | ||
| m_levelInterpType[1] = MGRInterpolationType::injection; | ||
| m_levelRestrictType[1] = MGRRestrictionType::injection; | ||
| m_levelCoarseGridMethod[1] = MGRCoarseGridMethod::cprLikeBlockDiag; // Non-Galerkin Quasi-IMPES CPR | ||
| m_levelRestrictType[1] = MGRRestrictionType::partialColLumped; // True-IMPES for thermal | ||
| m_levelCoarseGridMethod[1] = MGRCoarseGridMethod::galerkin; | ||
|
Comment on lines
+80
to
+81
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like the use of the Galerkin projection instead of the non-Galerkin. Again, I am not sure I fully understand what partial column lumping is.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment applies also to the the other two modified strategies |
||
| m_levelGlobalSmootherType[1] = MGRGlobalSmootherType::ilu0; | ||
| m_levelGlobalSmootherIters[1] = 1; | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "Partial column-lumped approximation" mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It means
W_{TS} = 0instead of doingcolsum^{-1}(A_{TS}) * colsum^{-1}(A_{SS})as done byblockColLumped. W_{TS} being the submatrix of the restriction operator coupling temperature and densities.The pressure part remains the same:
W_{PS} = colsum^{-1}(A_{PS}) * colsum^{-1}(A_{SS})So, I called it a "partial" column-lumped. Let me know if you have other names in mind!
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So for
ThermalCompositionalMultiphaseFVMwe have:With "Partial column-lumped approximation", the correction to block:
is
Correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's correct, so essentially the energy equation isn't perturbed