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.
hyperelastic_plastic_U_P_axisym_2D_law.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosSolidMechanicsApplication $
3 // Created by: $Author: JMCarbonell $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2015 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined (KRATOS_HYPERELASTIC_PLASTIC_U_P_AXISYM_2D_LAW_H_INCLUDED)
11 #define KRATOS_HYPERELASTIC_PLASTIC_U_P_AXISYM_2D_LAW_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 
21 namespace Kratos
22 {
31 class KRATOS_API(SOLID_MECHANICS_APPLICATION) HyperElasticPlasticUPAxisym2DLaw : public HyperElasticPlasticUP3DLaw
32 {
33 public:
39  typedef std::size_t SizeType;
40 
41  typedef FlowRule::Pointer FlowRulePointer;
42  typedef YieldCriterion::Pointer YieldCriterionPointer;
43  typedef HardeningLaw::Pointer HardeningLawPointer;
44  typedef Properties::Pointer PropertiesPointer;
45 
51 
60 
61 
63 
68 
69 
74  //HyperElasticPlasticUPAxisym2DLaw& operator=(const HyperElasticPlasticUPAxisym2DLaw& rOther);
75 
80  ConstitutiveLaw::Pointer Clone() const override;
81 
86 
99  {
100  return 2;
101  };
102 
106  SizeType GetStrainSize() const override
107  {
108  return 4;
109  };
110 
111 
116  void GetLawFeatures(Features& rFeatures) override;
117 
127  //int Check(const Properties& rMaterialProperties, const GeometryType& rElementGeometry, const ProcessInfo& rCurrentProcessInfo);
128 
129 
130 
137  //String Info() const override;
141  //void PrintInfo(std::ostream& rOStream) const override;
145  //void PrintData(std::ostream& rOStream) const override;
146 
147 protected:
148 
160 
166  void CalculateGreenLagrangeStrain( const Matrix & rRightCauchyGreen,
167  Vector& rStrainVector ) override;
168 
169 
175  void CalculateAlmansiStrain( const Matrix & rLeftCauchyGreen,
176  Vector& rStrainVector ) override;
177 
178 
186  void CalculateIsochoricConstitutiveMatrix (const MaterialResponseVariables& rElasticVariables,
187  const Matrix & rIsoStressMatrix,
188  Matrix& rConstitutiveMatrix) override;
189 
190 
191 
198  void CalculateVolumetricConstitutiveMatrix (const MaterialResponseVariables& rElasticVariables,
199  Matrix& rConstitutiveMatrix) override;
200 
201 
202 
203 
211  void CalculatePlasticConstitutiveMatrix (const MaterialResponseVariables& rElasticVariables,
212  FlowRule::RadialReturnVariables & rReturnMappingVariables,
213  Matrix& rConstitutiveMatrix) override;
214 
215 
216 
217 private:
218 
221 
222 
226 
227 
231 
232 
236 
237 
242 
243 
247  friend class Serializer;
248 
249  void save(Serializer& rSerializer) const override
250  {
252  }
253 
254  void load(Serializer& rSerializer) override
255  {
257  }
258 
259 
260 
261 }; // Class HyperElasticPlasticUPAxisym2DLaw
262 } // namespace Kratos.
263 #endif // KRATOS_HYPERELASTIC_PLASTIC_U_P_AXISYM_2D_LAW_H_INCLUDED defined
Definition: constitutive_law.h:47
std::size_t SizeType
Definition: constitutive_law.h:82
Definition: hyperelastic_plastic_3D_law.hpp:33
YieldCriterion::Pointer YieldCriterionPointer
Definition: hyperelastic_plastic_3D_law.hpp:62
FlowRule::Pointer FlowRulePointer
Definition: hyperelastic_plastic_3D_law.hpp:61
HardeningLaw::Pointer HardeningLawPointer
Definition: hyperelastic_plastic_3D_law.hpp:63
Definition: hyperelastic_plastic_U_P_3D_law.hpp:32
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:32
ProcessInfo ProcessInfoType
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:37
SizeType GetStrainSize() const override
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:106
SizeType WorkingSpaceDimension() override
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:98
Properties::Pointer PropertiesPointer
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:44
YieldCriterion::Pointer YieldCriterionPointer
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:42
std::size_t SizeType
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:39
HardeningLaw::Pointer HardeningLawPointer
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:43
KRATOS_CLASS_POINTER_DEFINITION(HyperElasticPlasticUPAxisym2DLaw)
ConstitutiveLaw BaseType
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:38
FlowRule::Pointer FlowRulePointer
Definition: hyperelastic_plastic_U_P_axisym_2D_law.hpp:41
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
Definition: flow_rule.hpp:121