-
Notifications
You must be signed in to change notification settings - Fork 91
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: delta volume fix plus some other stuff #3453
base: develop
Are you sure you want to change the base?
Conversation
@@ -691,8 +691,7 @@ void SinglePhaseBase::implicitStepSetup( real64 const & GEOS_UNUSED_PARAM( time_ | |||
{ | |||
saveConvergedState( subRegion ); | |||
|
|||
arrayView1d< real64 > const & dVol = subRegion.template getField< fields::flow::deltaVolume >(); | |||
dVol.zero(); | |||
applyDeltaVolume( subRegion ); |
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 main fix is here
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 fix is not needed when defaultAperture is consistent with hydraulic aperture table
still it provides some safeguard when it is not consitent and make hydraulic aperture table override what what specified in defaultAperture
@CusiniM, @Guotong-Ren, @rrsettgast please let me know if it makes sense to merge it?
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.
make sense to me. one question, when new element is generated, is it also getting the correct value?
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 should yes
@@ -307,70 +305,6 @@ using SinglePhaseKernelFactory = finiteElement::KernelFactory< SinglePhasePorome | |||
real64 const (&)[3], | |||
string const >; | |||
|
|||
/** |
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.
removed since it is basically a copy of the same from DFM
defaultAperture
is inconsistent with hydraulic aperture table - make hydraulic aperture table override what what specified indefaultAperture
poromechanicsFracturesKernels::StateUpdateKernel
in place ofporomechanicsEFEMKernels::StateUpdateKernel
(they are the same), remove the second one as redundant