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_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_U_P_AXISYM_2D_LAW_H_INCLUDED)
11 #define KRATOS_HYPERELASTIC_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 {
33 class KRATOS_API(SOLID_MECHANICS_APPLICATION) HyperElasticUPAxisym2DLaw : public HyperElasticUP3DLaw
34 {
35 public:
41  typedef std::size_t SizeType;
47 
56 
61  ConstitutiveLaw::Pointer Clone() const override;
62 
67 
68 
73  //HyperElasticUPAxisym2DLaw& operator=(const HyperElasticUPAxisym2DLaw& rOther);
74 
75 
79  ~HyperElasticUPAxisym2DLaw() override;
80 
93  {
94  return 2;
95  };
96 
100  SizeType GetStrainSize() const override
101  {
102  return 4;
103  };
104 
105 
110  void GetLawFeatures(Features& rFeatures) override;
111 
112 
119  //String Info() const override;
123  //void PrintInfo(std::ostream& rOStream) const override;
127  //void PrintData(std::ostream& rOStream) const override;
128 
129 protected:
130 
142 
143 
149  void CalculateGreenLagrangeStrain( const Matrix & rRightCauchyGreen,
150  Vector& rStrainVector ) override;
151 
152 
158  void CalculateAlmansiStrain( const Matrix & rLeftCauchyGreen,
159  Vector& rStrainVector ) override;
160 
161 
162 
163 
171  void CalculateIsochoricConstitutiveMatrix (const MaterialResponseVariables& rElasticVariables,
172  const Matrix & rIsoStressMatrix,
173  Matrix& rConstitutiveMatrix) override;
174 
175 
182  void CalculateVolumetricConstitutiveMatrix (const MaterialResponseVariables& rElasticVariables,
183  Matrix& rConstitutiveMatrix) override;
184 
185 
186 
187 
188 private:
189 
195 
196 
200 
201 
205 
210 
211 
215  friend class Serializer;
216 
217  void save(Serializer& rSerializer) const override
218  {
220  }
221 
222  void load(Serializer& rSerializer) override
223  {
225  }
226 
227 
228 
229 }; // Class HyperElasticUPAxisym2DLaw
230 } // namespace Kratos.
231 #endif // KRATOS_HYPERELASTIC_U_P_AXISYM_2D_LAW_H_INCLUDED defined
Definition: constitutive_law.h:47
std::size_t SizeType
Definition: constitutive_law.h:82
Definition: hyperelastic_UP_3D_law.hpp:39
Definition: hyperelastic_U_P_axisym_2D_law.hpp:34
std::size_t SizeType
Definition: hyperelastic_U_P_axisym_2D_law.hpp:41
KRATOS_CLASS_POINTER_DEFINITION(HyperElasticUPAxisym2DLaw)
SizeType WorkingSpaceDimension() override
Definition: hyperelastic_U_P_axisym_2D_law.hpp:92
SizeType GetStrainSize() const override
Definition: hyperelastic_U_P_axisym_2D_law.hpp:100
ProcessInfo ProcessInfoType
Definition: hyperelastic_U_P_axisym_2D_law.hpp:39
ConstitutiveLaw BaseType
Definition: hyperelastic_U_P_axisym_2D_law.hpp:40
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