23 "large_kinematics",
false,
"Use large displacement kinematics in the kernel.");
24 params.
addParam<
bool>(
"stabilize_strain",
false,
"Average the volumetric strains");
25 MooseEnum F_bar_mode(
"total incremental",
"total");
29 "What deformation gradient F-bar averages over (only used when `stabilize_strain = true`). "
30 "'total' (default) averages the full F at each qp and rescales each qp's F by "
31 "cbrt(det(F_avg)/det(F_ust)). 'incremental' averages the incremental F "
32 "(F_ust * F_ust_old^{-1}) at each qp and rescales by cbrt(det(f_avg)/det(f_ust)); this is "
33 "bit-for-bit compatible with the OLD `ComputeFiniteStrain` + `volumetric_locking_correction "
35 "true` formulation. Set to 'incremental' when cross-checking against the old kernel system.");
37 "publish_rotation_increment",
39 "If true, publish `rotation_increment = exp(vorticity_increment)` (Rodrigues) for "
40 "downstream consumers that rotate by it (e.g. `ComputeMultiPlasticityStress` with "
41 "`perform_finite_strain_rotations = true`). Default false keeps `rotation_increment = I` "
42 "(the historical behavior -- the Lagrangian objective-rate machinery applies rotation "
43 "externally). Enable when wrapping plasticity that needs its internal stress state to "
44 "track the rotated Cauchy stress between steps, in tandem with `rotate_old_stress = true` "
45 "on the objective rate.");
49 "alpha >= 0.5 & alpha <= 1.0",
50 "Generalized midpoint weight for the deformation gradient. 1.0 = backward Euler (default), "
51 "0.5 = midpoint rule (matches Abaqus/Implicit).");
52 MooseEnum kinematic_approximation(
"linear quadratic rashid_approximate rashid_eigen",
"linear");
54 "kinematic_approximation",
55 kinematic_approximation,
56 "Approximation to the increment in the spatial velocity gradient: 'linear' (default; "
57 "dL = I - f^{-1}), 'quadratic' (one more Taylor term), 'rashid_approximate' (Rashid's "
58 "symmetric+skew formulas), or 'rashid_eigen' (exact log f via polar decomposition + "
59 "matrix logs). Only affects large_kinematics; small kinematics is always linear.");
60 params.
addParam<std::vector<MaterialPropertyName>>(
61 "eigenstrain_names", {},
"List of eigenstrains to account for");
62 params.
addParam<std::vector<MaterialPropertyName>>(
63 "homogenization_gradient_names",
65 "List of homogenization gradients to add to the displacement gradient");
67 params.
addParam<std::string>(
"base_name",
"Material property base name");
79 _ndisp(coupledComponents(
"displacements")),
80 _disp(coupledValues(
"displacements")),
81 _grad_disp(coupledGradients(
"displacements")),
82 _base_name(isParamValid(
"base_name") ? getParam<
std::string>(
"base_name") +
"_" :
""),
83 _large_kinematics(getParam<bool>(
"large_kinematics")),
84 _stabilize_strain(getParam<bool>(
"stabilize_strain")),
86 _publish_rotation_increment(getParam<bool>(
"publish_rotation_increment")),
87 _alpha(getParam<Real>(
"alpha")),
88 _kinematic_approximation(
90 _eigenstrain_names(getParam<
std::vector<MaterialPropertyName>>(
"eigenstrain_names")),
91 _eigenstrains(_eigenstrain_names.size()),
92 _eigenstrains_old(_eigenstrain_names.size()),
93 _total_strain(declareProperty<
RankTwoTensor>(_base_name +
"total_strain")),
94 _total_strain_old(getMaterialPropertyOld<
RankTwoTensor>(_base_name +
"total_strain")),
95 _mechanical_strain(declareProperty<
RankTwoTensor>(_base_name +
"mechanical_strain")),
96 _mechanical_strain_old(getMaterialPropertyOld<
RankTwoTensor>(_base_name +
"mechanical_strain")),
97 _rotated_mechanical_strain(
98 declareProperty<
RankTwoTensor>(_base_name +
"rotated_mechanical_strain")),
99 _rotated_mechanical_strain_old(
100 getMaterialPropertyOld<
RankTwoTensor>(_base_name +
"rotated_mechanical_strain")),
101 _strain_increment(declareProperty<
RankTwoTensor>(_base_name +
"strain_increment")),
102 _deformation_gradient_increment(
103 declareProperty<
RankTwoTensor>(_base_name +
"spatial_deformation_gradient_increment")),
104 _vorticity_increment(declareProperty<
RankTwoTensor>(_base_name +
"vorticity_increment")),
105 _F_ust(declareProperty<
RankTwoTensor>(_base_name +
"unstabilized_deformation_gradient")),
107 getMaterialPropertyOld<
RankTwoTensor>(_base_name +
"unstabilized_deformation_gradient")),
108 _F_actual(declareProperty<
RankTwoTensor>(_base_name +
"actual_deformation_gradient")),
109 _F_avg(declareProperty<
RankTwoTensor>(_base_name +
"average_deformation_gradient")),
110 _F(declareProperty<
RankTwoTensor>(_base_name +
"deformation_gradient")),
111 _F_old(getMaterialPropertyOld<
RankTwoTensor>(_base_name +
"deformation_gradient")),
112 _F_inv(declareProperty<
RankTwoTensor>(_base_name +
"inverse_deformation_gradient")),
113 _f_inv(declareProperty<
RankTwoTensor>(_base_name +
"inverse_incremental_deformation_gradient")),
115 declareProperty<
RankTwoTensor>(_base_name +
"inverse_unstabilized_deformation_gradient")),
116 _F_ust_det(declareProperty<Real>(_base_name +
"det_unstabilized_deformation_gradient")),
117 _d_deformation_gradient_increment_d_F(declareProperty<
RankFourTensor>(
118 _base_name +
"d_spatial_deformation_gradient_increment_d_deformation_gradient")),
120 _base_name +
"d_vorticity_increment_d_deformation_gradient")),
122 declareProperty<
RankFourTensor>(_base_name +
"d_deformation_gradient_d_grad_displacement")),
123 _rotation(declareProperty<
RankTwoTensor>(_base_name +
"rotation")),
124 _stretch(declareProperty<
RankTwoTensor>(_base_name +
"stretch")),
126 declareProperty<
RankFourTensor>(_base_name +
"d_rotation_d_deformation_gradient")),
127 _d_F_stab_d_F_ust(declareProperty<
RankFourTensor>(_base_name +
"d_F_stab_d_F_unstabilized")),
128 _d_F_stab_d_F_avg(declareProperty<
RankFourTensor>(_base_name +
"d_F_stab_d_F_average")),
129 _homogenization_gradient_names(
130 getParam<
std::vector<MaterialPropertyName>>(
"homogenization_gradient_names")),
131 _homogenization_contributions(_homogenization_gradient_names.size()),
132 _rotation_increment(declareProperty<
RankTwoTensor>(_base_name +
"rotation_increment"))
153 mooseError(
"ComputeLagrangianStrainBase cannot accommodate more than one "
154 "homogenization gradient");
179 _total_strain[_qp].zero();
180 _mechanical_strain[_qp].zero();
181 _rotated_mechanical_strain[_qp].zero();
182 _F[_qp].setToIdentity();
183 _F_ust[_qp].setToIdentity();
184 _rotation[_qp].setToIdentity();
192 computeDeformationGradient();
194 for (_qp = 0; _qp < _qrule->n_points(); ++_qp)
195 computeQpProperties();
207 for (
auto contribution : _homogenization_contributions)
209 _F[_qp] += (*contribution)[_qp];
210 _F_ust[_qp] += (*contribution)[_qp];
219 if (_large_kinematics && isPropertyActive(_F_ust_inv.id()))
221 _F_ust_inv[_qp] = _F_ust[_qp].inverse();
222 _F_ust_det[_qp] = _F_ust[_qp].det();
231 const bool need_jacobian = _fe_problem.currentlyComputingJacobian() ||
232 _fe_problem.currentlyComputingResidualAndJacobian();
239 if (_large_kinematics)
241 _F_inv[_qp] = _F[_qp].inverse();
251 if (_stabilize_strain && _F_bar_mode == FBarMode::Incremental)
252 _f_inv[_qp] = _F_ust_old[_qp] * _F_inv[_qp];
254 _f_inv[_qp] = _F_old[_qp] * _F_inv[_qp];
263 computeQpLargeKinematicIncrement(
264 _f_inv[_qp], dd, dw, d_dL_d_f_inv, d_dw_d_f_inv, need_jacobian);
269 usingTensorIndices(p_, q_, m_, n_);
270 const RankFourTensor d_f_inv_d_F = -_f_inv[_qp].template times<p_, m_, n_, q_>(_F_inv[_qp]);
271 _d_deformation_gradient_increment_d_F[_qp] = d_dL_d_f_inv * d_f_inv_d_F;
272 _d_vorticity_increment_d_F[_qp] = d_dw_d_f_inv * d_f_inv_d_F;
275 setQpIncrementalStrains(dd, dw);
282 if (isPropertyActive(_rotation.id()) || isPropertyActive(_stretch.id()))
283 computeQpPolarDecomposition(need_jacobian);
296 usingTensorIndices(i_, j_, k_, l_);
298 _d_vorticity_increment_d_F[_qp] =
302 _d_rotation_d_F[_qp].zero();
304 _rotation[_qp].setToIdentity();
305 _stretch[_qp].setToIdentity();
322 const auto sqrt_C = MathUtils::sqrt(C);
323 _stretch[_qp] = sqrt_C.get();
325 _rotation[_qp] = F * U_inv;
335 usingTensorIndices(i_, j_, k_, l_);
336 _d_rotation_d_F[_qp] =
337 (O.template times<i_, k_, l_, j_>(Y) - Z.template times<i_, l_, k_, j_>(Z)) / Y.det();
349 switch (_kinematic_approximation)
351 case KinematicApproximation::Linear:
352 computeLinearIncrement(f_inv, dd, dw, d_dL_d_f_inv, d_dw_d_f_inv, need_jacobian);
354 case KinematicApproximation::Quadratic:
355 computeQuadraticIncrement(f_inv, dd, dw, d_dL_d_f_inv, d_dw_d_f_inv, need_jacobian);
357 case KinematicApproximation::RashidApproximate:
358 computeRashidApproximateIncrement(f_inv, dd, dw, d_dL_d_f_inv, d_dw_d_f_inv, need_jacobian);
360 case KinematicApproximation::RashidEigen:
361 computeRashidEigenIncrement(f_inv, dd, dw, d_dL_d_f_inv, d_dw_d_f_inv, need_jacobian);
379 _strain_increment[_qp] = dd;
380 _vorticity_increment[_qp] = dw;
383 _deformation_gradient_increment[_qp] = dd + dw;
386 _total_strain[_qp] = _total_strain_old[_qp] + _strain_increment[_qp];
391 subtractQpEigenstrainIncrement(_strain_increment[_qp]);
394 _mechanical_strain[_qp] = _mechanical_strain_old[_qp] + _strain_increment[_qp];
403 if (_large_kinematics)
406 const Real theta = std::sqrt(theta2);
408 const Real small_theta = 1.0e-7;
409 if (theta < small_theta)
411 f = 1.0 - theta2 / 6.0;
412 g = 0.5 - theta2 / 24.0;
416 f = std::sin(theta) / theta;
417 g = (1.0 - std::cos(theta)) / theta2;
425 _rotated_mechanical_strain[_qp] =
426 r_hat * (_rotated_mechanical_strain_old[_qp] + _strain_increment[_qp]) * r_hat.
transpose();
439 _rotation_increment[_qp] = (_publish_rotation_increment && _large_kinematics)
440 ? computeQpRotationIncrement(_f_inv[_qp], dw)
451 bool need_jacobian)
const
463 usingTensorIndices(i_, j_, m_, n_);
475 bool need_jacobian)
const
487 usingTensorIndices(i_, j_, m_, n_);
490 I2.template times<i_, m_, n_, j_>(X) + X.template times<i_, m_, j_, n_>(I2);
493 d_dw_d_f_inv = 0.5 * (d_dL_d_f_inv - d_dL_d_f_inv.
transposeIj());
503 bool need_jacobian)
const
510 usingTensorIndices(i_, j_, m_, n_);
518 dd = -0.5 *
A + 0.25 *
A *
A;
522 RealVectorValue alpha;
523 for (
unsigned int i = 0; i < 3; ++i)
526 for (
unsigned int j = 0; j < 3; ++j)
527 for (
unsigned int k = 0; k < 3; ++k)
535 const Real Q_raw = 0.25 * (alpha * alpha);
538 const Real Q = std::min(Q_raw, 1.0 - 1.0e-12);
543 const Real small_Q = 1.0e-12;
547 for (
unsigned int i = 0; i < 3; ++i)
548 for (
unsigned int j = 0; j < 3; ++j)
551 for (
unsigned int k = 0; k < 3; ++k)
557 d_dw_d_f_inv = -0.5 * (I4 - I2.template times<j_, m_, i_, n_>(I2));
561 const Real sin_theta = std::sqrt(Q);
562 const Real cos_theta = std::sqrt(1.0 - Q);
563 const Real theta = std::asin(sin_theta);
564 const Real coeff = -theta / (2.0 * sin_theta);
566 for (
unsigned int i = 0; i < 3; ++i)
567 for (
unsigned int j = 0; j < 3; ++j)
570 for (
unsigned int k = 0; k < 3; ++k)
572 dw(i, j) = coeff *
v;
592 (theta * cos_theta - sin_theta) / (8.0 * sin_theta * sin_theta * sin_theta * cos_theta);
593 for (
unsigned int i = 0; i < 3; ++i)
594 for (
unsigned int j = 0; j < 3; ++j)
597 for (
unsigned int k = 0; k < 3; ++k)
599 for (
unsigned int m = 0; m < 3; ++m)
600 for (
unsigned int n = 0; n < 3; ++n)
602 Real eps_alpha = 0.0;
603 for (
unsigned int k = 0; k < 3; ++k)
605 const Real dc_dfinv = dc_pref * eps_alpha;
607 for (
unsigned int k = 0; k < 3; ++k)
609 d_dw_d_f_inv(i, j, m, n) = dc_dfinv * E_ij + coeff * dE_dfinv;
624 I2.template times<i_, m_, j_, n_>(X) + X.template times<i_, n_, j_, m_>(I2);
625 const RankFourTensor d_Xt_dX = I2.template times<j_, m_, i_, n_>(I2);
630 I2.template times<i_, m_, n_, j_>(
A) +
A.template times<i_, m_, j_, n_>(I2);
633 const RankFourTensor d_dd_dfinv = -0.5 * dA_dfinv + 0.25 * d_AA_dfinv;
634 d_dL_d_f_inv = d_dd_dfinv + d_dw_d_f_inv;
644 bool need_jacobian)
const
655 usingTensorIndices(a_, b_, m_, n_);
661 const auto sqrt_cprime = MathUtils::sqrt(cprime);
670 const RankTwoTensor dd_spatial = -0.5 * MathUtils::log(cprime).get();
675 const Real sin2 = std::max(1.0 - cos_theta * cos_theta, 0.0);
676 const Real sin_theta = std::sqrt(sin2);
677 const Real theta = std::acos(cos_theta);
686 const Real small_sin = 1.0e-7;
689 usingTensorIndices(i_, j_, k_, l_);
690 if (std::abs(sin_theta) < small_sin)
695 const RankFourTensor swap_ij = I2.template times<j_, m_, i_, n_>(I2);
701 const Real phi = theta / (2.0 * sin_theta);
705 const Real psi = (theta * cos_theta - sin_theta) / (4.0 * sin_theta * sin2);
706 const RankFourTensor swap_ij = I2.template times<j_, m_, i_, n_>(I2);
709 const RankFourTensor dphi_outer_A =
A.template times<i_, j_, m_, n_>(I2);
729 I2.template times<a_, n_, m_, b_>(f_inv) + I2.template times<b_, n_, m_, a_>(f_inv);
730 const RankFourTensor d_dd_spatial_d_finv = -0.5 * (dlog_cprime * d_cprime_d_finv);
738 (O.template times<i_, k_, l_, j_>(Y) - Z.template times<i_, l_, k_, j_>(Z)) / Y.det();
740 d_dw_d_f_inv = -(d_logr_d_r * d_r_d_finv);
747 usingTensorIndices(i2_, j2_, m2_, n2_, p2_);
751 const RankFourTensor T1 =
M.template times<p2_, j2_, i2_, p2_, m2_, n2_>(d_r_d_finv);
753 const RankFourTensor mid = r.template times<i2_, p2_, p2_, j2_, m2_, n2_>(d_dd_spatial_d_finv);
754 const RankFourTensor T2 = r.template times<j2_, p2_, i2_, p2_, m2_, n2_>(mid);
756 const RankFourTensor T3 = N.template times<i2_, p2_, j2_, p2_, m2_, n2_>(d_r_d_finv);
758 d_dL_d_f_inv = d_dd_d_finv + d_dw_d_f_inv;
766 for (
auto i : make_range(_eigenstrain_names.size()))
767 strain -= (*_eigenstrains[i])[_qp] - (*_eigenstrains_old[i])[_qp];
780 const bool include_old = _alpha != 1.0 && _fe_problem.isTransient();
781 for (
auto component : make_range(_ndisp))
783 G::addGradOp(_F_ust[_qp],
785 _alpha * (*_grad_disp[component])[_qp],
786 _alpha * (*_disp[component])[_qp],
789 G::addGradOp(_F_ust[_qp],
791 (1.0 - _alpha) * (*_grad_disp_old[component])[_qp],
792 (1.0 - _alpha) * (*_disp_old[component])[_qp],
803 _F_actual[_qp].setToIdentity();
804 for (
auto component : make_range(_ndisp))
805 G::addGradOp(_F_actual[_qp],
807 (*_grad_disp[component])[_qp],
808 (*_disp[component])[_qp],
817 for (_qp = 0; _qp < _qrule->n_points(); ++_qp)
819 computeQpUnstabilizedDeformationGradient();
820 computeQpActualDeformationGradient();
821 _F[_qp] = _F_ust[_qp];
824 usingTensorIndices(i_, j_, k_, l_);
831 const bool need_jacobian = _fe_problem.currentlyComputingJacobian() ||
832 _fe_problem.currentlyComputingResidualAndJacobian();
835 if (_stabilize_strain)
844 const bool incremental = (_F_bar_mode == FBarMode::Incremental);
845 if (incremental && !_large_kinematics)
846 mooseError(
"`F_bar_mode = incremental` requires `large_kinematics = true`. The "
847 "incremental F-bar formulation is the multiplicative correction to the "
848 "incremental F, which is only defined for large kinematics. Use "
849 "`F_bar_mode = total` (the default) with small kinematics.");
851 [
this](
unsigned int qp) {
return _F_ust[qp]; }, _JxW, _coord);
855 {
return _F_ust[qp] * _F_ust_old[qp].inverse(); },
860 _F_avg.set().setAllValues(F_avg);
863 const auto & avg_for_chain = incremental ? f_avg : F_avg;
865 for (_qp = 0; _qp < _qrule->n_points(); ++_qp)
867 if (_large_kinematics)
879 const Real det_ust_local =
880 incremental ? _F_ust[_qp].det() / _F_ust_old[_qp].det() : _F[_qp].det();
881 const Real gamma = std::pow(avg_for_chain.det() / det_ust_local, 1.0 / 3.0);
884 const auto Fust_invT = _F_ust[_qp].inverse().transpose();
885 const auto avg_invT = avg_for_chain.inverse().transpose();
886 _d_F_stab_d_F_ust[_qp] =
888 (gamma / 3.0) * _F_ust[_qp].
template times<i_, j_, k_, l_>(Fust_invT);
889 _d_F_stab_d_F_avg[_qp] =
890 (gamma / 3.0) * _F_ust[_qp].
template times<i_, j_, k_, l_>(avg_invT);
901 const auto outer = I2.template times<i_, j_, k_, l_>(I2);
903 _d_F_stab_d_F_avg[_qp] = (1.0 / 3.0) * outer;
905 _F[_qp] += (F_avg.trace() - _F[_qp].trace()) * I2 / 3.0;
909 else if (need_jacobian)
912 for (_qp = 0; _qp < _qrule->n_points(); ++_qp)
915 _d_F_stab_d_F_avg[_qp].zero();
929 if (_kinematic_approximation == KinematicApproximation::RashidApproximate)
932 f_inv(1, 2) - f_inv(2, 1), f_inv(2, 0) - f_inv(0, 2), f_inv(0, 1) - f_inv(1, 0)};
933 const Real q = (
a[0] *
a[0] +
a[1] *
a[1] +
a[2] *
a[2]) / 4.0;
934 const Real trFhatinv_1 = f_inv.
trace() - 1.0;
935 const Real
p = trFhatinv_1 * trFhatinv_1 / 4.0;
936 const Real C1_squared =
p +
937 3.0 * Utility::pow<2>(
p) * (1.0 - (
p + q)) / Utility::pow<2>(
p + q) -
938 2.0 * Utility::pow<3>(
p) * (1.0 - (
p + q)) / Utility::pow<3>(
p + q);
939 if (C1_squared <= 0.0)
941 "Cannot take square root of a number less than or equal to zero in the calculation of "
942 "C1 for the Rashid approximation for the rotation tensor.");
943 const Real C1 = std::sqrt(C1_squared);
946 C2 = (1.0 - C1) / (4.0 * q);
948 C2 = 0.125 + q * 0.03125 * (Utility::pow<2>(
p) - 12.0 * (
p - 1.0)) / Utility::pow<2>(
p) +
949 Utility::pow<2>(q) * (
p - 2.0) * (Utility::pow<2>(
p) - 10.0 *
p + 32.0) /
952 (1104.0 - 992.0 *
p + 376.0 * Utility::pow<2>(
p) - 72.0 * Utility::pow<3>(
p) +
953 5.0 * Utility::pow<4>(
p)) /
954 (512.0 * Utility::pow<4>(
p));
956 (
p * q * (3.0 - q) + Utility::pow<3>(
p) + Utility::pow<2>(q)) / Utility::pow<3>(
p + q);
959 "Cannot take square root of a number less than or equal to zero in the calculation of "
960 "C3_test for the Rashid approximation for the rotation tensor.");
961 const Real C3 = 0.5 * std::sqrt(C3_test);
964 for (
unsigned int i = 0; i < 3; ++i)
965 for (
unsigned int j = 0; j < 3; ++j)
966 R_incr(i, j) += C2 *
a[i] *
a[j];
967 R_incr(0, 1) += C3 *
a[2];
968 R_incr(0, 2) -= C3 *
a[1];
969 R_incr(1, 0) -= C3 *
a[2];
970 R_incr(1, 2) += C3 *
a[0];
971 R_incr(2, 0) += C3 *
a[1];
972 R_incr(2, 1) -= C3 *
a[0];
980 const Real theta = std::sqrt(theta2);
982 const Real small_theta = 1.0e-7;
983 if (theta < small_theta)
985 f = 1.0 - theta2 / 6.0;
986 g = 0.5 - theta2 / 24.0;
990 f = std::sin(theta) / theta;
991 g = (1.0 - std::cos(theta)) / theta2;
Real f(Real x)
Test function for Brents method.
void mooseError(Args &&... args)
Calculate strains to use the MOOSE materials with the Lagrangian kernels.
void computeQpLargeKinematicIncrement(const RankTwoTensor &f_inv, RankTwoTensor &dd, RankTwoTensor &dw, RankFourTensor &d_dL_d_f_inv, RankFourTensor &d_dw_d_f_inv, bool need_jacobian)
Dispatcher: compute (Deltad, Deltaw, d(Deltal)/d(f^{-1}), d(Deltaw)/d(f^{-1})) for the active kinemat...
std::vector< const VariableValue * > _disp_old
Old displacement values for the generalized midpoint rule.
void computeLinearIncrement(const RankTwoTensor &f_inv, RankTwoTensor &dd, RankTwoTensor &dw, RankFourTensor &d_dL_d_f_inv, RankFourTensor &d_dw_d_f_inv, bool need_jacobian) const
Linear approximation: dL = I - f^{-1}.
KinematicApproximation
Approximation used to convert the inverse incremental deformation gradient f^{-1} into the increment ...
const FBarMode _F_bar_mode
Selected F-bar averaging mode (Total vs. Incremental). See FBarMode.
virtual void computeProperties() override
std::vector< const MaterialProperty< RankTwoTensor > * > _eigenstrains_old
virtual void computeQpUnstabilizedDeformationGradient()
Calculate the unstabilized (alpha-weighted) deformation gradient at the quadrature point.
virtual void computeQpActualDeformationGradient()
Calculate the actual deformation gradient at n+1 (no alpha weighting, no F-bar)
FBarMode
What F gets F-bar volumetric correction applied to.
static InputParameters baseParams()
void computeRashidEigenIncrement(const RankTwoTensor &f_inv, RankTwoTensor &dd, RankTwoTensor &dw, RankFourTensor &d_dL_d_f_inv, RankFourTensor &d_dw_d_f_inv, bool need_jacobian) const
"Exact" via polar decomposition of f^{-1} + matrix logs.
void setQpIncrementalStrains(const RankTwoTensor &dd, const RankTwoTensor &dw)
Update strain / vorticity / mechanical-strain bookkeeping from already-split (dd, dw) tensors.
std::vector< const VariableGradient * > _grad_disp_old
Old displacement gradients for the generalized midpoint rule.
RankTwoTensor computeQpRotationIncrement(const RankTwoTensor &f_inv, const RankTwoTensor &dw) const
Rotation increment matched to the active _kinematic_approximation, suitable for publishing as _rotati...
ComputeLagrangianStrainBase(const InputParameters ¶meters)
std::vector< MaterialPropertyName > _homogenization_gradient_names
Names of any extra homogenization gradients.
virtual void computeDeformationGradient()
Calculate the unstabilized and optionally the stabilized deformation gradients.
std::vector< const MaterialProperty< RankTwoTensor > * > _homogenization_contributions
Actual homogenization contributions.
const bool _stabilize_strain
If true stabilize the strains with F_bar.
const std::string _base_name
Material system base name.
virtual void subtractQpEigenstrainIncrement(RankTwoTensor &strain)
Subtract the eigenstrain increment to subtract from the total strain.
std::vector< const MaterialProperty< RankTwoTensor > * > _eigenstrains
void computeRashidApproximateIncrement(const RankTwoTensor &f_inv, RankTwoTensor &dd, RankTwoTensor &dw, RankFourTensor &d_dL_d_f_inv, RankFourTensor &d_dw_d_f_inv, bool need_jacobian) const
Rashid's approximate symmetric+skew formulas.
virtual void initQpStatefulProperties() override
void computeQuadraticIncrement(const RankTwoTensor &f_inv, RankTwoTensor &dd, RankTwoTensor &dw, RankFourTensor &d_dL_d_f_inv, RankFourTensor &d_dw_d_f_inv, bool need_jacobian) const
Quadratic approximation: dL = (I - f^{-1}) + 0.5 (I - f^{-1})^2.
virtual void computeQpIncrementalStrains(const RankTwoTensor &dL)
Calculate the strains based on the spatial velocity gradient.
void computeQpPolarDecomposition(bool need_jacobian)
Compute and publish the polar decomposition of _F_actual at the current qp.
std::vector< MaterialPropertyName > _eigenstrain_names
virtual void computeQpProperties() override
const bool _large_kinematics
If true the equilibrium conditions is calculated with large deformations.
std::vector< const VariableGradient * > coupledGradientsOld(const std::string &var_name) const
std::vector< const VariableValue * > coupledValuesOld(const std::string &var_name) const
virtual bool isTransient() const override
Add-on class that provides the functionality to issue guarantees for declared material properties.
void issueGuarantee(const MaterialPropertyName &prop_name, Guarantee guarantee)
FEProblemBase & _fe_problem
static InputParameters validParams()
void mooseError(Args &&... args) const
RankFourTensorTempl< T > transposeIj() const
static RankFourTensorTempl< T > IdentityFour()
T doubleContraction(const RankTwoTensorTempl< T > &a) const
RankTwoTensorTempl< T > inverse() const
RankTwoTensorTempl< T > transpose() const
static RankTwoTensorTempl Identity()
T clamp(const T &x, T2 lowerlimit, T2 upperlimit)
int eps(unsigned int i, unsigned int j)
auto elementAverage(const Functor &f, const MooseArray< Real > &JxW, const MooseArray< Real > &coord)