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.
axisymmetric_thermal_element.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 2013 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_AXISYMMETRIC_THERMAL_ELEMENT_H_INCLUDED )
11 #define KRATOS_AXISYMMETRIC_THERMAL_ELEMENT_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 
21 namespace Kratos
22 {
31 
35 
39 
40 
41 
42 class KRATOS_API(SOLID_MECHANICS_APPLICATION) AxisymmetricThermalElement
43  : public ThermalElement
44 {
45 public:
46 
52  typedef ConstitutiveLawType::Pointer ConstitutiveLawPointerType;
57 
58 
61 
62 
66 
67 
69  AxisymmetricThermalElement(IndexType NewId, GeometryType::Pointer pGeometry);
70  AxisymmetricThermalElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
71 
74 
75 
77  ~AxisymmetricThermalElement() override;
78 
82 
85 
86 
90 
98  Element::Pointer Create(IndexType NewId, NodesArrayType const& ThisNodes, PropertiesType::Pointer pProperties) const override;
99 
107  //Element::Pointer Clone(IndexType NewId, NodesArrayType const& ThisNodes) const;
108 
109 
110 
111  //************* STARTING - ENDING METHODS
112 
113 
114  //************************************************************************************
115  //************************************************************************************
123  //int Check(const ProcessInfo& rCurrentProcessInfo);
124 
125  //std::string Info() const;
126 
140 
141 protected:
163 
164 private:
165 
174 
179  void CalculateAndAddLHS(MatrixType& rLeftHandSideMatrix,
180  GeneralVariables& rVariables,
181  double& rIntegrationWeight) override;
182 
187  void CalculateAndAddRHS(VectorType& rRightHandSideVector,
188  GeneralVariables& rVariables,
189  double& rHeatSource,
190  double& rIntegrationWeight) override;
191 
195  void CalculateKinematics(GeneralVariables& rVariables,
196  const double& rPointNumber) override;
197 
201  void CalculateRadius(double & rCurrentRadius,
202  double & rReferenceRadius,
203  const Vector& rN);
204 
205 
206 
207 
211 
212 
217 
221  friend class Serializer;
222 
223  // A private default constructor necessary for serialization
224 
226  {
227  }
228 
229  void save(Serializer& rSerializer) const override;
230 
231  void load(Serializer& rSerializer) override;
232 
239 
240 }; // Class ThermalElement
241 
249 
250 } // namespace Kratos.
251 #endif // KRATOS_AXISYMMETRIC_THERMAL_ELEMENT_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: axisymmetric_thermal_element.hpp:44
ConstitutiveLawType::StressMeasure StressMeasureType
StressMeasure from constitutive laws.
Definition: axisymmetric_thermal_element.hpp:54
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AxisymmetricThermalElement)
Counted pointer of AxisymmetricThermalElement.
ConstitutiveLaw ConstitutiveLawType
Definition: axisymmetric_thermal_element.hpp:50
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: axisymmetric_thermal_element.hpp:56
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: axisymmetric_thermal_element.hpp:52
Definition: constitutive_law.h:47
StressMeasure
Definition: constitutive_law.h:69
std::size_t IndexType
Definition: flags.h:74
IntegrationMethod
Definition: geometry_data.h:76
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: thermal_element.hpp:41
double CalculateRadius(const PairedCondition *pCondition, const Vector &rNSlave)
Calculates the radius of axisymmetry.
Definition: mortar_explicit_contribution_utilities.cpp:675
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
Definition: thermal_element.hpp:74