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_plane_stress.h
Go to the documentation of this file.
1 // KRATOS ___ _ _ _ _ _ __ _
2 // / __\___ _ __ ___| |_(_) |_ _ _| |_(_)_ _____ / / __ ___ _____ /_\ _ __ _ __
3 // / / / _ \| '_ \/ __| __| | __| | | | __| \ \ / / _ \/ / / _` \ \ /\ / / __| //_\\| '_ \| '_ |
4 // / /__| (_) | | | \__ \ |_| | |_| |_| | |_| |\ V / __/ /__| (_| |\ V V /\__ \/ _ \ |_) | |_) |
5 // \____/\___/|_| |_|___/\__|_|\__|\__,_|\__|_| \_/ \___\____/\__,_| \_/\_/ |___/\_/ \_/ .__/| .__/
6 // |_| |_|
7 //
8 // License: BSD License
9 // license: structural_mechanics_application/license.txt
10 //
11 // Main authors: Alejandro Cornejo
12 //
13 
14 # pragma once
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
22 
23 namespace Kratos
24 {
27 
31 
35 
39 
43 
51 class KRATOS_API(CONSTITUTIVE_LAWS_APPLICATION) ThermalLinearPlaneStress
53 {
54 public:
55 
58 
60 
63 
66 
71  {}
72 
76  ConstitutiveLaw::Pointer Clone() const override
77  {
78  return Kratos::make_shared<ThermalLinearPlaneStress>(*this);
79  }
80 
81 
86 
91  : BaseType(rOther)
92  {
93  }
94 
98 
102 
109  void CalculatePK2Stress(
110  const ConstitutiveLaw::StrainVectorType &rStrainVector,
111  ConstitutiveLaw::StressVectorType &rStressVector,
112  ConstitutiveLaw::Parameters &rValues) override;
116 
122  void CalculateElasticMatrix(
123  ConstitutiveLaw::VoigtSizeMatrixType& rConstitutiveMatrix,
125  ) override;
126 
134  void SubstractThermalStrain(
135  ConstitutiveLaw::StrainVectorType &rStrainVector,
136  const double ReferenceTemperature,
137  ConstitutiveLaw::Parameters &rParameters,
138  const bool IsPlaneStrain = false) override;
139 
143 
147 
151 
155 
157 
158 protected:
159 
162 
166 
170 
174 
176 
177 private:
178 
181 
185 
186 
190 
195 
200 
204  friend class Serializer;
205 
206  void save(Serializer& rSerializer) const override
207  {
209  }
210 
211  void load(Serializer& rSerializer) override
212  {
214  }
215 
216 
217 }; // Class LinearPlaneStrain
218 } // namespace Kratos.
Definition: elastic_isotropic_3d.h:53
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
This class defines a Thermo dependant CL, including the addition of thermal expansion strains.
Definition: thermal_linear_plane_strain.h:53
This class defines a Thermo dependant CL, including the addition of thermal expansion strains.
Definition: thermal_linear_plane_stress.h:53
KRATOS_CLASS_POINTER_DEFINITION(ThermalLinearPlaneStress)
Counted pointer of LinearPlaneStrain.
ThermalLinearPlaneStress()
Default constructor.
Definition: thermal_linear_plane_stress.h:70
ThermalLinearPlaneStress(const ThermalLinearPlaneStress &rOther)
Definition: thermal_linear_plane_stress.h:90
~ThermalLinearPlaneStress() override
Destructor.
Definition: thermal_linear_plane_stress.h:85
ConstitutiveLaw::Pointer Clone() const override
Clone method.
Definition: thermal_linear_plane_stress.h:76
#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:189