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_LM_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_LM_2D_CONDITION_H_INCLUDED )
11 #define KRATOS_AXISYM_CONTACT_DOMAIN_LM_2D_CONDITION_H_INCLUDED
12 
13 
14 // System includes
15 
16 // External includes
17 
18 // Project includes
20 
21 namespace Kratos
22 {
31 
35 
39 
40 
41 class KRATOS_API(CONTACT_MECHANICS_APPLICATION) AxisymContactDomainLM2DCondition
43 {
44 public:
45 
46 
52  typedef ConstitutiveLawType::Pointer ConstitutiveLawPointerType;
55 
57  typedef Node NodeType;
62 
63 
72 
73 
76 
80 
81 
84 
85  AxisymContactDomainLM2DCondition(IndexType NewId, GeometryType::Pointer pGeometry);
86 
87  AxisymContactDomainLM2DCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
88 
91 
92 
95 
99 
102 
103 
107 
115  Condition::Pointer Create(IndexType NewId, NodesArrayType const& ThisNodes, PropertiesType::Pointer pProperties) const override;
116 
124  Condition::Pointer Clone(IndexType NewId, NodesArrayType const& ThisNodes) const override;
125 
126 
127  //************************************************************************************
128  //************************************************************************************
136  //int Check(const ProcessInfo& rCurrentProcessInfo);
137 
138  //std::string Info() const;
139 
143 
150 
152  // String Info() const override;
153 
155  // void PrintInfo(std::ostream& rOStream) const override;
156 
158  // void PrintData(std::ostream& rOStream) const override;
163 
164 protected:
173 
177  void InitializeConditionVariables (ConditionVariables& rVariables,
178  const ProcessInfo& rCurrentProcessInfo) override;
179 
183  void CalculateKinematics(ConditionVariables& rVariables,
184  const ProcessInfo& rCurrentProcessInfo,
185  const unsigned int& rPointNumber) override;
186 
190  void CalculateRadius(double & rCurrentRadius,
191  double & rReferenceRadius,
192  const Vector& rN);
193 
197  void CalculateAndAddLHS(LocalSystemComponents& rLocalSystem,
198  ConditionVariables& rVariables,
199  double& rIntegrationWeight) override;
200 
204  void CalculateAndAddRHS(LocalSystemComponents& rLocalSystem,
205  ConditionVariables& rVariables,
206  double& rIntegrationWeight) override;
207 
208 
218  friend class Serializer;
219 
220  void save(Serializer& rSerializer) const override;
221 
222  void load(Serializer& rSerializer) override;
223 
231 
232 private:
233 
258 
259 }; // Class AxisymContactDomainLM2DCondition
260 
268 /* inline std::istream& operator >> (std::istream& rIStream,
269  ContactDomainLM2DCondition& rThis);
270 */
272 /* inline std::ostream& operator << (std::ostream& rOStream,
273  const ContactDomainLM2DCondition& rThis)
274  {
275  rThis.PrintInfo(rOStream);
276  rOStream << std::endl;
277  rThis.PrintData(rOStream);
278 
279  return rOStream;
280  }*/
282 
283 } // namespace Kratos.
284 #endif // KRATOS_AXISYM_CONTACT_DOMAIN_LM_2D_CONDITION_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: axisym_contact_domain_LM_2D_condition.hpp:43
ContactDomainUtilities::SurfaceVector SurfaceVector
SurfaceVector.
Definition: axisym_contact_domain_LM_2D_condition.hpp:67
Geometry< NodeType > GeometryType
Geometry Type.
Definition: axisym_contact_domain_LM_2D_condition.hpp:59
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: axisym_contact_domain_LM_2D_condition.hpp:52
Node NodeType
NodeType.
Definition: axisym_contact_domain_LM_2D_condition.hpp:57
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AxisymContactDomainLM2DCondition)
Counted pointer of AxisymContactDomainLM2DCondition.
ContactDomainUtilities::SurfaceScalar SurfaceScalar
SurfaceScalar.
Definition: axisym_contact_domain_LM_2D_condition.hpp:69
Element::ElementType ElementType
Element Type.
Definition: axisym_contact_domain_LM_2D_condition.hpp:61
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: axisym_contact_domain_LM_2D_condition.hpp:54
ContactDomainUtilities::BaseLengths BaseLengths
BaseLengths.
Definition: axisym_contact_domain_LM_2D_condition.hpp:71
ContactDomainUtilities::PointType PointType
Tensor order 1 definition.
Definition: axisym_contact_domain_LM_2D_condition.hpp:65
ConstitutiveLaw ConstitutiveLawType
Definition: axisym_contact_domain_LM_2D_condition.hpp:50
AxisymContactDomainLM2DCondition()
Default constructors.
Definition: axisym_contact_domain_LM_2D_condition.hpp:83
Definition: constitutive_law.h:47
Definition: contact_domain_LM_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