diff --git a/MaterialLib/SolidModels/CreepBGRa.cpp b/MaterialLib/SolidModels/CreepBGRa.cpp index 2d0356b1daf353de1bf2b35206f94cf28587c3f6..8cf369dc4a60c3aec41c01baaa348fc343e7bbb4 100644 --- a/MaterialLib/SolidModels/CreepBGRa.cpp +++ b/MaterialLib/SolidModels/CreepBGRa.cpp @@ -53,7 +53,7 @@ CreepBGRa<DisplacementDim>::integrateStress( KelvinVector s_n1; auto const update_jacobian = [&](JacobianMatrix& jacobian) { s_n1 = deviatoric_matrix * solution; - double const norm_s_n1 = Invariants::Norm(s_n1); + double const norm_s_n1 = Invariants::FrobeniusNorm(s_n1); pow_norm_s_n1_n_minus_one_2b_G = 2.0 * b * this->_mp.mu(t, x) * std::pow(norm_s_n1, _n - 1); jacobian = diff --git a/MathLib/KelvinVector-impl.h b/MathLib/KelvinVector-impl.h index 2ae0a692bced5f1f6b4671c7d76f68f5530a296e..5baca5d3eece4149d2043adb381e5153c51cf436 100644 --- a/MathLib/KelvinVector-impl.h +++ b/MathLib/KelvinVector-impl.h @@ -23,7 +23,7 @@ double Invariants<KelvinVectorSize>::equivalentStress( } template <int KelvinVectorSize> -double Invariants<KelvinVectorSize>::Norm( +double Invariants<KelvinVectorSize>::FrobeniusNorm( Eigen::Matrix<double, KelvinVectorSize, 1> const& deviatoric_v) { return std::sqrt(deviatoric_v.transpose() * deviatoric_v); diff --git a/MathLib/KelvinVector.h b/MathLib/KelvinVector.h index a96eeb2048fc442fb3809844e41cb7739898c356..d7f9aded81d009cb3267ae2c30b3e1aafac3fcae 100644 --- a/MathLib/KelvinVector.h +++ b/MathLib/KelvinVector.h @@ -88,7 +88,7 @@ struct Invariants final Eigen::Matrix<double, KelvinVectorSize, 1> const& deviatoric_v); /// Get the norm of the deviatoric stress. - static double Norm( + static double FrobeniusNorm( Eigen::Matrix<double, KelvinVectorSize, 1> const& deviatoric_v); /// Second invariant of deviatoric tensor. diff --git a/ProcessLib/ThermoMechanics/ThermoMechanicsFEM.h b/ProcessLib/ThermoMechanics/ThermoMechanicsFEM.h index f12afc8ffcb3d9c4d8cc1d73574b35e8ab681201..5d65fbbc0bcc5d43b25d916d6a15be5905869d55 100644 --- a/ProcessLib/ThermoMechanics/ThermoMechanicsFEM.h +++ b/ProcessLib/ThermoMechanics/ThermoMechanicsFEM.h @@ -299,7 +299,7 @@ public: MaterialLib::Solids::ConstitutiveModel::CreepBGRa) { auto const s = Invariants::deviatoric_projection * sigma; - double const norm_s = Invariants::Norm(s); + double const norm_s = Invariants::FrobeniusNorm(s); const double creep_coefficient = _process_data.material->getTemperatureRelatedCoefficient( t, dt, x_position,