Go to the documentation of this file.
36 namespace ContinuumMechanics::HaighWestergaard {
42 template <
typename T =
double >
65 template <
typename T =
double >
68 using namespace Constants;
71 const auto J2_ =
J2( stress );
73 hw.
rho = sqrt( 2. * J2_ );
76 const T J3_ =
J3( stress );
77 const T x = 3. * (
sqrt3 / 2. ) * J3_ / ( pow( J2_, 3. / 2 ) );
85 hw.
theta = 1. / 3 * acos( x );
HaighWestergaardCoordinates< T > haighWestergaard(const Eigen::Matrix< T, 6, 1 > &stress)
Definition: HaighWestergaard.h:66
T I1(const Eigen::Matrix< T, 6, 1 > &stress)
Definition: MarmotVoigt.h:400
T J2(const Eigen::Matrix< T, 6, 1 > &stress)
Definition: MarmotVoigt.h:458
Definition: HaighWestergaard.h:43
Definition: MarmotVoigt.h:306
double makeReal(const double &value)
Definition: MarmotMath.cpp:37
T xi
Hydrostatic component .
Definition: HaighWestergaard.h:46
T J3(const Eigen::Matrix< T, 6, 1 > &stress)
Definition: MarmotVoigt.h:481
This file includes functions needed for calculations with stress and strain tensors written in voigt ...
Definition: MarmotTesting.h:30
T rho
Deviatoric radius .
Definition: HaighWestergaard.h:48
Eigen::Matrix< double, 6, 1 > Vector6d
Definition: MarmotTypedefs.h:43
constexpr double sqrt3
Definition: MarmotConstants.h:51
T theta
Lode angle specified in radian.
Definition: HaighWestergaard.h:50
constexpr double Pi
Definition: MarmotConstants.h:34
HaighWestergaardCoordinates< double > haighWestergaardFromStrain(const Marmot::Vector6d &strain)
Definition: HaighWestergaard.cpp:17