KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType > Class Template Reference

This class defines a yield surface according to Drucker-Prager theory. More...

#include <thermal_drucker_prager_yield_surface.h>

Collaboration diagram for Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >:

Public Member Functions

Life Cycle
 ThermalDruckerPragerYieldSurface ()
 Initialization constructor. More...
 
 ThermalDruckerPragerYieldSurface (ThermalDruckerPragerYieldSurface const &rOther)
 Copy constructor. More...
 
ThermalDruckerPragerYieldSurfaceoperator= (ThermalDruckerPragerYieldSurface const &rOther)
 Assignment operator. More...
 
virtual ~ThermalDruckerPragerYieldSurface ()
 Destructor. More...
 

Static Public Member Functions

Operations
static void CalculateEquivalentStress (array_1d< double, VoigtSize > &rStressVector, const Vector &rStrainVector, double &rEquivalentStress, ConstitutiveLaw::Parameters &rValues)
 This method the uniaxial equivalent stress. More...
 
static void GetInitialUniaxialThreshold (ConstitutiveLaw::Parameters &rValues, double &rThreshold)
 This method returns the initial uniaxial stress threshold. More...
 
static void CalculateDamageParameter (ConstitutiveLaw::Parameters &rValues, double &rAParameter, const double CharacteristicLength)
 This method returns the damage parameter needed in the exp/linear expressions of damage. More...
 
static void CalculatePlasticPotentialDerivative (const array_1d< double, VoigtSize > &rPredictiveStressVector, const array_1d< double, VoigtSize > &rDeviator, const double J2, array_1d< double, VoigtSize > &rGFlux, ConstitutiveLaw::Parameters &rValues)
 This method calculates the derivative of the plastic potential DG/DS. More...
 
static void CalculateYieldSurfaceDerivative (const array_1d< double, VoigtSize > &rPredictiveStressVector, const array_1d< double, VoigtSize > &rDeviator, const double J2, array_1d< double, VoigtSize > &rFFlux, ConstitutiveLaw::Parameters &rValues)
 This script calculates the derivatives of the Yield Surf according to NAYAK-ZIENKIEWICZ paper International journal for numerical methods in engineering vol 113-135 1972. As: DF/DS = c1*V1 + c2*V2 + c3*V3. More...
 
static int Check (const Properties &rMaterialProperties)
 This method defines the check to be performed in the yield surface. More...
 
static bool IsWorkingWithTensionThreshold ()
 This method returns true if the yield surfacecompares with the tension tield stress. More...
 
static double GetScaleFactorTension (const Properties &rMaterialProperties)
 This method returns the scaling factor of the yield surface compares with the tension yield stress. More...
 

Type Definitions

using PlasticPotentialType = TPlasticPotentialType
 The type of potential plasticity. More...
 
using BaseType = DruckerPragerYieldSurface< TPlasticPotentialType >
 
using AdvCLutils = AdvancedConstitutiveLawUtilities< VoigtSize >
 Advanced contitutive laws utilities for the corresponding Voigt size. More...
 
static constexpr SizeType Dimension = PlasticPotentialType::Dimension
 The Plastic potential already defines the working simension size. More...
 
static constexpr SizeType VoigtSize = PlasticPotentialType::VoigtSize
 The Plastic potential already defines the Voigt size. More...
 
static constexpr double tolerance = std::numeric_limits<double>::epsilon()
 The machine precision zero tolerance. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (ThermalDruckerPragerYieldSurface)
 Counted pointer of ThermalDruckerPragerYieldSurface. More...
 

Detailed Description

template<class TPlasticPotentialType>
class Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >

This class defines a yield surface according to Drucker-Prager theory.

The Drucker–Prager yield criterion is similar to the von Mises yield criterion, with provisions for handling materials with differing tensile and compressive yield strengths. This criterion is most often used for concrete where both normal and shear stresses can determine failure. The yield surface requires the definition of the following properties:

Member Typedef Documentation

◆ AdvCLutils

template<class TPlasticPotentialType >
using Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::AdvCLutils = AdvancedConstitutiveLawUtilities<VoigtSize>

Advanced contitutive laws utilities for the corresponding Voigt size.

◆ BaseType

template<class TPlasticPotentialType >
using Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::BaseType = DruckerPragerYieldSurface<TPlasticPotentialType>

◆ PlasticPotentialType

template<class TPlasticPotentialType >
using Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::PlasticPotentialType = TPlasticPotentialType

The type of potential plasticity.

Constructor & Destructor Documentation

◆ ThermalDruckerPragerYieldSurface() [1/2]

template<class TPlasticPotentialType >
Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::ThermalDruckerPragerYieldSurface ( )
inline

Initialization constructor.

◆ ThermalDruckerPragerYieldSurface() [2/2]

template<class TPlasticPotentialType >
Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::ThermalDruckerPragerYieldSurface ( ThermalDruckerPragerYieldSurface< TPlasticPotentialType > const &  rOther)
inline

Copy constructor.

◆ ~ThermalDruckerPragerYieldSurface()

template<class TPlasticPotentialType >
virtual Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::~ThermalDruckerPragerYieldSurface ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ CalculateDamageParameter()

template<class TPlasticPotentialType >
static void Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::CalculateDamageParameter ( ConstitutiveLaw::Parameters rValues,
double rAParameter,
const double  CharacteristicLength 
)
inlinestatic

This method returns the damage parameter needed in the exp/linear expressions of damage.

Parameters
rAParameterThe damage parameter
rValuesParameters of the constitutive law
CharacteristicLengthThe equivalent length of the FE

◆ CalculateEquivalentStress()

template<class TPlasticPotentialType >
static void Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::CalculateEquivalentStress ( array_1d< double, VoigtSize > &  rStressVector,
const Vector rStrainVector,
double rEquivalentStress,
ConstitutiveLaw::Parameters rValues 
)
inlinestatic

This method the uniaxial equivalent stress.

Parameters
rStressVectorThe predictive stress vector S = C:(E-Ep)
rStrainVectorThe StrainVector vector
rValuesParameters of the constitutive law
rEquivalentStressThe effective stress or equivalent uniaxial stress is a scalar. It is an invariant value which measures the “intensity” of a 3D stress state.

◆ CalculatePlasticPotentialDerivative()

template<class TPlasticPotentialType >
static void Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::CalculatePlasticPotentialDerivative ( const array_1d< double, VoigtSize > &  rPredictiveStressVector,
const array_1d< double, VoigtSize > &  rDeviator,
const double  J2,
array_1d< double, VoigtSize > &  rGFlux,
ConstitutiveLaw::Parameters rValues 
)
inlinestatic

This method calculates the derivative of the plastic potential DG/DS.

Parameters
rPredictiveStressVectorThe predictive stress vector S = C:(E-Ep)
rDeviatorThe deviatoric part of the stress vector
J2The second invariant of the Deviator
rGFluxThe derivative of the plastic potential
rValuesParameters of the constitutive law

◆ CalculateYieldSurfaceDerivative()

template<class TPlasticPotentialType >
static void Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::CalculateYieldSurfaceDerivative ( const array_1d< double, VoigtSize > &  rPredictiveStressVector,
const array_1d< double, VoigtSize > &  rDeviator,
const double  J2,
array_1d< double, VoigtSize > &  rFFlux,
ConstitutiveLaw::Parameters rValues 
)
inlinestatic

This script calculates the derivatives of the Yield Surf according to NAYAK-ZIENKIEWICZ paper International journal for numerical methods in engineering vol 113-135 1972. As: DF/DS = c1*V1 + c2*V2 + c3*V3.

Parameters
rPredictiveStressVectorThe predictive stress vector S = C:(E-Ep)
rDeviatorThe deviatoric part of the stress vector
J2The second invariant of the Deviator
rFFluxThe derivative of the yield surface
rValuesParameters of the constitutive law

◆ Check()

template<class TPlasticPotentialType >
static int Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::Check ( const Properties rMaterialProperties)
inlinestatic

This method defines the check to be performed in the yield surface.

Returns
0 if OK, 1 otherwise

◆ GetInitialUniaxialThreshold()

template<class TPlasticPotentialType >
static void Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::GetInitialUniaxialThreshold ( ConstitutiveLaw::Parameters rValues,
double rThreshold 
)
inlinestatic

This method returns the initial uniaxial stress threshold.

Parameters
rThresholdThe uniaxial stress threshold
rValuesParameters of the constitutive law

◆ GetScaleFactorTension()

template<class TPlasticPotentialType >
static double Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::GetScaleFactorTension ( const Properties rMaterialProperties)
inlinestatic

This method returns the scaling factor of the yield surface compares with the tension yield stress.

◆ IsWorkingWithTensionThreshold()

template<class TPlasticPotentialType >
static bool Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::IsWorkingWithTensionThreshold ( )
inlinestatic

This method returns true if the yield surfacecompares with the tension tield stress.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TPlasticPotentialType >
Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::KRATOS_CLASS_POINTER_DEFINITION ( ThermalDruckerPragerYieldSurface< TPlasticPotentialType >  )

Counted pointer of ThermalDruckerPragerYieldSurface.

◆ operator=()

template<class TPlasticPotentialType >
ThermalDruckerPragerYieldSurface& Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::operator= ( ThermalDruckerPragerYieldSurface< TPlasticPotentialType > const &  rOther)
inline

Assignment operator.

Member Data Documentation

◆ Dimension

template<class TPlasticPotentialType >
constexpr SizeType Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::Dimension = PlasticPotentialType::Dimension
staticconstexpr

The Plastic potential already defines the working simension size.

◆ tolerance

template<class TPlasticPotentialType >
constexpr double Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::tolerance = std::numeric_limits<double>::epsilon()
staticconstexpr

The machine precision zero tolerance.

◆ VoigtSize

template<class TPlasticPotentialType >
constexpr SizeType Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >::VoigtSize = PlasticPotentialType::VoigtSize
staticconstexpr

The Plastic potential already defines the Voigt size.


The documentation for this class was generated from the following file: