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.
linear_elastic_orthotropic_3D_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_LINEAR_ELASTIC_ORTHOTROPIC_3D_LAW_H_INCLUDED)
11 #define KRATOS_LINEAR_ELASTIC_ORTHOTROPIC_3D_LAW_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
18 #include "custom_constitutive/hyperelastic_3D_law.hpp"
19 
20 namespace Kratos
21 {
31 class KRATOS_API(SOLID_MECHANICS_APPLICATION) LinearElasticOrthotropic3DLaw : public HyperElastic3DLaw
32 {
33 public:
39  typedef std::size_t SizeType;
45 
54 
59  ConstitutiveLaw::Pointer Clone() const override;
60 
65 
66 
71  //LinearElasticOrthotropic3DLaw& operator=(const LinearElasticOrthotropic3DLaw& rOther);
72 
73 
78 
92  void GetLawFeatures(Features& rFeatures) override;
93 
94 
101  void CalculateMaterialResponsePK2 (Parameters & rValues) override;
102 
109  void CalculateMaterialResponseKirchhoff (Parameters & rValues) override;
110 
120  int Check(const Properties& rMaterialProperties, const GeometryType& rElementGeometry, const ProcessInfo& rCurrentProcessInfo) const override;
121 
128  //String Info() const override;
132  //void PrintInfo(std::ostream& rOStream) const override;
136  //void PrintData(std::ostream& rOStream) const override;
137 
138 protected:
139 
152 
153 
160  virtual void CalculateStress( const Vector &rStrainVector,
161  const Matrix &rConstitutiveMatrix,
162  Vector& rStressVector);
163 
164 
174  virtual void CalculateLinearElasticMatrix( Matrix& rConstitutiveMatrix,
175  const Properties& rMaterialProperties);
176 
183  bool CheckParameters(Parameters& rValues) override;
184 
185 
186 private:
187 
188 
194 
195 
199 
200 
205 
210 
214  friend class Serializer;
215 
216  void save(Serializer& rSerializer) const override
217  {
219  }
220 
221  void load(Serializer& rSerializer) override
222  {
224  }
225 
226 
227 }; // Class LinearElasticOrthotropic3DLaw
228 } // namespace Kratos.
229 #endif // KRATOS_LINEAR_ELASTIC_ORTHOTROPIC_3D_LAW_H_INCLUDED defined
Definition: constitutive_law.h:47
Geometry base class.
Definition: geometry.h:71
Definition: hyperelastic_3D_law.hpp:38
Definition: linear_elastic_orthotropic_3D_law.hpp:32
ProcessInfo ProcessInfoType
Definition: linear_elastic_orthotropic_3D_law.hpp:37
std::size_t SizeType
Definition: linear_elastic_orthotropic_3D_law.hpp:39
KRATOS_CLASS_POINTER_DEFINITION(LinearElasticOrthotropic3DLaw)
ConstitutiveLaw BaseType
Definition: linear_elastic_orthotropic_3D_law.hpp:38
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
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: constitutive_law.h:137
Definition: constitutive_law.h:189