-
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
fix: Use aperture table in poromechanics with conforming fractures #3194
Conversation
@@ -406,8 +406,8 @@ struct ComputeRotationMatricesKernel | |||
forAll< POLICY >( size, [=] GEOS_HOST_DEVICE ( localIndex const k ) | |||
{ | |||
|
|||
localIndex const & f0 = elemsToFaces[k][0]; | |||
localIndex const & f1 = elemsToFaces[k][1]; | |||
localIndex const f0 = elemsToFaces[k][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.
this is just to avoid gcc warnings
src/coreComponents/physicsSolvers/fluidFlow/SinglePhaseBase.cpp
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3194 +/- ##
===========================================
- Coverage 55.75% 55.72% -0.03%
===========================================
Files 1041 1041
Lines 88534 88571 +37
===========================================
- Hits 49358 49357 -1
- Misses 39176 39214 +38 ☔ View full report in Codecov by Sentry. |
is hydraulicAperture[k] = contactWrapper.computeHydraulicAperture( aperture[k], dHydraulicAperture_dNormalJump ) essentially using aperture table? |
yes |
@@ -217,7 +218,9 @@ void SinglePhasePoromechanicsConformingFractures< FLOW_SOLVER >::assembleCouplin | |||
{ | |||
/// 3. assemble Force Residual w.r.t. pressure and Flow mass residual w.r.t. displacement | |||
assembleForceResidualDerivativeWrtPressure( mesh, regionNames, dofManager, localMatrix, localRhs ); | |||
// std::cout << "assembleForceResidualDerivativeWrtPressure RHS " << localRhs[96609] << std::endl; |
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.
// std::cout << "assembleForceResidualDerivativeWrtPressure RHS " << localRhs[96609] << std::endl; |
assembleFluidMassResidualDerivativeWrtDisplacement( mesh, regionNames, dofManager, localMatrix, localRhs ); | ||
// std::cout << "assembleFluidMassResidualDerivativeWrtDisplacement RHS " << localRhs[96609] << std::endl; |
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.
// std::cout << "assembleFluidMassResidualDerivativeWrtDisplacement RHS " << localRhs[96609] << std::endl; |
…nto pt/debug-contact
…nto pt/debug-contact
I checked the tests are results are ok, all changes are expected |
fractureState[kfe] = contact::FractureState::Stick; | ||
fractureState[kfe] = FractureState::Stick; | ||
if( getLogLevel() >= 10 ) | ||
GEOS_LOG( GEOS_FMT( "{}: {} -> {}: dispJump = {}, normalDisplacementTolerance = {}", |
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 would be better to avoid this logging inside the cell loop.
…3194) * decouple debug matrix output from logLevel * Update SolidMechanicsLagrangeContact.cpp * Update SinglePhasePoromechanicsConformingFractures.cpp * Update SolidMechanicsLagrangeContact.cpp * Update SurfaceElementSubRegion.hpp * Update SinglePhaseBase.cpp * Update HydrofractureSolver.cpp * Update .integrated_tests.yaml * Update BASELINE_NOTES.md --------- Co-authored-by: Pavel Tomin <“[email protected]”>
Main thing:
replace
hydraulicAperture[k] = minimumHydraulicAperture[k] + aperture[k];
with
hydraulicAperture[k] = contactWrapper.computeHydraulicAperture( aperture[k], dHydraulicAperture_dNormalJump );
for poromechanics with conforming fractures.
At least this way there will be no negative aperture and no negative volume.
Small things:
computeFractureStateStatistics
to see new segments slipped.logLevel>=2
.logLevel>=10
- display fracture state changes with debug information.deltaVolume
logic: assign it to 0 once applied into volume (to avoid double counting), update mass with updated volume. Those are important for fractures after poromechanics initialization that changes the volume of the fractures.