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.
small_displacement_bbar_element.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosSolidMechanicsApplication $
3 // Created by: $Author: MCaicedo $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2017 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_SMALL_DISPLACEMENT_BBAR_ELEMENT_H_INCLUDED)
11 #define KRATOS_SMALL_DISPLACEMENT_BBAR_ELEMENT_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 namespace Kratos
21 {
36 
38 
44 class KRATOS_API(SOLID_MECHANICS_APPLICATION) SmallDisplacementBbarElement
46 {
47 public:
48 
54  typedef ConstitutiveLawType::Pointer ConstitutiveLawPointerType;
63 
67 
70 
73 
75  SmallDisplacementBbarElement(IndexType NewId, GeometryType::Pointer pGeometry);
76 
77  SmallDisplacementBbarElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
78 
81 
83  ~SmallDisplacementBbarElement() override;
84 
88 
91 
95 
103  Element::Pointer Create(IndexType NewId,
104  NodesArrayType const& ThisNodes,
105  PropertiesType::Pointer pProperties) const override;
106 
114  Element::Pointer Clone(IndexType NewId, NodesArrayType const& ThisNodes) const override;
115 
129 
130 protected:
142 
143 
147  void CalculateKinematics(ElementDataType& rVariables, const double& rPointNumber) override;
148 
152  void InitializeElementData(ElementDataType& rVariables,
153  const ProcessInfo& rCurrentProcessInfo) override;
154 
155 
159  void CalculateVolumetricDeformationMatrix(ElementDataType& rVariables);
160 
164  void CalculateDeformationMatrixBbar(Matrix& rB, const Matrix& rH, const Matrix& rDN_DX);
165 
169  void CalculateInfinitesimalStrainBbar(Vector& rStrainVector, const Matrix& rH, const Matrix& rDN_DX);
170 
171 
182 
183 private:
202  friend class Serializer;
203 
204  // A private default constructor necessary for serialization
205 
206  void save(Serializer& rSerializer) const override;
207 
208  void load(Serializer& rSerializer) override;
209 
216 
217 }; // Class SmallDisplacementBbarElement
218 
226 
227 } // namespace Kratos.
228 #endif // KRATOS_SMALL_DISPLACEMENT_BBAR_ELEMENT_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
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
std::size_t SizeType
Definition: geometry_data.h:173
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
Small Displacement Bbar Element for 3D and 2D geometries.
Definition: small_displacement_bbar_element.hpp:46
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(SmallDisplacementBbarElement)
Counted pointer of SmallDisplacementBbarElement.
SmallDisplacementElement::ElementDataType ElementDataType
Type for element variables.
Definition: small_displacement_bbar_element.hpp:62
ConstitutiveLaw ConstitutiveLawType
Definition: small_displacement_bbar_element.hpp:52
ConstitutiveLawType::StressMeasure StressMeasureType
StressMeasure from constitutive laws.
Definition: small_displacement_bbar_element.hpp:56
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: small_displacement_bbar_element.hpp:54
GeometryData::SizeType SizeType
Type for size.
Definition: small_displacement_bbar_element.hpp:60
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: small_displacement_bbar_element.hpp:58
Small Displacement Element for 3D and 2D geometries.
Definition: small_displacement_element.hpp:47
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: solid_element.hpp:83