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.
total_updated_lagrangian_element.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosPfemSolidMechanicsApplication $
3 // Created by: $Author: JMCarbonell $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2015 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_TOTAL_UPDATED_LAGRANGIAN_ELEMENT_H_INCLUDED )
11 #define KRATOS_TOTAL_UPDATED_LAGRANGIAN_ELEMENT_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 
21 namespace Kratos
22 {
37 
39 
45 class KRATOS_API(PFEM_SOLID_MECHANICS_APPLICATION) TotalUpdatedLagrangianElement
47 {
48 public:
49 
55  typedef ConstitutiveLawType::Pointer ConstitutiveLawPointerType;
62 
68 
70  TotalUpdatedLagrangianElement(IndexType NewId, GeometryType::Pointer pGeometry);
71 
72  TotalUpdatedLagrangianElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
73 
76 
79 
83 
86 
90 
101  Element::Pointer Create(IndexType NewId, NodesArrayType const& ThisNodes, PropertiesType::Pointer pProperties) const override;
102 
103 
111  Element::Pointer Clone(IndexType NewId, NodesArrayType const& ThisNodes) const override;
112 
113  //************************************************************************************
114  //************************************************************************************
122  //int Check(const ProcessInfo& rCurrentProcessInfo);
123 
124 
128 
139 
140 protected:
150  {
151  }
152 
153 
157  void InitializeElementData(ElementDataType& rVariables, const ProcessInfo& rCurrentProcessInfo) override;
158 
159 
163  void TransformElementData(ElementDataType & rVariables,
164  const double& rPointNumber) override;
165 
166 
170  void CalculateKinematics(ElementDataType& rVariables,
171  const double& rPointNumber) override;
172 
173 
177  void GetHistoricalVariables( ElementDataType& rVariables,
178  const double& rPointNumber ) override;
179 
183  void CalculateDeformationMatrix(Matrix& rB,
184  Matrix& rF,
185  Matrix& rDN_DX);
186 
190  double& CalculateVolumeChange(double& rVolumeChange, ElementDataType& rVariables) override;
191 
202 
203 private:
204 
220 
224  friend class Serializer;
225 
226  // A private default constructor necessary for serialization
227 
228  void save(Serializer& rSerializer) const override;
229 
230  void load(Serializer& rSerializer) override;
231 
232 
239 
240 }; // Class TotalUpdatedLagrangianElement
241 
249 
250 } // namespace Kratos.
251 #endif // KRATOS_TOTAL_UPDATED_LAGRANGIAN_ELEMENT_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: constitutive_law.h:47
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
Total Updated Lagrangian Element for 3D and 2D geometries.
Definition: total_updated_lagrangian_element.hpp:47
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(TotalUpdatedLagrangianElement)
Counted pointer of TotalUpdatedLagrangianElement.
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: total_updated_lagrangian_element.hpp:55
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: total_updated_lagrangian_element.hpp:57
TotalUpdatedLagrangianElement()
Definition: total_updated_lagrangian_element.hpp:149
GeometryData::SizeType SizeType
Type for size.
Definition: total_updated_lagrangian_element.hpp:59
UpdatedLagrangianElement::ElementDataType ElementDataType
Type for element variables.
Definition: total_updated_lagrangian_element.hpp:61
ConstitutiveLaw ConstitutiveLawType
Definition: total_updated_lagrangian_element.hpp:53
A stabilized element for the incompressible Navier-Stokes equations.
Definition: updated_lagrangian_element.h:64
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