Skip to content
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

EFEM bugfixes: effective traction + oldStress #3408

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ class EFEMKernelsBase :
// transp(B)DB
LvArray::tensorOps::Rij_eq_AikBjk< nUdof, 3, 6 >( Kuw_gauss, matBD, compMatrix );

/// FIX: add old Equilibrium operator times oldStress (in Voigt notation)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LvArray::tensorOps::Rij_eq_AikBjk< 3, 3, 6 >( rw, eqMatrix, oldStressVoigt );

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and then change uLocal in this kernel to be the increment.


// multiply by determinant and add to element matrix
LvArray::tensorOps::scaledAdd< 3, 3 >( stack.localKww, Kww_gauss, -detJ );
LvArray::tensorOps::scaledAdd< 3, nUdof >( stack.localKwu, Kwu_gauss, -detJ );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ struct StateUpdateKernel
deltaVolume[k] = hydraulicAperture[k] * area[k] - volume[k];

// traction on the fracture to include the pressure contribution
/// FIX: effective traction treatment
fractureTraction[k][0] -= pressure[k];
dFractureTraction_dPressure[k] = -1.0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,12 @@ complete( localIndex const k,
localIndex const embSurfIndex = m_cellsToEmbeddedSurfaces[k][0];

// Add traction contribution tranction
/// FIX: effective traction treatment: add fracture pressure here
LvArray::tensorOps::scaledAdd< 3 >( stack.localJumpResidual, stack.tractionVec, -1 );
LvArray::tensorOps::scaledAdd< 3, 3 >( stack.localKww, stack.dTractiondw, -1 );

// JumpFractureFlowJacobian
/// FIX: effective traction treatment: remove m_dTraction_dPressure but add pressure
real64 const localJumpFracPressureJacobian = -m_dTraction_dPressure[embSurfIndex] * m_surfaceArea[embSurfIndex];

// Mass balance accumulation
Expand Down
Loading