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_contact_domain_penalty_2D_condition.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosContactMechanicsApplication $
3 // Created by: $Author: JMCarbonell $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2016 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_AXISYM_CONTACT_DOMAIN_PENALTY_2D_CONDITION_H_INCLUDED )
11 #define KRATOS_AXISYM_CONTACT_DOMAIN_PENALTY_2D_CONDITION_H_INCLUDED
12 
13 
14 // System includes
15 
16 // External includes
17 
18 // Project includes
20 
21 namespace Kratos
22 {
25 
29 
33 
37 
41 
42 
43 class KRATOS_API(CONTACT_MECHANICS_APPLICATION) AxisymContactDomainPenalty2DCondition
45 {
46 public:
47 
48 
54  typedef ConstitutiveLawType::Pointer ConstitutiveLawPointerType;
57 
59  typedef Node NodeType;
64 
65 
74 
75 
78 
82 
83 
86 
87  AxisymContactDomainPenalty2DCondition(IndexType NewId, GeometryType::Pointer pGeometry);
88 
89  AxisymContactDomainPenalty2DCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
90 
93 
94 
97 
101 
104 
105 
109 
117  Condition::Pointer Create(IndexType NewId, NodesArrayType const& ThisNodes, PropertiesType::Pointer pProperties) const override;
118 
119 
127  Condition::Pointer Clone(IndexType NewId,
128  NodesArrayType const& ThisNodes) const override;
129 
130 
131 
132  //************************************************************************************
133  //************************************************************************************
141  //int Check(const ProcessInfo& rCurrentProcessInfo);
142 
143  //std::string Info() const;
144 
148 
155 
157  // String Info() const override;
158 
160  // void PrintInfo(std::ostream& rOStream) const override;
161 
163  // void PrintData(std::ostream& rOStream) const override;
168 
169 protected:
178 
182  void InitializeConditionVariables (ConditionVariables& rVariables,
183  const ProcessInfo& rCurrentProcessInfo) override;
184 
188  void CalculateKinematics(ConditionVariables& rVariables,
189  const ProcessInfo& rCurrentProcessInfo,
190  const unsigned int& rPointNumber) override;
191 
195  void CalculateRadius(double & rCurrentRadius,
196  double & rReferenceRadius,
197  const Vector& rN);
198 
199 
203  void CalculateAndAddLHS(LocalSystemComponents& rLocalSystem,
204  ConditionVariables& rVariables,
205  double& rIntegrationWeight) override;
206 
210  void CalculateAndAddRHS(LocalSystemComponents& rLocalSystem,
211  ConditionVariables& rVariables,
212  double& rIntegrationWeight) override;
213 
214 
224  friend class Serializer;
225 
226  void save(Serializer& rSerializer) const override;
227 
228  void load(Serializer& rSerializer) override;
229 
237 
238 private:
239 
264 
265 }; // Class AxisymContactDomainPenalty2DCondition
266 
274 /* inline std::istream& operator >> (std::istream& rIStream,
275  ContactDomainPenalty2DCondition& rThis);
276 */
278 /* inline std::ostream& operator << (std::ostream& rOStream,
279  const ContactDomainPenalty2DCondition& rThis)
280  {
281  rThis.PrintInfo(rOStream);
282  rOStream << std::endl;
283  rThis.PrintData(rOStream);
284 
285  return rOStream;
286  }*/
288 
289 } // namespace Kratos.
290 #endif // KRATOS_AXISYM_CONTACT_DOMAIN_PENALTY_2D_CONDITION_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: axisym_contact_domain_penalty_2D_condition.hpp:45
Geometry< NodeType > GeometryType
Geometry Type.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:61
AxisymContactDomainPenalty2DCondition()
Default constructors.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:85
ContactDomainUtilities::SurfaceScalar SurfaceScalar
SurfaceScalar.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:71
ConstitutiveLaw ConstitutiveLawType
Definition: axisym_contact_domain_penalty_2D_condition.hpp:52
ContactDomainUtilities::BaseLengths BaseLengths
BaseLengths.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:73
ContactDomainUtilities::PointType PointType
Tensor order 1 definition.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:67
Element::ElementType ElementType
Element Type.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:63
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:54
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AxisymContactDomainPenalty2DCondition)
Counted pointer of AxisymContactDomainPenalty2DCondition.
Node NodeType
NodeType.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:59
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:56
ContactDomainUtilities::SurfaceVector SurfaceVector
SurfaceVector.
Definition: axisym_contact_domain_penalty_2D_condition.hpp:69
Definition: constitutive_law.h:47
Definition: contact_domain_penalty_2D_condition.hpp:42
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
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
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