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::GenericYieldSurface< TPlasticPotentialType > Class Template Reference

This class defines a generic yield surface. More...

#include <generic_yield_surface.h>

Collaboration diagram for Kratos::GenericYieldSurface< TPlasticPotentialType >:

Public Member Functions

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

Static Public Member Functions

Operations
static void CalculateEquivalentStress (const array_1d< double, VoigtSize > &rPredictiveStressVector, 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 > &rDerivativePlasticPotential, ConstitutiveLaw::Parameters &rValues)
 This method calculates the derivative of the plastic potential DG/DS. More...
 
static void CalculateYieldSurfaceDerivative (const array_1d< double, VoigtSize > &StressVector, const array_1d< double, VoigtSize > &Deviator, 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...
 

Type Definitions

typedef TPlasticPotentialType PlasticPotentialType
 The type of potential plasticity. 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...
 
 KRATOS_CLASS_POINTER_DEFINITION (GenericYieldSurface)
 Counted pointer of GenericYieldSurface. More...
 

Detailed Description

template<class TPlasticPotentialType>
class Kratos::GenericYieldSurface< TPlasticPotentialType >

This class defines a generic yield surface.

This is a static "template" to use as main reference to define the rest of yield surfaces

Template Parameters
TPlasticPotentialTypeThe plastic potential considered
TVoigtSizeThe number of components on the Voigt notation
Author
Alejandro Cornejo & Lucia Barbu & Vicente Mataix

Member Typedef Documentation

◆ PlasticPotentialType

template<class TPlasticPotentialType >
typedef TPlasticPotentialType Kratos::GenericYieldSurface< TPlasticPotentialType >::PlasticPotentialType

The type of potential plasticity.

Constructor & Destructor Documentation

◆ GenericYieldSurface() [1/2]

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

Initialization constructor.

◆ GenericYieldSurface() [2/2]

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

Copy constructor.

◆ ~GenericYieldSurface()

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

Destructor.

Member Function Documentation

◆ CalculateDamageParameter()

template<class TPlasticPotentialType >
static void Kratos::GenericYieldSurface< 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::GenericYieldSurface< TPlasticPotentialType >::CalculateEquivalentStress ( const array_1d< double, VoigtSize > &  rPredictiveStressVector,
const Vector rStrainVector,
double rEquivalentStress,
ConstitutiveLaw::Parameters rValues 
)
inlinestatic

This method the uniaxial equivalent stress.

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

◆ CalculatePlasticPotentialDerivative()

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

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

Parameters
StressVectorThe stress vector
DeviatorThe deviatoric part of the stress vector
J2The second invariant of the Deviator
rDerivativePlasticPotentialThe derivative of the plastic potential
rValuesParameters of the constitutive law

◆ CalculateYieldSurfaceDerivative()

template<class TPlasticPotentialType >
static void Kratos::GenericYieldSurface< TPlasticPotentialType >::CalculateYieldSurfaceDerivative ( const array_1d< double, VoigtSize > &  StressVector,
const array_1d< double, VoigtSize > &  Deviator,
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
StressVectorThe stress vector
DeviatorThe 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::GenericYieldSurface< 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::GenericYieldSurface< 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

◆ KRATOS_CLASS_POINTER_DEFINITION()

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

Counted pointer of GenericYieldSurface.

◆ operator=()

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

Assignment operator.

Member Data Documentation

◆ Dimension

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

The Plastic potential already defines the working simension size.

◆ VoigtSize

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

The Plastic potential already defines the Voigt size.


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