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_point_elastic_condition.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: August 2017 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_AXISYMMETRIC_POINT_ELASTIC_CONDITION_H_INCLUDED)
11 #define KRATOS_AXISYMMETRIC_POINT_ELASTIC_CONDITION_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 
21 namespace Kratos
22 {
37 
39 
40 class KRATOS_API(SOLID_MECHANICS_APPLICATION) AxisymmetricPointElasticCondition
41  : public PointElasticCondition
42 {
43 public:
44 
47  // Counted pointer of AxisymmetricPointElasticCondition
50 
53 
55  AxisymmetricPointElasticCondition( IndexType NewId, GeometryType::Pointer pGeometry );
56 
57  AxisymmetricPointElasticCondition( IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties );
58 
61 
64 
68 
69 
73 
81  Condition::Pointer Create(IndexType NewId,
82  NodesArrayType const& ThisNodes,
83  PropertiesType::Pointer pProperties ) const override;
84 
85 
93  Condition::Pointer Clone(IndexType NewId,
94  NodesArrayType const& ThisNodes) const override;
95 
96 
97  //************************************************************************************
98  //************************************************************************************
106  int Check( const ProcessInfo& rCurrentProcessInfo ) const override;
107 
121 
122 protected:
135 
139  void CalculateKinematics(ConditionVariables& rVariables,
140  const double& rPointNumber) override;
141 
142 
146  void CalculateAndAddLHS(LocalSystemComponents& rLocalSystem,
147  ConditionVariables& rVariables,
148  double& rIntegrationWeight) override;
149 
153  void CalculateAndAddRHS(LocalSystemComponents& rLocalSystem,
154  ConditionVariables& rVariables,
155  double& rIntegrationWeight) override;
156 
160  void CalculateRadius(double & rCurrentRadius,
161  double & rReferenceRadius);
165 
166 
170 
171 
175 
176 
178 
179 private:
182 
183 
187 
191 
192 
196 
197 
201 
202 
206 
210 
211  friend class Serializer;
212 
213  void save(Serializer& rSerializer) const override;
214 
215  void load(Serializer& rSerializer) override;
216 
217 
218 }; // class AxisymmetricPointElasticCondition.
219 
220 } // namespace Kratos.
221 
222 #endif // KRATOS_AXISYMMETRIC_POINT_ELASTIC_CONDITION_H_INCLUDED defined
Axisymmetric point elastic condition for 2D geometries.
Definition: axisymmetric_point_elastic_condition.hpp:42
AxisymmetricPointElasticCondition()
Definition: axisymmetric_point_elastic_condition.hpp:128
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AxisymmetricPointElasticCondition)
std::size_t IndexType
Definition: flags.h:74
Point Load Condition for 3D and 2D geometries. (base class)
Definition: point_elastic_condition.hpp:42
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
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
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