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_2D_beam_law.h
Go to the documentation of this file.
1 // KRATOS___
2 // // ) )
3 // // ___ ___
4 // // ____ //___) ) // ) )
5 // // / / // // / /
6 // ((____/ / ((____ ((___/ / MECHANICS
7 //
8 // License: geo_mechanics_application/license.txt
9 //
10 // Main authors: Vahid Galavi
11 //
12 
13 #pragma once
14 
15 // Project includes
17 
18 namespace Kratos
19 {
22 
26 
30 
34 
38 
46 class KRATOS_API(GEO_MECHANICS_APPLICATION) LinearElastic2DBeamLaw
48 {
49 public:
52 
55 
58 
60  using SizeType = std::size_t;
61 
64 
67 
71  ConstitutiveLaw::Pointer Clone() const override;
72 
76 
80 
85  void GetLawFeatures(Features& rFeatures) override;
86 
92  {
93  return N_DIM_2D;
94  }
95 
100  SizeType GetStrainSize() const override
101  {
103  }
104 
108 
112 
116 
120 
122 
123 protected:
124 
127 
131 
135 
139 
145  void CalculateElasticMatrix(Matrix& C, ConstitutiveLaw::Parameters& rValues) override;
146 
147  void CalculatePK2Stress(const Vector& rStrainVector,
148  Vector& rStressVector,
149  ConstitutiveLaw::Parameters& rValues) override;
150 
152 
153 private:
154 
157 
161 
165 
170 
175 
179  friend class Serializer;
180 
181  void save(Serializer& rSerializer) const override
182  {
184  }
185 
186  void load(Serializer& rSerializer) override
187  {
189  }
190 }; // Class LinearElastic2DBeamLaw
191 
192 }
Definition: constitutive_law.h:47
std::size_t SizeType
Definition: constitutive_law.h:82
This class defines a small deformation linear elastic constitutive model for plane strain cases.
Definition: linear_elastic_plane_strain_2D_law.h:30
This class defines a small deformation linear elastic constitutive model for plane strain beam elemen...
Definition: linear_elastic_2D_beam_law.h:48
SizeType WorkingSpaceDimension() override
Dimension of the law:
Definition: linear_elastic_2D_beam_law.h:91
SizeType GetStrainSize() const override
Voigt tensor size:
Definition: linear_elastic_2D_beam_law.h:100
KRATOS_CLASS_POINTER_DEFINITION(LinearElastic2DBeamLaw)
Counted pointer of GeoLinearElasticPlaneStrain2DLaw.
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
constexpr SizeType N_DIM_2D
Definition: geo_mechanics_application_constants.h:26
constexpr SizeType VOIGT_SIZE_2D_PLANE_STRESS
Definition: geo_mechanics_application_constants.h:42
int C
Definition: generate_hyper_elastic_simo_taylor_neo_hookean.py:27
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:137
Definition: constitutive_law.h:189