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.
thermal_linear_elastic_2D_plane_stress.hpp
Go to the documentation of this file.
1 //
2 // Project Name:
3 // Last modified by: $Author:
4 // Date: $Date:
5 // Revision: $Revision:
6 //
7 
8 #if !defined (KRATOS_THERMAL_LINEAR_ELASTIC_2D_PLANE_STRESS_H_INCLUDED)
9 #define KRATOS_THERMAL_LINEAR_ELASTIC_2D_PLANE_STRESS_H_INCLUDED
10 
11 // Project includes
12 #include "includes/serializer.h"
14 
15 namespace Kratos
16 {
17 
18 class KRATOS_API(DAM_APPLICATION) ThermalLinearElastic2DPlaneStress : public ThermalLinearElastic2DPlaneStrain
19 {
20 
21 public:
22 
24 
25 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
26 
27  // Default Constructor
29 
30  // Copy Constructor
32 
33  // Destructor
35 
36 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
37 
38  ConstitutiveLaw::Pointer Clone() const override;
39 
40 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
41 
42 protected:
43 
44  // Member Variables
45 
46 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
47 
48  void GetLawFeatures(Features& rFeatures) override;
49 
50  void CalculateLinearElasticMatrix( Matrix& rConstitutiveMatrix, const double &rYoungModulus, const double &rPoissonCoefficient ) override;
51 
52  void CalculateThermalStrain( Vector& rThermalStrainVector, const MaterialResponseVariables & rElasticVariables, double & rTemperature, double & rNodalReferenceTemperature) override;
53 
54 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
55 
56 private:
57 
58  // Serialization
59 
60  friend class Serializer;
61 
62  void save(Serializer& rSerializer) const override
63  {
65  }
66 
67  void load(Serializer& rSerializer) override
68  {
70  }
71 
72 }; // Class ThermalLinearElastic2DPlaneStress
73 } // namespace Kratos.
74 #endif // KRATOS_THERMAL_LINEAR_ELASTIC_2D_PLANE_STRESS_H_INCLUDED defined
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: thermal_linear_elastic_2D_plane_strain.hpp:19
Definition: thermal_linear_elastic_2D_plane_stress.hpp:19
KRATOS_CLASS_POINTER_DEFINITION(ThermalLinearElastic2DPlaneStress)
#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: hyperelastic_3D_law.hpp:43