38 static constexpr
int msNumberOfNodes = 2;
39 static constexpr
int msDimension = 3;
40 static constexpr
unsigned int msLocalSize = msNumberOfNodes * msDimension;
41 static constexpr
unsigned int msElementSize = msLocalSize * 2;
61 PropertiesType::Pointer pProperties);
75 GeometryType::Pointer pGeom,
76 PropertiesType::Pointer pProperties
89 PropertiesType::Pointer pProperties
92 void EquationIdVector(
93 EquationIdVectorType& rResult,
94 const ProcessInfo& rCurrentProcessInfo)
const override;
97 DofsVectorType& rElementalDofList,
98 const ProcessInfo& rCurrentProcessInfo)
const override;
141 void SaveQuaternionParameters();
143 void CalculateLocalSystem(
148 void ConstCalculateLocalSystem(
153 void CalculateRightHandSide(
157 void CalculateLeftHandSide(
161 virtual void ConstCalculateRightHandSide(
165 void ConstCalculateLeftHandSide(
169 void CalculateMassMatrix(
179 void CalculateLumpedMassMatrix(
189 void CalculateConsistentMassMatrix(
203 void BuildSingleMassMatrix(
205 const double Phi,
const double CT,
const double CR,
const double L,
const double dir)
const;
207 void CalculateDampingMatrix(
211 void AddExplicitContribution(
const VectorType& rRHSVector,
216 void GetValuesVector(
218 int Step = 0)
const override;
220 void GetSecondDerivativesVector(
222 int Step = 0)
const override;
224 void GetFirstDerivativesVector(
226 int Step = 0)
const override;
233 void AssembleSmallInBigMatrix(
234 const Matrix& rSmallMatrix,
238 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
246 double CalculatePsi(
const double I,
const double A_eff)
const;
251 double CalculateShearModulus()
const;
275 void CalculateAndAddWorkEquivalentNodalForcesLineLoad(
278 const double GeometryLength)
const;
284 Vector CalculateSymmetricDeformationMode()
const;
289 Vector CalculateAntiSymmetricDeformationMode()
const;
296 Vector CalculateLocalNodalForces()
const;
298 void FinalizeNonLinearIteration(
const ProcessInfo& rCurrentProcessInfo)
override;
300 Vector CalculateGlobalNodalForces()
const;
302 Vector GetIncrementDeformation()
const;
306 void InitializeNonLinearIteration(
const ProcessInfo& rCurrentProcessInfo)
override;
309 void UpdateQuaternionParameters(
double& rScalNodeA,
double& rScalNodeB,
312 const Parameters GetSpecifications()
const override;
321 double mQuaternionSCA_A = 1.00;
322 double mQuaternionSCA_B = 1.00;
328 void save(
Serializer& rSerializer)
const override;
This is a 3D-2node beam element with 3 translational dofs and 3 rotational dof per node.
Definition: cr_beam_element_3D2N.hpp:35
BaseType::VectorType VectorType
Definition: cr_beam_element_3D2N.hpp:54
Element BaseType
Definition: cr_beam_element_3D2N.hpp:47
BaseType::MatrixType MatrixType
Definition: cr_beam_element_3D2N.hpp:53
BaseType::SizeType SizeType
Definition: cr_beam_element_3D2N.hpp:52
BaseType::EquationIdVectorType EquationIdVectorType
Definition: cr_beam_element_3D2N.hpp:55
BaseType::IndexType IndexType
Definition: cr_beam_element_3D2N.hpp:51
BaseType::GeometryType GeometryType
Definition: cr_beam_element_3D2N.hpp:48
BaseType::NodesArrayType NodesArrayType
Definition: cr_beam_element_3D2N.hpp:49
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(CrBeamElement3D2N)
BaseType::DofsVectorType DofsVectorType
Definition: cr_beam_element_3D2N.hpp:56
BaseType::PropertiesType PropertiesType
Definition: cr_beam_element_3D2N.hpp:50
CrBeamElement3D2N()
Definition: cr_beam_element_3D2N.hpp:58
Base class for all Elements.
Definition: element.h:60
std::size_t IndexType
Defines the index type.
Definition: geometrical_object.h:73
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
Definition: amatrix_interface.h:41
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
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
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
std::size_t SizeType
Definition: nurbs_utilities.h:41
pybind11::list CalculateOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo)
Definition: add_mesh_to_python.cpp:142
TDataType Calculate(GeometryType &dummy, const Variable< TDataType > &rVariable)
Definition: add_geometries_to_python.cpp:103
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KratosZeroVector< double > ZeroVector
Definition: amatrix_interface.h:561
Properties PropertiesType
Definition: regenerate_pfem_pressure_conditions_process.h:26
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307
int L
Definition: ode_solve.py:390
def Phi(t)
Definition: quadrature.py:273
dir
Definition: radii_error_plotter.py:10