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::ElasticIsotropic3D Class Reference

#include <elastic_isotropic_3d.h>

Inheritance diagram for Kratos::ElasticIsotropic3D:
Collaboration diagram for Kratos::ElasticIsotropic3D:

Public Member Functions

Lyfe Cycle
 ElasticIsotropic3D ()
 Default constructor. More...
 
ConstitutiveLaw::Pointer Clone () const override
 Clone method. More...
 
 ElasticIsotropic3D (const ElasticIsotropic3D &rOther)
 
 ~ElasticIsotropic3D () override
 Destructor. More...
 
Operations
void GetLawFeatures (Features &rFeatures) override
 This function is designed to be called once to check compatibility with element. More...
 
SizeType WorkingSpaceDimension () override
 Dimension of the law: More...
 
SizeType GetStrainSize () const override
 Voigt tensor size: More...
 
StrainMeasure GetStrainMeasure () override
 Returns the expected strain measure of this constitutive law (by default Green-Lagrange) More...
 
StressMeasure GetStressMeasure () override
 Returns the stress measure of this constitutive law (by default 2st Piola-Kirchhoff stress in voigt notation) More...
 
void CalculateMaterialResponsePK1 (ConstitutiveLaw::Parameters &rValues) override
 Computes the material response: More...
 
void CalculateMaterialResponsePK2 (ConstitutiveLaw::Parameters &rValues) override
 Computes the material response: More...
 
void CalculateMaterialResponseKirchhoff (ConstitutiveLaw::Parameters &rValues) override
 Computes the material response: More...
 
void CalculateMaterialResponseCauchy (ConstitutiveLaw::Parameters &rValues) override
 Computes the material response: More...
 
void InitializeMaterialResponsePK1 (ConstitutiveLaw::Parameters &rValues) override
 Initialize the material response in terms of 1st Piola-Kirchhoff stresses. More...
 
void InitializeMaterialResponsePK2 (ConstitutiveLaw::Parameters &rValues) override
 Initialize the material response in terms of 2nd Piola-Kirchhoff stresses. More...
 
void InitializeMaterialResponseKirchhoff (ConstitutiveLaw::Parameters &rValues) override
 Initialize the material response in terms of Kirchhoff stresses. More...
 
void InitializeMaterialResponseCauchy (ConstitutiveLaw::Parameters &rValues) override
 Initialize the material response in terms of Cauchy stresses. More...
 
void FinalizeMaterialResponsePK1 (ConstitutiveLaw::Parameters &rValues) override
 Updates the material response: More...
 
void FinalizeMaterialResponsePK2 (ConstitutiveLaw::Parameters &rValues) override
 Updates the material response: Cauchy stresses and Internal Variables. More...
 
void FinalizeMaterialResponseKirchhoff (ConstitutiveLaw::Parameters &rValues) override
 Updates the material response: More...
 
void FinalizeMaterialResponseCauchy (ConstitutiveLaw::Parameters &rValues) override
 Updates the material response: More...
 
bool RequiresInitializeMaterialResponse () override
 If the CL requires to initialize the material response, called by the element in InitializeSolutionStep. More...
 
bool RequiresFinalizeMaterialResponse () override
 If the CL requires to finalize the material response, called by the element in FinalizeSolutionStep. More...
 
doubleCalculateValue (ConstitutiveLaw::Parameters &rParameterValues, const Variable< double > &rThisVariable, double &rValue) override
 It calculates the value of a specified variable (double case) More...
 
VectorCalculateValue (ConstitutiveLaw::Parameters &rParameterValues, const Variable< Vector > &rThisVariable, Vector &rValue) override
 It calculates the value of a specified variable (Vector case) More...
 
MatrixCalculateValue (ConstitutiveLaw::Parameters &rParameterValues, const Variable< Matrix > &rThisVariable, Matrix &rValue) override
 It calculates the value of a specified variable (Matrix case) More...
 
int Check (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const ProcessInfo &rCurrentProcessInfo) const override
 This function provides the place to perform checks on the completeness of the input. More...
 
std::string Info () const override
 General information identifying this instance. More...
 
void PrintInfo (std::ostream &rOStream) const override
 General information identifying this instance. More...
 
- Public Member Functions inherited from Kratos::ConstitutiveLaw
 KRATOS_CLASS_POINTER_DEFINITION (ConstitutiveLaw)
 
 KRATOS_DEFINE_LOCAL_FLAG (USE_ELEMENT_PROVIDED_STRAIN)
 
 KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_STRESS)
 
 KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_CONSTITUTIVE_TENSOR)
 
 KRATOS_DEFINE_LOCAL_FLAG (COMPUTE_STRAIN_ENERGY)
 
 KRATOS_DEFINE_LOCAL_FLAG (ISOCHORIC_TENSOR_ONLY)
 
 KRATOS_DEFINE_LOCAL_FLAG (VOLUMETRIC_TENSOR_ONLY)
 
 KRATOS_DEFINE_LOCAL_FLAG (MECHANICAL_RESPONSE_ONLY)
 
 KRATOS_DEFINE_LOCAL_FLAG (THERMAL_RESPONSE_ONLY)
 
 KRATOS_DEFINE_LOCAL_FLAG (INCREMENTAL_STRAIN_MEASURE)
 
 KRATOS_DEFINE_LOCAL_FLAG (INITIALIZE_MATERIAL_RESPONSE)
 
 KRATOS_DEFINE_LOCAL_FLAG (FINALIZE_MATERIAL_RESPONSE)
 
 KRATOS_DEFINE_LOCAL_FLAG (FINITE_STRAINS)
 
 KRATOS_DEFINE_LOCAL_FLAG (INFINITESIMAL_STRAINS)
 
 KRATOS_DEFINE_LOCAL_FLAG (THREE_DIMENSIONAL_LAW)
 
 KRATOS_DEFINE_LOCAL_FLAG (PLANE_STRAIN_LAW)
 
 KRATOS_DEFINE_LOCAL_FLAG (PLANE_STRESS_LAW)
 
 KRATOS_DEFINE_LOCAL_FLAG (AXISYMMETRIC_LAW)
 
 KRATOS_DEFINE_LOCAL_FLAG (U_P_LAW)
 
 KRATOS_DEFINE_LOCAL_FLAG (ISOTROPIC)
 
 KRATOS_DEFINE_LOCAL_FLAG (ANISOTROPIC)
 
 ConstitutiveLaw ()
 
 ~ConstitutiveLaw () override
 
virtual Pointer Create (Kratos::Parameters NewParameters) const
 It creates a new constitutive law pointer. More...
 
virtual Pointer Create (Kratos::Parameters NewParameters, const Properties &rProperties) const
 It creates a new constitutive law pointer (version with properties) More...
 
void SetInitialState (InitialState::Pointer pInitialState)
 
InitialState::Pointer pGetInitialState ()
 
InitialStateGetInitialState ()
 
bool HasInitialState () const
 
template<typename TVectorType >
void AddInitialStressVectorContribution (TVectorType &rStressVector)
 Adds the initial stress vector if it is defined in the InitialState. More...
 
template<typename TVectorType >
void AddInitialStrainVectorContribution (TVectorType &rStrainVector)
 Adds the initial strain vector if it is defined in the InitialState. More...
 
template<typename TMatrixType >
void AddInitialDeformationGradientMatrixContribution (TMatrixType &rF)
 Adds the initial strain vector if it is defined in the InitialState. More...
 
virtual bool Has (const Variable< bool > &rThisVariable)
 Returns whether this constitutive Law has specified variable (boolean) More...
 
virtual bool Has (const Variable< int > &rThisVariable)
 Returns whether this constitutive Law has specified variable (integer) More...
 
virtual bool Has (const Variable< double > &rThisVariable)
 Returns whether this constitutive Law has specified variable (double) More...
 
virtual bool Has (const Variable< Vector > &rThisVariable)
 Returns whether this constitutive Law has specified variable (Vector) More...
 
virtual bool Has (const Variable< Matrix > &rThisVariable)
 Returns whether this constitutive Law has specified variable (Matrix) More...
 
virtual bool Has (const Variable< array_1d< double, 3 > > &rThisVariable)
 Returns whether this constitutive Law has specified variable (array of 3 components) More...
 
virtual bool Has (const Variable< array_1d< double, 6 > > &rThisVariable)
 Returns whether this constitutive Law has specified variable (array of 6 components) More...
 
virtual boolGetValue (const Variable< bool > &rThisVariable, bool &rValue)
 Returns the value of a specified variable (boolean) More...
 
virtual intGetValue (const Variable< int > &rThisVariable, int &rValue)
 
virtual doubleGetValue (const Variable< double > &rThisVariable, double &rValue)
 Returns the value of a specified variable (double) More...
 
virtual VectorGetValue (const Variable< Vector > &rThisVariable, Vector &rValue)
 Returns the value of a specified variable (Vector) More...
 
virtual MatrixGetValue (const Variable< Matrix > &rThisVariable, Matrix &rValue)
 Returns the value of a specified variable (Matrix) More...
 
virtual array_1d< double, 3 > & GetValue (const Variable< array_1d< double, 3 > > &rThisVariable, array_1d< double, 3 > &rValue)
 Returns the value of a specified variable (array of 3 components) More...
 
virtual array_1d< double, 6 > & GetValue (const Variable< array_1d< double, 6 > > &rThisVariable, array_1d< double, 6 > &rValue)
 Returns the value of a specified variable (array of 6 components) More...
 
virtual void SetValue (const Variable< bool > &rVariable, const bool &Value, const ProcessInfo &rCurrentProcessInfo)
 Sets the value of a specified variable (boolean) More...
 
virtual void SetValue (const Variable< int > &rVariable, const int &Value, const ProcessInfo &rCurrentProcessInfo)
 Sets the value of a specified variable (integer) More...
 
virtual void SetValue (const Variable< double > &rVariable, const double &rValue, const ProcessInfo &rCurrentProcessInfo)
 Sets the value of a specified variable (double) More...
 
virtual void SetValue (const Variable< Vector > &rVariable, const Vector &rValue, const ProcessInfo &rCurrentProcessInfo)
 Sets the value of a specified variable (Vector) More...
 
virtual void SetValue (const Variable< Matrix > &rVariable, const Matrix &rValue, const ProcessInfo &rCurrentProcessInfo)
 Sets the value of a specified variable (Matrix) More...
 
virtual void SetValue (const Variable< array_1d< double, 3 > > &rVariable, const array_1d< double, 3 > &rValue, const ProcessInfo &rCurrentProcessInfo)
 Sets the value of a specified variable (array of 3 components) More...
 
virtual void SetValue (const Variable< array_1d< double, 6 > > &rVariable, const array_1d< double, 6 > &rValue, const ProcessInfo &rCurrentProcessInfo)
 Sets the value of a specified variable (array of 6 components) More...
 
virtual boolCalculateValue (Parameters &rParameterValues, const Variable< bool > &rThisVariable, bool &rValue)
 Calculates the value of a specified variable (bool) More...
 
virtual intCalculateValue (Parameters &rParameterValues, const Variable< int > &rThisVariable, int &rValue)
 Calculates the value of a specified variable (int) More...
 
virtual array_1d< double, 3 > & CalculateValue (Parameters &rParameterValues, const Variable< array_1d< double, 3 > > &rVariable, array_1d< double, 3 > &rValue)
 Calculates the value of a specified variable (array of 3 components) More...
 
virtual array_1d< double, 6 > & CalculateValue (Parameters &rParameterValues, const Variable< array_1d< double, 6 > > &rVariable, array_1d< double, 6 > &rValue)
 
virtual void CalculateDerivative (Parameters &rParameterValues, const Variable< double > &rFunctionVariable, const Variable< double > &rDerivativeVariable, double &rOutput)
 Calculates derivatives of a given function. More...
 
virtual void CalculateDerivative (Parameters &rParameterValues, const Variable< Vector > &rFunctionVariable, const Variable< double > &rDerivativeVariable, Vector &rOutput)
 Calculates derivatives of a given function. More...
 
virtual void CalculateDerivative (Parameters &rParameterValues, const Variable< Matrix > &rFunctionVariable, const Variable< double > &rDerivativeVariable, Matrix &rOutput)
 Calculates derivatives of a given function. More...
 
virtual void CalculateDerivative (Parameters &rParameterValues, const Variable< array_1d< double, 3 >> &rFunctionVariable, const Variable< double > &rDerivativeVariable, array_1d< double, 3 > &rOutput)
 Calculates derivatives of a given function. More...
 
virtual bool ValidateInput (const Properties &rMaterialProperties)
 
virtual bool IsIncremental ()
 
virtual void InitializeMaterial (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const Vector &rShapeFunctionsValues)
 
virtual void InitializeSolutionStep (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const Vector &rShapeFunctionsValues, const ProcessInfo &rCurrentProcessInfo)
 
virtual void FinalizeSolutionStep (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const Vector &rShapeFunctionsValues, const ProcessInfo &rCurrentProcessInfo)
 
virtual void InitializeNonLinearIteration (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const Vector &rShapeFunctionsValues, const ProcessInfo &rCurrentProcessInfo)
 
virtual void FinalizeNonLinearIteration (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const Vector &rShapeFunctionsValues, const ProcessInfo &rCurrentProcessInfo)
 
void CalculateMaterialResponse (Parameters &rValues, const StressMeasure &rStressMeasure)
 
virtual void CalculateStressResponse (Parameters &rValues, Vector &rInternalVariables)
 
void InitializeMaterialResponse (Parameters &rValues, const StressMeasure &rStressMeasure)
 Initialize the material response, called by the element in InitializeSolutionStep. More...
 
void FinalizeMaterialResponse (Parameters &rValues, const StressMeasure &rStressMeasure)
 Finalize the material response, called by the element in FinalizeSolutionStep. More...
 
virtual void ResetMaterial (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const Vector &rShapeFunctionsValues)
 
virtual VectorTransformStrains (Vector &rStrainVector, const Matrix &rF, StrainMeasure rStrainInitial, StrainMeasure rStrainFinal)
 
virtual MatrixTransformStresses (Matrix &rStressMatrix, const Matrix &rF, const double &rdetF, StressMeasure rStressInitial, StressMeasure rStressFinal)
 
virtual VectorTransformStresses (Vector &rStressVector, const Matrix &rF, const double &rdetF, StressMeasure rStressInitial, StressMeasure rStressFinal)
 
VectorTransformPK1Stresses (Vector &rStressVector, const Matrix &rF, const double &rdetF, StressMeasure rStressFinal)
 
VectorTransformPK2Stresses (Vector &rStressVector, const Matrix &rF, const double &rdetF, StressMeasure rStressFinal)
 
VectorTransformKirchhoffStresses (Vector &rStressVector, const Matrix &rF, const double &rdetF, StressMeasure rStressFinal)
 
VectorTransformCauchyStresses (Vector &rStressVector, const Matrix &rF, const double &rdetF, StressMeasure rStressFinal)
 
void PullBackConstitutiveMatrix (Matrix &rConstitutiveMatrix, const Matrix &rF)
 
void PushForwardConstitutiveMatrix (Matrix &rConstitutiveMatrix, const Matrix &rF)
 
virtual void CalculateCauchyStresses (Vector &Cauchy_StressVector, const Matrix &F, const Vector &PK2_StressVector, const Vector &GreenLagrangeStrainVector)
 
void PrintData (std::ostream &rOStream) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::Flags
Flagsoperator= (Flags const &rOther)
 Assignment operator. More...
 
 operator bool () const
 
Flags operator~ () const
 
bool operator! () const
 
void AssignFlags (Flags const &rOther)
 
void Set (const Flags ThisFlag)
 
void Set (const Flags ThisFlag, bool Value)
 
void Reset (const Flags ThisFlag)
 
void Flip (const Flags ThisFlag)
 
void SetPosition (IndexType Position, bool Value=true)
 
bool GetPosition (IndexType Position) const
 
void FlipPosition (IndexType Position)
 
void ClearPosition (IndexType Position)
 
void Clear ()
 
Flags AsFalse () const
 
bool Is (Flags const &rOther) const
 
bool IsDefined (Flags const &rOther) const
 
bool IsNot (Flags const &rOther) const
 
bool IsNotDefined (Flags const &rOther) const
 
 KRATOS_CLASS_POINTER_DEFINITION (Flags)
 Pointer definition of Flags. More...
 
const Flagsoperator|= (const Flags &Other)
 
const Flagsoperator&= (const Flags &Other)
 
 Flags ()
 Default constructor. More...
 
 Flags (Flags const &rOther)
 Copy constructor. More...
 
virtual ~Flags ()
 Destructor. More...
 

Protected Member Functions

Protected Operations
void CheckClearElasticMatrix (VoigtSizeMatrixType &rConstitutiveMatrix)
 It checks the size of the constitutive matrix rConstitutiveMatrix and resize it if neccessary. More...
 
virtual void CalculateElasticMatrix (ConstitutiveLaw::VoigtSizeMatrixType &rConstitutiveMatrix, ConstitutiveLaw::Parameters &rValues)
 It calculates the constitutive matrix rConstitutiveMatrix. More...
 
virtual void CalculatePK2Stress (const ConstitutiveLaw::StrainVectorType &rStrainVector, ConstitutiveLaw::StressVectorType &rStressVector, ConstitutiveLaw::Parameters &rValues)
 It calculates the stress vector. More...
 
virtual void CalculateCauchyGreenStrain (ConstitutiveLaw::Parameters &rValues, ConstitutiveLaw::StrainVectorType &rStrainVector)
 It calculates the strain vector. More...
 
- Protected Member Functions inherited from Kratos::ConstitutiveLaw
void ContraVariantPushForward (Matrix &rMatrix, const Matrix &rF)
 
void ContraVariantPullBack (Matrix &rMatrix, const Matrix &rF)
 
void CoVariantPushForward (Matrix &rMatrix, const Matrix &rF)
 
void CoVariantPullBack (Matrix &rMatrix, const Matrix &rF)
 
void ConstitutiveMatrixTransformation (Matrix &rConstitutiveMatrix, const Matrix &rOriginalConstitutiveMatrix, const Matrix &rF)
 
doubleTransformConstitutiveComponent (double &rCabcd, const Matrix &rConstitutiveMatrix, const Matrix &rF, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 
doubleGetConstitutiveComponent (double &rCabcd, const Matrix &rConstitutiveMatrix, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 

Type Definitions

typedef ProcessInfo ProcessInfoType
 The process info type definition. More...
 
typedef ConstitutiveLaw BaseType
 The base class ConstitutiveLaw type definition. More...
 
typedef std::size_t SizeType
 The size type definition. More...
 
static constexpr SizeType Dimension = 3
 Static definition of the dimension. More...
 
static constexpr SizeType VoigtSize = 6
 Static definition of the VoigtSize. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (ElasticIsotropic3D)
 Counted pointer of ElasticIsotropic3D. More...
 
virtual bool Has (const Variable< bool > &rThisVariable)
 Returns whether this constitutive Law has specified variable (boolean) More...
 
virtual bool Has (const Variable< int > &rThisVariable)
 Returns whether this constitutive Law has specified variable (integer) More...
 
virtual bool Has (const Variable< double > &rThisVariable)
 Returns whether this constitutive Law has specified variable (double) More...
 
virtual bool Has (const Variable< Vector > &rThisVariable)
 Returns whether this constitutive Law has specified variable (Vector) More...
 
virtual bool Has (const Variable< Matrix > &rThisVariable)
 Returns whether this constitutive Law has specified variable (Matrix) More...
 
virtual bool Has (const Variable< array_1d< double, 3 > > &rThisVariable)
 Returns whether this constitutive Law has specified variable (array of 3 components) More...
 
virtual bool Has (const Variable< array_1d< double, 6 > > &rThisVariable)
 Returns whether this constitutive Law has specified variable (array of 6 components) More...
 
virtual boolGetValue (const Variable< bool > &rThisVariable, bool &rValue)
 Returns the value of a specified variable (boolean) More...
 
virtual intGetValue (const Variable< int > &rThisVariable, int &rValue)
 
virtual doubleGetValue (const Variable< double > &rThisVariable, double &rValue)
 Returns the value of a specified variable (double) More...
 
virtual VectorGetValue (const Variable< Vector > &rThisVariable, Vector &rValue)
 Returns the value of a specified variable (Vector) More...
 
virtual MatrixGetValue (const Variable< Matrix > &rThisVariable, Matrix &rValue)
 Returns the value of a specified variable (Matrix) More...
 
virtual array_1d< double, 3 > & GetValue (const Variable< array_1d< double, 3 > > &rThisVariable, array_1d< double, 3 > &rValue)
 Returns the value of a specified variable (array of 3 components) More...
 
virtual array_1d< double, 6 > & GetValue (const Variable< array_1d< double, 6 > > &rThisVariable, array_1d< double, 6 > &rValue)
 Returns the value of a specified variable (array of 6 components) More...
 

Serialization

class Serializer
 

Additional Inherited Members

- Public Types inherited from Kratos::ConstitutiveLaw
enum  StrainMeasure {
  StrainMeasure_Infinitesimal , StrainMeasure_GreenLagrange , StrainMeasure_Almansi , StrainMeasure_Hencky_Material ,
  StrainMeasure_Hencky_Spatial , StrainMeasure_Deformation_Gradient , StrainMeasure_Right_CauchyGreen , StrainMeasure_Left_CauchyGreen ,
  StrainMeasure_Velocity_Gradient
}
 
enum  StressMeasure { StressMeasure_PK1 , StressMeasure_PK2 , StressMeasure_Kirchhoff , StressMeasure_Cauchy }
 
typedef ProcessInfo ProcessInfoType
 
typedef std::size_t SizeType
 
typedef Geometry< NodeGeometryType
 
typedef Vector StrainVectorType
 
typedef Vector StressVectorType
 
typedef Matrix VoigtSizeMatrixType
 
typedef Matrix DeformationGradientMatrixType
 
- Public Types inherited from Kratos::Flags
enum  FlagsList {
  Flag0 = BlockType(1) , Flag1 = BlockType(1) << 1 , Flag2 = BlockType(1) << 2 , Flag3 = BlockType(1) << 3 ,
  Flag4 = BlockType(1) << 4 , Flag5 = BlockType(1) << 5 , Flag6 = BlockType(1) << 6 , Flag7 = BlockType(1) << 7 ,
  Flag8 = BlockType(1) << 8 , Flag9 = BlockType(1) << 9 , Flag10 = BlockType(1) << 10 , Flag11 = BlockType(1) << 11 ,
  Flag12 = BlockType(1) << 12 , Flag13 = BlockType(1) << 13 , Flag14 = BlockType(1) << 14 , Flag15 = BlockType(1) << 15 ,
  Flag16 = BlockType(1) << 16 , Flag17 = BlockType(1) << 17 , Flag18 = BlockType(1) << 18 , Flag19 = BlockType(1) << 19 ,
  Flag20 = BlockType(1) << 20 , Flag21 = BlockType(1) << 21 , Flag22 = BlockType(1) << 22 , Flag23 = BlockType(1) << 23 ,
  Flag24 = BlockType(1) << 24 , Flag25 = BlockType(1) << 25 , Flag26 = BlockType(1) << 26 , Flag27 = BlockType(1) << 27 ,
  Flag28 = BlockType(1) << 28 , Flag29 = BlockType(1) << 29 , Flag30 = BlockType(1) << 30
}
 
typedef int64_t BlockType
 
typedef int64_t FlagType
 
typedef std::size_t IndexType
 
- Static Public Member Functions inherited from Kratos::ConstitutiveLaw
static bool HasSameType (const ConstitutiveLaw &rLHS, const ConstitutiveLaw &rRHS)
 This method is used to check that two Constitutive Laws are the same type (references) More...
 
static bool HasSameType (const ConstitutiveLaw *rLHS, const ConstitutiveLaw *rRHS)
 This method is used to check that two Constitutive Laws are the same type (pointers) More...
 
- Static Public Member Functions inherited from Kratos::Flags
static const Flags AllDefined ()
 
static const Flags AllTrue ()
 
static Flags Create (IndexType ThisPosition, bool Value=true)
 
- Static Protected Attributes inherited from Kratos::ConstitutiveLaw
static const unsigned int msIndexVoigt3D6C [6][2] = { {0, 0}, {1, 1}, {2, 2}, {0, 1}, {1, 2}, {0, 2} }
 
static const unsigned int msIndexVoigt2D4C [4][2] = { {0, 0}, {1, 1}, {2, 2}, {0, 1} }
 
static const unsigned int msIndexVoigt2D3C [3][2] = { {0, 0}, {1, 1}, {0, 1} }
 

Member Typedef Documentation

◆ BaseType

The base class ConstitutiveLaw type definition.

◆ ProcessInfoType

The process info type definition.

◆ SizeType

The size type definition.

Constructor & Destructor Documentation

◆ ElasticIsotropic3D() [1/2]

Kratos::ElasticIsotropic3D::ElasticIsotropic3D ( )

Default constructor.

◆ ElasticIsotropic3D() [2/2]

Kratos::ElasticIsotropic3D::ElasticIsotropic3D ( const ElasticIsotropic3D rOther)

Copy constructor.

◆ ~ElasticIsotropic3D()

Kratos::ElasticIsotropic3D::~ElasticIsotropic3D ( )
override

Destructor.

Member Function Documentation

◆ CalculateCauchyGreenStrain()

void Kratos::ElasticIsotropic3D::CalculateCauchyGreenStrain ( ConstitutiveLaw::Parameters rValues,
ConstitutiveLaw::StrainVectorType rStrainVector 
)
protectedvirtual

It calculates the strain vector.

Parameters
rValuesThe internal values of the law
rStrainVectorThe strain vector in Voigt notation

Reimplemented in Kratos::LinearPlaneStress, Kratos::LinearPlaneStrain, and Kratos::ThermalLinearPlaneStrain.

◆ CalculateElasticMatrix()

void Kratos::ElasticIsotropic3D::CalculateElasticMatrix ( ConstitutiveLaw::VoigtSizeMatrixType rConstitutiveMatrix,
ConstitutiveLaw::Parameters rValues 
)
protectedvirtual

◆ CalculateMaterialResponseCauchy()

void Kratos::ElasticIsotropic3D::CalculateMaterialResponseCauchy ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Computes the material response:

Cauchy stresses and algorithmic ConstitutiveMatrix

Parameters
rValuesThe internal values of the law
See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ CalculateMaterialResponseKirchhoff()

void Kratos::ElasticIsotropic3D::CalculateMaterialResponseKirchhoff ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Computes the material response:

Kirchhoff stresses and algorithmic ConstitutiveMatrix

Parameters
rValuesThe internal values of the law
See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ CalculateMaterialResponsePK1()

void Kratos::ElasticIsotropic3D::CalculateMaterialResponsePK1 ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Computes the material response:

PK1 stresses and algorithmic ConstitutiveMatrix

Parameters
rValuesThe internal values of the law
See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ CalculateMaterialResponsePK2()

void Kratos::ElasticIsotropic3D::CalculateMaterialResponsePK2 ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Computes the material response:

PK2 stresses and algorithmic ConstitutiveMatrix

Parameters
rValuesThe internal values of the law
See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ CalculatePK2Stress()

void Kratos::ElasticIsotropic3D::CalculatePK2Stress ( const ConstitutiveLaw::StrainVectorType rStrainVector,
ConstitutiveLaw::StressVectorType rStressVector,
ConstitutiveLaw::Parameters rValues 
)
protectedvirtual

It calculates the stress vector.

Parameters
rStrainVectorThe strain vector in Voigt notation
rStressVectorThe stress vector in Voigt notation
rValuesParameters of the constitutive law

Reimplemented in Kratos::MultiLinearIsotropicPlaneStress2D, Kratos::ElasticIsotropicPlaneStressUncoupledShear, Kratos::LinearPlaneStress, Kratos::LinearPlaneStrain, Kratos::ThermalLinearPlaneStress, Kratos::ThermalLinearPlaneStrain, and Kratos::ThermalElasticIsotropic3D.

◆ CalculateValue() [1/3]

double & Kratos::ElasticIsotropic3D::CalculateValue ( ConstitutiveLaw::Parameters rParameterValues,
const Variable< double > &  rThisVariable,
double rValue 
)
overridevirtual

It calculates the value of a specified variable (double case)

Parameters
rParameterValuesthe needed parameters for the CL calculation
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
rValue output: the value of the specified variable

Reimplemented from Kratos::ConstitutiveLaw.

◆ CalculateValue() [2/3]

Matrix & Kratos::ElasticIsotropic3D::CalculateValue ( ConstitutiveLaw::Parameters rParameterValues,
const Variable< Matrix > &  rThisVariable,
Matrix rValue 
)
overridevirtual

It calculates the value of a specified variable (Matrix case)

Parameters
rParameterValuesthe needed parameters for the CL calculation
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
rValue output: the value of the specified variable

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ CalculateValue() [3/3]

Vector & Kratos::ElasticIsotropic3D::CalculateValue ( ConstitutiveLaw::Parameters rParameterValues,
const Variable< Vector > &  rThisVariable,
Vector rValue 
)
overridevirtual

It calculates the value of a specified variable (Vector case)

Parameters
rParameterValuesthe needed parameters for the CL calculation
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
rValue output: the value of the specified variable

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ Check()

int Kratos::ElasticIsotropic3D::Check ( const Properties rMaterialProperties,
const GeometryType rElementGeometry,
const ProcessInfo rCurrentProcessInfo 
) const
overridevirtual

This function provides the place to perform checks on the completeness of the input.

It is designed to be called only once (or anyway, not often) typically at the beginning of the calculations, so to verify that nothing is missing from the input or that no common error is found.

Parameters
rMaterialPropertiesThe properties of the material
rElementGeometryThe geometry of the element
rCurrentProcessInfoThe current process info instance
Returns
0 if OK, 1 otherwise

Reimplemented from Kratos::ConstitutiveLaw.

◆ CheckClearElasticMatrix()

void Kratos::ElasticIsotropic3D::CheckClearElasticMatrix ( ConstitutiveLaw::VoigtSizeMatrixType rConstitutiveMatrix)
protected

It checks the size of the constitutive matrix rConstitutiveMatrix and resize it if neccessary.

Parameters
rConstitutiveMatrixThe constitutive matrix

◆ Clone()

ConstitutiveLaw::Pointer Kratos::ElasticIsotropic3D::Clone ( ) const
overridevirtual

◆ FinalizeMaterialResponseCauchy()

void Kratos::ElasticIsotropic3D::FinalizeMaterialResponseCauchy ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Updates the material response:

Cauchy stresses and Internal Variables

Parameters
rValuesThe internal values of the law
See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ FinalizeMaterialResponseKirchhoff()

void Kratos::ElasticIsotropic3D::FinalizeMaterialResponseKirchhoff ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Updates the material response:

Cauchy stresses and Internal Variables

Parameters
rValuesThe internal values of the law
See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ FinalizeMaterialResponsePK1()

void Kratos::ElasticIsotropic3D::FinalizeMaterialResponsePK1 ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Updates the material response:

Cauchy stresses and Internal Variables

Parameters
rValuesThe internal values of the law
See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ FinalizeMaterialResponsePK2()

void Kratos::ElasticIsotropic3D::FinalizeMaterialResponsePK2 ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Updates the material response: Cauchy stresses and Internal Variables.

Parameters
rValuesThe internal values of the law
See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ GetLawFeatures()

void Kratos::ElasticIsotropic3D::GetLawFeatures ( Features rFeatures)
overridevirtual

This function is designed to be called once to check compatibility with element.

Parameters
rFeaturesThe Features of the law

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::LinearPlaneStress, and Kratos::LinearPlaneStrain.

◆ GetStrainMeasure()

StrainMeasure Kratos::ElasticIsotropic3D::GetStrainMeasure ( )
inlineoverridevirtual

Returns the expected strain measure of this constitutive law (by default Green-Lagrange)

Returns
the expected strain measure

Reimplemented from Kratos::ConstitutiveLaw.

◆ GetStrainSize()

SizeType Kratos::ElasticIsotropic3D::GetStrainSize ( ) const
inlineoverridevirtual

Voigt tensor size:

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::LinearPlaneStress, and Kratos::LinearPlaneStrain.

◆ GetStressMeasure()

StressMeasure Kratos::ElasticIsotropic3D::GetStressMeasure ( )
inlineoverridevirtual

Returns the stress measure of this constitutive law (by default 2st Piola-Kirchhoff stress in voigt notation)

Returns
the expected stress measure

Reimplemented from Kratos::ConstitutiveLaw.

◆ GetValue() [1/7]

array_1d< double, 3 > & Kratos::ConstitutiveLaw::GetValue

Returns the value of a specified variable (array of 3 components)

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
rValue output: the value of the specified variable

returns the value of a specified variable

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
the value of the specified variable

◆ GetValue() [2/7]

array_1d< double, 6 > & Kratos::ConstitutiveLaw::GetValue

Returns the value of a specified variable (array of 6 components)

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
the value of the specified variable

returns the value of a specified variable

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
the value of the specified variable

◆ GetValue() [3/7]

bool & Kratos::ConstitutiveLaw::GetValue

Returns the value of a specified variable (boolean)

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
rValue output: the value of the specified variable

returns the value of a specified variable

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
rValueoutput: the value of the specified variable

◆ GetValue() [4/7]

double & Kratos::ConstitutiveLaw::GetValue

Returns the value of a specified variable (double)

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
rValue output: the value of the specified variable

returns the value of a specified variable

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
rValueoutput: the value of the specified variable

◆ GetValue() [5/7]

int & Kratos::ConstitutiveLaw::GetValue

Returns the value of a specified variable (integer)

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
rValue output: the value of the specified variable

returns the value of a specified variable

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
rValueoutput: the value of the specified variable

◆ GetValue() [6/7]

Matrix & Kratos::ConstitutiveLaw::GetValue

Returns the value of a specified variable (Matrix)

Parameters
rThisVariablethe variable to be returned
Returns
rValue output: the value of the specified variable

returns the value of a specified variable

Parameters
rThisVariablethe variable to be returned
Returns
the value of the specified variable

◆ GetValue() [7/7]

Vector & Kratos::ConstitutiveLaw::GetValue

Returns the value of a specified variable (Vector)

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
rValue output: the value of the specified variable

returns the value of a specified variable

Parameters
rThisVariablethe variable to be returned
rValuea reference to the returned value
Returns
the value of the specified variable

◆ Has() [1/7]

bool Kratos::ConstitutiveLaw::Has

Returns whether this constitutive Law has specified variable (array of 3 components)

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law
Note
Fixed size array of 3 doubles (e.g. for 2D stresses, plastic strains, ...)

returns whether this constitutive Law has specified variable

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law NOTE: fixed size array of 3 doubles (e.g. for 2D stresses, plastic strains, ...)

◆ Has() [2/7]

bool Kratos::ConstitutiveLaw::Has

Returns whether this constitutive Law has specified variable (array of 6 components)

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law
Note
Fixed size array of 6 doubles (e.g. for stresses, plastic strains, ...)

returns whether this constitutive Law has specified variable

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law NOTE: fixed size array of 6 doubles (e.g. for stresses, plastic strains, ...)

◆ Has() [3/7]

bool Kratos::ConstitutiveLaw::Has

Returns whether this constitutive Law has specified variable (boolean)

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

returns whether this constitutive Law has specified variable

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

◆ Has() [4/7]

bool Kratos::ConstitutiveLaw::Has

Returns whether this constitutive Law has specified variable (double)

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

returns whether this constitutive Law has specified variable

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

◆ Has() [5/7]

bool Kratos::ConstitutiveLaw::Has

Returns whether this constitutive Law has specified variable (integer)

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

returns whether this constitutive Law has specified variable

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

◆ Has() [6/7]

bool Kratos::ConstitutiveLaw::Has

Returns whether this constitutive Law has specified variable (Matrix)

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

returns whether this constitutive Law has specified variable

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

◆ Has() [7/7]

bool Kratos::ConstitutiveLaw::Has

Returns whether this constitutive Law has specified variable (Vector)

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

returns whether this constitutive Law has specified variable

Parameters
rThisVariablethe variable to be checked for
Returns
true if the variable is defined in the constitutive law

◆ Info()

std::string Kratos::ElasticIsotropic3D::Info ( ) const
overridevirtual

General information identifying this instance.

Reimplemented from Kratos::ConstitutiveLaw.

◆ InitializeMaterialResponseCauchy()

void Kratos::ElasticIsotropic3D::InitializeMaterialResponseCauchy ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Initialize the material response in terms of Cauchy stresses.

See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

◆ InitializeMaterialResponseKirchhoff()

void Kratos::ElasticIsotropic3D::InitializeMaterialResponseKirchhoff ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Initialize the material response in terms of Kirchhoff stresses.

See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

◆ InitializeMaterialResponsePK1()

void Kratos::ElasticIsotropic3D::InitializeMaterialResponsePK1 ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Initialize the material response in terms of 1st Piola-Kirchhoff stresses.

See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

◆ InitializeMaterialResponsePK2()

void Kratos::ElasticIsotropic3D::InitializeMaterialResponsePK2 ( ConstitutiveLaw::Parameters rValues)
overridevirtual

Initialize the material response in terms of 2nd Piola-Kirchhoff stresses.

See also
Parameters

Reimplemented from Kratos::ConstitutiveLaw.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::ElasticIsotropic3D::KRATOS_CLASS_POINTER_DEFINITION ( ElasticIsotropic3D  )

Counted pointer of ElasticIsotropic3D.

◆ PrintInfo()

void Kratos::ElasticIsotropic3D::PrintInfo ( std::ostream &  rOStream) const
overridevirtual

General information identifying this instance.

Parameters
rOstreamThe stream where the info will be printed.

Reimplemented from Kratos::ConstitutiveLaw.

◆ RequiresFinalizeMaterialResponse()

bool Kratos::ElasticIsotropic3D::RequiresFinalizeMaterialResponse ( )
inlineoverridevirtual

If the CL requires to finalize the material response, called by the element in FinalizeSolutionStep.

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ RequiresInitializeMaterialResponse()

bool Kratos::ElasticIsotropic3D::RequiresInitializeMaterialResponse ( )
inlineoverridevirtual

If the CL requires to initialize the material response, called by the element in InitializeSolutionStep.

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::ViscousGeneralizedMaxwell< Kratos::ElasticIsotropic3D >, and Kratos::ViscousGeneralizedKelvin< Kratos::ElasticIsotropic3D >.

◆ WorkingSpaceDimension()

SizeType Kratos::ElasticIsotropic3D::WorkingSpaceDimension ( )
inlineoverridevirtual

Dimension of the law:

Reimplemented from Kratos::ConstitutiveLaw.

Reimplemented in Kratos::LinearPlaneStress, and Kratos::LinearPlaneStrain.

Friends And Related Function Documentation

◆ Serializer

friend class Serializer
friend

Member Data Documentation

◆ Dimension

constexpr SizeType Kratos::ElasticIsotropic3D::Dimension = 3
staticconstexpr

Static definition of the dimension.

◆ VoigtSize

constexpr SizeType Kratos::ElasticIsotropic3D::VoigtSize = 6
staticconstexpr

Static definition of the VoigtSize.


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