-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat: Immiscible multiphase flow #3524
base: develop
Are you sure you want to change the base?
Conversation
…phase properties reflecting the comments from the meeting on Aug-13-2024
… Bertrand Denel for pointing them out
@@ -213,6 +213,7 @@ class MGRStrategyBase | |||
#if GEOS_USE_HYPRE_DEVICE == GEOS_USE_HYPRE_CUDA || GEOS_USE_HYPRE_DEVICE == GEOS_USE_HYPRE_HIP | |||
GEOS_LAI_CHECK_ERROR( HYPRE_BoomerAMGSetAggInterpType( solver.ptr, hypre::getAMGAggressiveInterpolationType( LinearSolverParameters::AMG::AggInterpType::modifiedExtendedE ) ) ); | |||
GEOS_LAI_CHECK_ERROR( HYPRE_BoomerAMGSetCoarsenType( solver.ptr, hypre::getAMGCoarseningType( LinearSolverParameters::AMG::CoarseningType::PMIS ) ) ); | |||
GEOS_LAI_CHECK_ERROR( HYPRE_BoomerAMGSetAggNumLevels( solver.ptr, 0 ) ); |
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.
can you remove this and create a PR only with this change? @victorapm we should test this. Unless you know why this would impact GPU performance so much.
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.
Agreed on testing this. It seems aggressive coarsening did not behave well for some of the problems tested in this PR, while it works well for other problems I tested. For better robustness, we can leave it turned off by default as proposed in this PR, but ultimately we should add the option of controlling this via input file
/* TODO | ||
// call to correctly set member array tertiary sizes on the 'main' material object | ||
resizeFields( 0, 0 ); | ||
|
||
// set labels on array wrappers for plottable fields | ||
setLabels(); | ||
*/ |
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.
remove?
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3524 +/- ##
===========================================
- Coverage 56.74% 54.15% -2.59%
===========================================
Files 1169 1205 +36
Lines 101538 110073 +8535
===========================================
+ Hits 57615 59612 +1997
- Misses 43923 50461 +6538 ☔ View full report in Codecov by Sentry. |
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.
The new MGR strategy looks good, thank you!
Implementation of a multiphase immiscible solver for compressible fluids with viscous, gravity and capillary forces:
ImmiscibleMultiphaseFlow
solver and associated kernels (currently limited to two phases)TwoPhaseFluid
model for tabular data input