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.
axisym_thermal_contact_domain_penalty_2D_condition.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosMachiningApplication $
3 // Created by: $Author: JMCarbonell $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: October 2013 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_AXISYM_THERMAL_CONTACT_DOMAIN_PENALTY_2D_CONDITION_H_INCLUDED )
11 #define KRATOS_AXISYM_THERMAL_CONTACT_DOMAIN_PENALTY_2D_CONDITION_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 namespace Kratos
21 {
36 
37 
38 class KRATOS_API(CONTACT_MECHANICS_APPLICATION) AxisymThermalContactDomainPenalty2DCondition
40 {
41 public:
42 
48  typedef ConstitutiveLawType::Pointer ConstitutiveLawPointerType;
51 
53  typedef Node NodeType;
58 
59 
68 
69 
75 
76 
79 
80  AxisymThermalContactDomainPenalty2DCondition(IndexType NewId, GeometryType::Pointer pGeometry);
81 
82  AxisymThermalContactDomainPenalty2DCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
83 
86 
87 
90 
94 
97 
98 
102 
110  Condition::Pointer Create(IndexType NewId, NodesArrayType const& ThisNodes, PropertiesType::Pointer pProperties) const override;
111 
119  Condition::Pointer Clone(IndexType NewId, NodesArrayType const& ThisNodes) const override;
120 
121  //************************************************************************************
122  //************************************************************************************
130  int Check(const ProcessInfo& rCurrentProcessInfo) const override;
131 
132  //std::string Info() const;
133 
137 
144 
146  // virtual String Info() const;
147 
149  // virtual void PrintInfo(std::ostream& rOStream) const;
150 
152  // virtual void PrintData(std::ostream& rOStream) const;
157 
158 protected:
167 
171  void CalculateKinematics(GeneralVariables& rVariables,
172  const ProcessInfo& rCurrentProcessInfo,
173  const unsigned int& rPointNumber) override;
174 
178  void CalculateRadius(double & rCurrentRadius,
179  double & rReferenceRadius,
180  const Vector& rN);
181 
185  void CalculateAndAddLHS(MatrixType& rLeftHandSideMatrix,
186  GeneralVariables& rVariables,
187  double& rIntegrationWeight) override;
188 
192  void CalculateAndAddRHS(VectorType& rRightHandSideVector,
193  GeneralVariables& rVariables,
194  double& rIntegrationWeight) override;
195 
196 
206  friend class Serializer;
207 
208  void save(Serializer& rSerializer) const override;
209 
210  void load(Serializer& rSerializer) override;
211 
219 
220 private:
221 
247 
248 }; // Class AxisymThermalContactDomainPenalty2DCondition
249 
257 /* inline std::istream& operator >> (std::istream& rIStream,
258  AxisymThermalContactDomainPenalty2DCondition& rThis);
259 */
261 /* inline std::ostream& operator << (std::ostream& rOStream,
262  const AxisymThermalContactDomainPenalty2DCondition& rThis)
263  {
264  rThis.PrintInfo(rOStream);
265  rOStream << std::endl;
266  rThis.PrintData(rOStream);
267 
268  return rOStream;
269  }*/
271 
272 } // namespace Kratos.
273 #endif // KRATOS_AXISYM_THERMAL_CONTACT_DOMAIN_PENALTY_2D_CONDITION_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:40
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:50
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:48
Node NodeType
NodeType.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:53
ContactDomainUtilities::SurfaceVector SurfaceVector
SurfaceVector.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:63
ContactDomainUtilities::BaseLengths BaseLengths
BaseLengths.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:67
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AxisymThermalContactDomainPenalty2DCondition)
Counted pointer of AxisymThermalContactDomainPenalty2DCondition.
AxisymThermalContactDomainPenalty2DCondition()
Default constructors.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:78
Geometry< NodeType > GeometryType
Geometry Type.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:55
ConstitutiveLaw ConstitutiveLawType
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:46
ContactDomainUtilities::SurfaceScalar SurfaceScalar
SurfaceScalar.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:65
ContactDomainUtilities::PointType PointType
Tensor order 1 definition.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:61
Element::ElementType ElementType
Element Type.
Definition: axisym_thermal_contact_domain_penalty_2D_condition.hpp:57
Definition: constitutive_law.h:47
Base class for all Elements.
Definition: element.h:60
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
This class defines the node.
Definition: node.h:65
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
Definition: thermal_contact_domain_penalty_2D_condition.hpp:40
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
double CalculateRadius(const PairedCondition *pCondition, const Vector &rNSlave)
Calculates the radius of axisymmetry.
Definition: mortar_explicit_contribution_utilities.cpp:675
Matrix MatrixType
Definition: geometrical_transformation_utilities.h:55
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
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307
Definition: contact_domain_utilities.hpp:74
Definition: contact_domain_utilities.hpp:91
Definition: contact_domain_utilities.hpp:83