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_plastic_plane_stress_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_LINEAR_ELASTIC_PLASTIC_PLANE_STRESS_2D_LAW_H_INCLUDED)
11 #define KRATOS_LINEAR_ELASTIC_PLASTIC_PLANE_STRESS_2D_LAW_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 
21 
22 namespace Kratos
23 {
24 
25 
26 class KRATOS_API(SOLID_MECHANICS_APPLICATION) LinearElasticPlasticPlaneStress2DLaw : public LinearElasticPlasticPlaneStrain2DLaw
27 {
28 public:
34  typedef std::size_t SizeType;
35 
36  typedef FlowRule::Pointer FlowRulePointer;
37  typedef YieldCriterion::Pointer YieldCriterionPointer;
38  typedef HardeningLaw::Pointer HardeningLawPointer;
39  typedef Properties::Pointer PropertiesPointer;
40 
46 
55 
56 
58 
63 
64 
69  //LinearElasticPlasticPlaneStress2DLaw& operator=(const LinearElasticPlasticPlaneStress2DLaw& rOther);
70 
75  ConstitutiveLaw::Pointer Clone() const override;
76 
81 
94  void GetLawFeatures(Features& rFeatures) override;
95 
102  //virtual String Info() const override;
106  //virtual void PrintInfo(std::ostream& rOStream) const override;
110  //virtual void PrintData(std::ostream& rOStream) const override;
111 
112 protected:
113 
125 
135  void CalculateLinearElasticMatrix( Matrix& rLinearElasticMatrix,
136  const double& YoungModulus,
137  const double& PoissonCoefficient ) override;
138 
140 
141 private:
142 
145 
146 
150 
151 
155 
156 
160 
161 
166 
167 
171  friend class Serializer;
172 
173  void save(Serializer& rSerializer) const override
174  {
176  }
177 
178  void load(Serializer& rSerializer) override
179  {
181  }
182 
183 
184 
185 }; // Class LinearElasticPlasticPlaneStress2DLaw
186 } // namespace Kratos.
187 #endif // KRATOS_LINEAR_ELASTIC_PLASTIC_PLANE_STRESS_2D_LAW_H_INCLUDED defined
Definition: constitutive_law.h:47
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: linear_elastic_plastic_plane_strain_2D_law.hpp:27
Definition: linear_elastic_plastic_plane_stress_2D_law.hpp:27
ProcessInfo ProcessInfoType
Definition: linear_elastic_plastic_plane_stress_2D_law.hpp:32
KRATOS_CLASS_POINTER_DEFINITION(LinearElasticPlasticPlaneStress2DLaw)
ConstitutiveLaw BaseType
Definition: linear_elastic_plastic_plane_stress_2D_law.hpp:33
std::size_t SizeType
Definition: linear_elastic_plastic_plane_stress_2D_law.hpp:34
Properties::Pointer PropertiesPointer
Definition: linear_elastic_plastic_plane_stress_2D_law.hpp:39
HardeningLaw::Pointer HardeningLawPointer
Definition: linear_elastic_plastic_plane_stress_2D_law.hpp:38
FlowRule::Pointer FlowRulePointer
Definition: linear_elastic_plastic_plane_stress_2D_law.hpp:36
YieldCriterion::Pointer YieldCriterionPointer
Definition: linear_elastic_plastic_plane_stress_2D_law.hpp:37
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: constitutive_law.h:137