Skip to content

Commit 2bd59a4

Browse files
committed
Update bondslip constraint jacobian #99
1 parent c12338f commit 2bd59a4

File tree

4 files changed

+189
-95
lines changed

4 files changed

+189
-95
lines changed

include/constraints/RebarBondSlipConstraint.h

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ class RebarBondSlipConstraint : public EqualValueEmbeddedConstraint
3030
bool shouldApply() override;
3131
void reinitConstraint();
3232

33+
/**
34+
* Determine whether the coupled variable is one of the displacement variables,
35+
* and find its component
36+
* @param var_num The number of the variable to be checked
37+
* @param component The component index computed in this routine
38+
* @return bool indicating whether the coupled variable is one of the displacement variables
39+
*/
40+
bool getCoupledVarComponent(unsigned int var_num, unsigned int & component);
41+
3342
protected:
3443
virtual void computeTangent();
3544
virtual Real computeQpResidual(Moose::ConstraintType type) override;
@@ -81,10 +90,12 @@ class RebarBondSlipConstraint : public EqualValueEmbeddedConstraint
8190
std::vector<Real> _transitional_slip;
8291
/// constraint force needed to enforce the constraint
8392
RealVectorValue _constraint_residual;
93+
RealVectorValue _constraint_jacobian_axial;
8494
/// penalty force for the current constraint
8595
RealVectorValue _pen_force;
86-
RealVectorValue _slave_tangent;
96+
RealVectorValue _secondary_tangent;
8797
Real _current_elem_volume;
8898
bool _bond;
8999
Real _bond_stress;
100+
Real _bond_stress_deriv;
90101
};

0 commit comments

Comments
 (0)