33 #ifndef _HDRBYAMAMOTO2DLINK_HPP_ 34 #define _HDRBYAMAMOTO2DLINK_HPP_ 39 #include <Eigen/Dense> 65 HDRBYamamoto2DLink(
const std::vector<unsigned int> nodes,
double de,
double di,
double hr,
unsigned int dim);
90 void SetDomain(std::map<
unsigned int, std::shared_ptr<Node> > &nodes);
95 void SetDamping(
const std::shared_ptr<Damping> &damping);
121 Eigen::MatrixXd
GetStrainAt(
double x3,
double x2)
const;
128 Eigen::MatrixXd
GetStressAt(
double x3,
double x2)
const;
190 Eigen::VectorXd
ComputeBodyForces(
const std::shared_ptr<Load> &body,
unsigned int k=0);
unsigned int nMax
Newton-Raphson maximum number of iterations.
Definition: HDRBYamamoto2DLink.hpp:226
void CommitState()
Save the material states in the element.
This file contains the "Load" class declarations, which defines a load that can act in a node or an e...
Eigen::VectorXd ComputeSurfaceForces(const std::shared_ptr< Load > &surface, unsigned int face)
Compute the surface forces acting on the element.
Eigen::MatrixXd GetStrain() const
Gets the material/section (generalised) strain.
Eigen::VectorXd GetVTKResponse(std::string response) const
Gets the element internal response in VTK format for Paraview display.
Eigen::MatrixXd GetStrainRate() const
Gets the material/section (generalised) strain-rate.
Eigen::MatrixXd ComputeLocalAxes() const
Compute local axes.
HDRBYamamoto2DLink(const std::vector< unsigned int > nodes, double de, double di, double hr, unsigned int dim)
Creates a HDRBYamamoto2DLink in a finite element Mesh.
double alpha
Yamamoto's model parameter.
Definition: HDRBYamamoto2DLink.hpp:205
std::vector< std::shared_ptr< Node > > theNodes
The Element's Nodes.
Definition: HDRBYamamoto2DLink.hpp:247
This file contains the abstract "Material object" declarations, which computes the strain...
void SetDomain(std::map< unsigned int, std::shared_ptr< Node > > &nodes)
Sets the finite element dependance among objects.
unsigned int Dimension
HDRB link dimension in 3D.
Definition: HDRBYamamoto2DLink.hpp:223
double cs
coefficient of shear stress
Definition: HDRBYamamoto2DLink.hpp:220
double Ar
Rubber bearing area.
Definition: HDRBYamamoto2DLink.hpp:208
Eigen::MatrixXd GetStress() const
Gets the material/section (generalised) stress.
void ReverseState()
Reverse the material/section states to previous converged state in this element.
double Hr
Rubber bearing height.
Definition: HDRBYamamoto2DLink.hpp:211
Eigen::MatrixXd ComputeDampingMatrix()
Compute the damping matrix of the element using gauss-integration.
double n
Yamamoto's model parameter.
Definition: HDRBYamamoto2DLink.hpp:202
void InitialState()
Brings the material/section state to its initial state in this element.
double cr
coefficient of shear stress
Definition: HDRBYamamoto2DLink.hpp:217
void UpdateState()
Update the material states in the element.
Eigen::VectorXd ComputeBodyForces(const std::shared_ptr< Load > &body, unsigned int k=0)
Compute the body forces acting on the element.
Eigen::VectorXd ComputeRelativeDeformation() const
Update strain in the element:
Eigen::VectorXd Pn
Displacement Trajectory Vector.
Definition: HDRBYamamoto2DLink.hpp:229
Eigen::MatrixXd ComputePMLMatrix()
Compute the PML history matrix using gauss-integration.
Eigen::VectorXd Qn
Non-linear Displacement Trajectory Vector.
Definition: HDRBYamamoto2DLink.hpp:232
Virtual class for creating an element in a mesh.
Definition: Element.hpp:51
void SetDamping(const std::shared_ptr< Damping > &damping)
Sets the damping model.
Eigen::MatrixXd GetStressAt(double x3, double x2) const
Gets the material stress in section at coordinate (x3,x2).
Eigen::VectorXd Paux
Trial Displacement Trajectory Vector.
Definition: HDRBYamamoto2DLink.hpp:241
Eigen::VectorXd ComputeDomainReductionForces(const std::shared_ptr< Load > &drm, unsigned int k)
Compute the domain reduction forces acting on the element.
Eigen::VectorXd Qaux
Non-linear Displacement Trajectory Vector.
Definition: HDRBYamamoto2DLink.hpp:244
This file contains the "Node object" declarations, which is stores the coordinates, state variables, degrees-of-freedom, and total-degree of freedom lists of a node in a finite element mesh.
Eigen::MatrixXd ComputeStiffnessMatrix()
Compute the stiffness matrix of the element using gauss-integration.
This file contains the "Damping object" declarations to update damping matrix to account for Caughey-...
Eigen::VectorXd ComputeInternalDynamicForces()
Compute the elastic, inertial, and viscous forces acting on the element.
Eigen::MatrixXd ComputeMassMatrix()
Compute the lumped/consistent mass matrix of the element.
Eigen::VectorXd ComputeInternalForces()
Compute the internal (elastic) forces acting on the element.
Eigen::MatrixXd ComputeRotationMatrix() const
Compute rotation matrix.
std::vector< unsigned int > GetTotalDegreeOfFreedom() const
Gets the list of total-degree of freedom of this Element.
Class for creating a bidirectional 2D two-node link element using Yamamoto HDRB formulation.
Definition: HDRBYamamoto2DLink.hpp:54
Eigen::VectorXd Fn
Non-linear Restoring Force Vector.
Definition: HDRBYamamoto2DLink.hpp:235
Eigen::MatrixXd GetStrainAt(double x3, double x2) const
Gets the material strain in section at coordinate (x3,x2).
Eigen::VectorXd Fc
Non-linear Commited Restoring Force Vector.
Definition: HDRBYamamoto2DLink.hpp:238
double ComputeEnergy()
Computes the element energy for a given deformation.
double Krb
Rubber Bearing linear stiffness.
Definition: HDRBYamamoto2DLink.hpp:214
~HDRBYamamoto2DLink()
Destroys this HDRBYamamoto2DLink object.
This file contains the "Element" object declarations, which defines an element in a finite element me...