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_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_AXISYM_2D_LAW_H_INCLUDED)
11 #define KRATOS_HYPERELASTIC_PLASTIC_AXISYM_2D_LAW_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
18 #include "custom_constitutive/hyperelastic_plastic_3D_law.hpp"
19 
20 
21 namespace Kratos
22 {
31 class KRATOS_API(SOLID_MECHANICS_APPLICATION) HyperElasticPlasticAxisym2DLaw : public HyperElasticPlastic3DLaw
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  //HyperElasticPlasticAxisym2DLaw& operator=(const HyperElasticPlasticAxisym2DLaw& 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 
210  void CalculatePlasticConstitutiveMatrix (const MaterialResponseVariables& rElasticVariables,
211  FlowRule::RadialReturnVariables & rReturnMappingVariables,
212  Matrix& rConstitutiveMatrix) override;
213 
214 
215 private:
216 
219 
220 
224 
225 
229 
230 
234 
235 
240 
241 
245  friend class Serializer;
246 
247  void save(Serializer& rSerializer) const override
248  {
250  }
251 
252  void load(Serializer& rSerializer) override
253  {
255  }
256 
257 
258 
259 }; // Class HyperElasticPlasticAxisym2DLaw
260 } // namespace Kratos.
261 #endif // KRATOS_HYPERELASTIC_PLASTIC_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_axisym_2D_law.hpp:32
Properties::Pointer PropertiesPointer
Definition: hyperelastic_plastic_axisym_2D_law.hpp:44
KRATOS_CLASS_POINTER_DEFINITION(HyperElasticPlasticAxisym2DLaw)
HardeningLaw::Pointer HardeningLawPointer
Definition: hyperelastic_plastic_axisym_2D_law.hpp:43
FlowRule::Pointer FlowRulePointer
Definition: hyperelastic_plastic_axisym_2D_law.hpp:41
YieldCriterion::Pointer YieldCriterionPointer
Definition: hyperelastic_plastic_axisym_2D_law.hpp:42
SizeType GetStrainSize() const override
Definition: hyperelastic_plastic_axisym_2D_law.hpp:106
ProcessInfo ProcessInfoType
Definition: hyperelastic_plastic_axisym_2D_law.hpp:37
SizeType WorkingSpaceDimension() override
Definition: hyperelastic_plastic_axisym_2D_law.hpp:98
std::size_t SizeType
Definition: hyperelastic_plastic_axisym_2D_law.hpp:39
ConstitutiveLaw BaseType
Definition: hyperelastic_plastic_axisym_2D_law.hpp:38
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