10 #if !defined(KRATOS_DEVIATORIC_SHAPE_UTILITIES)
11 #define KRATOS_DEVIATORIC_SHAPE_UTILITIES
46 if ( rFriction < 1
e-6)
51 if ( fabs( rLodeAngle) < LodeCut)
53 rEffect = std::cos( rLodeAngle) - 1.0/sqrt(3.0) * std::sin(Friction) * std::sin(rLodeAngle);
57 rEffect =
A +
B*std::sin(3.0*rLodeAngle);
59 rEffect /= ( sqrt(3)/6) * (3.0 - std::sin(Friction) );
68 static inline void GetSmoothingConstants(
double& rA,
double& rB,
const double& rLodeAngle,
const double & rFriction)
75 if ( rLodeAngle < 0.0)
78 rA = 3.0 + std::tan(SmoothingAngle) * std::tan(3.0*SmoothingAngle) + Sign * (std::tan( 3.0*SmoothingAngle) - 3.0*std::tan(SmoothingAngle)) * std::sin( rFriction) / sqrt(3.0);
79 rA *= (1.0/3.0) * std::cos( SmoothingAngle );
81 rB = -1.0 * ( Sign* std::sin(SmoothingAngle) + std::sin(rFriction)*std::cos(SmoothingAngle) / sqrt(3.0) ) / ( 3.0*std::cos(3.0*SmoothingAngle) );
Definition: amatrix_interface.h:41
Definition: shape_deviatoric_plane_mcc_utilities.hpp:29
BoundedMatrix< double, 3, 3 > MatrixType
Definition: shape_deviatoric_plane_mcc_utilities.hpp:33
unsigned int IndexType
Definition: shape_deviatoric_plane_mcc_utilities.hpp:37
unsigned int SizeType
Definition: shape_deviatoric_plane_mcc_utilities.hpp:39
static double & EvaluateEffectDueToThirdInvariant(double &rEffect, const double &rLodeAngle, const double &rFriction)
Definition: shape_deviatoric_plane_mcc_utilities.hpp:41
array_1d< double, 6 > VectorType
Definition: shape_deviatoric_plane_mcc_utilities.hpp:35
static void GetSmoothingConstants(double &rA, double &rB, const double &rLodeAngle, const double &rFriction)
Definition: shape_deviatoric_plane_mcc_utilities.hpp:68
static double GetSmoothingLodeAngle()
Definition: shape_deviatoric_plane_mcc_utilities.hpp:87
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
constexpr double Pi
Definition: global_variables.h:25
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
A
Definition: sensitivityMatrix.py:70
B
Definition: sensitivityMatrix.py:76
e
Definition: run_cpp_mpi_tests.py:31