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.
updated_lagrangian_U_wP_Stab_element.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosPfemSolidMechanicsApplication $
3 // Created by: $Author: LMonforte $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2015 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_UPDATED_LAGRANGIAN_U_wP_STAB_ELEMENT_H_INCLUDED )
11 #define KRATOS_UPDATED_LAGRANGIAN_U_wP_STAB_ELEMENT_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 namespace Kratos
21 {
36 
38 // ONLY STABILIZATION TERMS
39 
40 class KRATOS_API(PFEM_SOLID_MECHANICS_APPLICATION) UpdatedLagrangianUwPStabElement
42 {
43 public:
44 
50  typedef ConstitutiveLawType::Pointer ConstitutiveLawPointerType;
55 
59 
62 
65 
67  UpdatedLagrangianUwPStabElement(IndexType NewId, GeometryType::Pointer pGeometry);
68 
69  UpdatedLagrangianUwPStabElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
70 
73 
74 
77 
81 
84 
85 
89 
100  Element::Pointer Create(IndexType NewId, NodesArrayType const& ThisNodes, PropertiesType::Pointer pProperties) const override;
101 
109  Element::Pointer Clone(IndexType NewId, NodesArrayType const& ThisNodes) const override;
110 
111 
112  //************* STARTING - ENDING METHODS
113 
114 
118 
129 protected:
135 
136 
137 
141 
145 
150  void CalculateAndAddLHS(LocalSystemComponents& rLocalSystem,
151  ElementDataType& rVariables,
152  double& rIntegrationWeight) override;
153 
158  void CalculateAndAddRHS(LocalSystemComponents& rLocalSystem,
159  ElementDataType & rVariables,
160  Vector& rVolumeForce,
161  double& rIntegrationWeight) override;
162 
163 
167  void InitializeElementData(ElementDataType & rVariables, const ProcessInfo& rCurrentProcessInfo) override;
168 
169 
180 
181 private:
182 
188 
189 
193 
194 
198 
199 
204 
208  friend class Serializer;
209 
210  // A private default constructor necessary for serialization
211 
212  void save(Serializer& rSerializer) const override;
213 
214  void load(Serializer& rSerializer) override;
215 
216 
223 
224 
225 }; // Class UpdatedLagrangianUwPElement
226 
227 
228 
229 } // namespace Kratos
230 #endif // KRATOS_____
231 
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
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
Updated Lagrangian Large Displacement Lagrangian U-wP Element for 3D and 2D geometries....
Definition: updated_lagrangian_U_wP_element.hpp:42
Updated Lagrangian Large Displacement U-Pw Element for 3D and 2D geometries. Linear Triangles and Tet...
Definition: updated_lagrangian_U_wP_Stab_element.hpp:42
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: updated_lagrangian_U_wP_Stab_element.hpp:54
ConstitutiveLaw ConstitutiveLawType
Definition: updated_lagrangian_U_wP_Stab_element.hpp:48
ConstitutiveLawType::StressMeasure StressMeasureType
StressMeasure from constitutive laws.
Definition: updated_lagrangian_U_wP_Stab_element.hpp:52
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: updated_lagrangian_U_wP_Stab_element.hpp:50
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(UpdatedLagrangianUwPStabElement)
Counted pointer of LargeDisplacementUPElement.
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
Definition: solid_element.hpp:233