10 #if !defined(KRATOS_UPDATED_LAGRANGIAN_ELEMENT_H_INCLUDED)
11 #define KRATOS_UPDATED_LAGRANGIAN_ELEMENT_H_INCLUDED
45 class KRATOS_API(SOLID_MECHANICS_APPLICATION) UpdatedLagrangianElement
46 :
public LargeDisplacementElement
163 std::string
Info()
const override
165 std::stringstream buffer;
166 buffer <<
"Updated Lagrangian Element #" << Id();
173 rOStream <<
"Updated Lagrangian Element #" << Id();
179 GetGeometry().PrintData(rOStream);
214 void InitializeElementData(ElementDataType& rVariables,
222 void FinalizeStepVariables(ElementDataType & rVariables,
223 const double& rPointNumber )
override;
229 void CalculateKinematics(ElementDataType& rVariables,
230 const double& rPointNumber)
override;
236 void CalculateKinetics(ElementDataType& rVariables,
237 const double& rPointNumber)
override;
244 void CalculateDeformationGradient(
Matrix& rF,
246 const Matrix& rDeltaPosition);
252 void GetHistoricalVariables( ElementDataType& rVariables,
253 const double& rPointNumber )
override;
258 double& CalculateVolumeChange(
double& rVolumeChange, ElementDataType& rVariables)
override;
294 void save(
Serializer& rSerializer)
const override;
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
Large Displacement Lagrangian Element for 3D and 2D geometries. (base class)
Definition: large_displacement_element.hpp:46
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
A stabilized element for the incompressible Navier-Stokes equations.
Definition: updated_lagrangian_element.h:64
UpdatedLagrangianElement()
Definition: updated_lagrangian_element.hpp:207
UpdatedLagrangianElement & operator=(UpdatedLagrangianElement const &rOther)
Assignment operator.
void Initialize(const ProcessInfo &rCurrentProcessInfo) override
std::string Info() const override
Turn back information as a string.
Definition: updated_lagrangian_element.hpp:163
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(UpdatedLagrangianElement)
Counted pointer of UpdatedLagrangianElement.
~UpdatedLagrangianElement() override
Destructor.
ConstitutiveLaw ConstitutiveLawType
Definition: updated_lagrangian_element.hpp:53
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: updated_lagrangian_element.hpp:171
LargeDisplacementElement::ElementDataType ElementDataType
Type for element variables.
Definition: updated_lagrangian_element.hpp:61
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: updated_lagrangian_element.hpp:57
UpdatedLagrangianElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
UpdatedLagrangianElement(UpdatedLagrangianElement const &rOther)
Copy constructor.
std::vector< Matrix > mDeformationGradientF0
Definition: updated_lagrangian_element.hpp:197
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: updated_lagrangian_element.hpp:55
GeometryData::SizeType SizeType
Type for size.
Definition: updated_lagrangian_element.hpp:59
UpdatedLagrangianElement(IndexType NewId, GeometryType::Pointer pGeometry)
Default constructors.
Vector mDeterminantF0
Definition: updated_lagrangian_element.hpp:202
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: updated_lagrangian_element.hpp:177
Element::Pointer Clone(IndexType NewId, NodesArrayType const &ThisNodes) const override
int Check(const ProcessInfo &rCurrentProcessInfo) const override
void SetValuesOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const std::vector< TDataType > &values, const ProcessInfo &rCurrentProcessInfo)
Definition: add_mesh_to_python.cpp:185
pybind11::list CalculateOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo)
Definition: add_mesh_to_python.cpp:142
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