Seismo-VLAB  1.3
An Open-Source Finite Element Software for Meso-Scale Simulations
Lin3DThinArea Class Reference

Class for creating an area section for 3D analysis with linear elastic material for a shell elements. More...

#include <Lin3DThinArea.hpp>

Inheritance diagram for Lin3DThinArea:
Collaboration diagram for Lin3DThinArea:

Public Member Functions

 Lin3DThinArea (double t, std::unique_ptr< Material > &material)
 Creates a Section to be specified at a Gauss-point in an Element. More...
 
 ~Lin3DThinArea ()
 Destroys this Lin3DThinArea object. More...
 
std::unique_ptr< SectionCopySection ()
 Clone the 'Lin3DThinArea' section. More...
 
Eigen::VectorXd GetStrain ()
 Returns the resultant (generalised) strain vector over the section. More...
 
Eigen::VectorXd GetStress ()
 Returns the resultant (generalised) stress vector over the section. More...
 
Eigen::MatrixXd GetDensity ()
 Access the section density matrix. More...
 
Eigen::MatrixXd GetTangentStiffness ()
 Returns the section stiffness matrix. More...
 
Eigen::MatrixXd GetInitialTangentStiffness ()
 Returns the section initial stiffness matrix. More...
 
Eigen::VectorXd GetStrainAt (double x3=0, double x2=0)
 Returns the section strain at given position. More...
 
Eigen::VectorXd GetStressAt (double x3=0, double x2=0)
 Returns the section stress at given position. More...
 
void CommitState ()
 Perform converged section state update. More...
 
void ReverseState ()
 Reverse the section states to previous converged state. More...
 
void InitialState ()
 Brings the section states to its initial state. More...
 
void UpdateState (const Eigen::VectorXd strain, const unsigned int cond)
 Update the section state for this iteration. More...
 
- Public Member Functions inherited from Section
 Section (std::string name)
 Creates a Section to be specified at a Gauss-point in an Element. More...
 
virtual ~Section ()=0
 Destroys this Section object. More...
 
std::string GetName ()
 Gets Section name. More...
 

Private Attributes

double t
 Thickness. More...
 
Eigen::VectorXd Strain
 Generalized Strain vector. More...
 
std::unique_ptr< MaterialtheMaterial
 The section's material. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Section
Eigen::MatrixXd GetLineRotationMatrix (double theta)
 Gets Local Axis Rotation for Line Section according to provided angle. More...
 
Eigen::MatrixXd GetAreaRotationMatrix (double Theta)
 Gets Local Axis Rotation for Area Section according to provided angle. More...
 
Eigen::MatrixXd GetLineTranslationMatrix (double h, double b, double zc, double yc, unsigned int ip)
 Gets centroid translation axis for Line Section according to insertion point. More...
 
void InsertionPointCoordinates (double &x3, double &x2, double h, double b, double zc, double yc, unsigned int ip)
 Gets the coordinate according to insertion point. More...
 
Eigen::MatrixXd ComputeLineLocalAxes (double h, double b, double zcm, double ycm, double angle, unsigned int ip)
 Transforms generalised strain/stresses from Element to Section local coordinate. More...
 

Detailed Description

Class for creating an area section for 3D analysis with linear elastic material for a shell elements.

See also
Section.hpp

Constructor & Destructor Documentation

◆ Lin3DThinArea()

Lin3DThinArea::Lin3DThinArea ( double  t,
std::unique_ptr< Material > &  material 
)

Creates a Section to be specified at a Gauss-point in an Element.

Parameters
tThe thickness the section.
materialThe Material that this Section is made out of.
Note
Details about local axis rotation can be found at Local Axes.
See also
Lin3DThinArea::h, Lin3DThinArea::theMaterial.

◆ ~Lin3DThinArea()

Lin3DThinArea::~Lin3DThinArea ( )

Destroys this Lin3DThinArea object.

Member Function Documentation

◆ CommitState()

void Lin3DThinArea::CommitState ( )
virtual

Perform converged section state update.

Note
This function sets the trail stress and strain as converged.

Implements Section.

◆ CopySection()

std::unique_ptr<Section> Lin3DThinArea::CopySection ( )
virtual

Clone the 'Lin3DThinArea' section.

Returns
A Section pointer to the derived class.
See also
Section.

Implements Section.

◆ GetDensity()

Eigen::MatrixXd Lin3DThinArea::GetDensity ( )
virtual

Access the section density matrix.

Returns
The section density matrix.

Implements Section.

◆ GetInitialTangentStiffness()

Eigen::MatrixXd Lin3DThinArea::GetInitialTangentStiffness ( )
virtual

Returns the section initial stiffness matrix.

Returns
Matrix with the initial section tangent stiffness matrix.
Note
The initial tangent stiffness matrix is computed when the generalized strain vector is zero.

Implements Section.

◆ GetStrain()

Eigen::VectorXd Lin3DThinArea::GetStrain ( )
virtual

Returns the resultant (generalised) strain vector over the section.

Returns
Vector with the resultant strain components.

Implements Section.

◆ GetStrainAt()

Eigen::VectorXd Lin3DThinArea::GetStrainAt ( double  x3 = 0,
double  x2 = 0 
)
virtual

Returns the section strain at given position.

Parameters
x3Position on the x3-axis where the strain is evaluated.
x2Position on the x2-axis where the strain is evaluated.
Returns
Vector with the strain components at coordinate (x3,x2).

Implements Section.

◆ GetStress()

Eigen::VectorXd Lin3DThinArea::GetStress ( )
virtual

Returns the resultant (generalised) stress vector over the section.

Returns
Vector with the resultant stress components.

Implements Section.

◆ GetStressAt()

Eigen::VectorXd Lin3DThinArea::GetStressAt ( double  x3 = 0,
double  x2 = 0 
)
virtual

Returns the section stress at given position.

Parameters
x3Position on the x3-axis where the stress is evaluated.
x2Position on the x2-axis where the stress is evaluated.
Returns
Vector with the stress components at coordinate (x3,x2).

Implements Section.

◆ GetTangentStiffness()

Eigen::MatrixXd Lin3DThinArea::GetTangentStiffness ( )
virtual

Returns the section stiffness matrix.

Returns
Matrix with the section consistent tangent stiffness matrix.

Implements Section.

◆ InitialState()

void Lin3DThinArea::InitialState ( )
virtual

Brings the section states to its initial state.

Note
This function returns the material states to the beginning.

Implements Section.

◆ ReverseState()

void Lin3DThinArea::ReverseState ( )
virtual

Reverse the section states to previous converged state.

Note
This function returns the material states to previous converged states.

Implements Section.

◆ UpdateState()

void Lin3DThinArea::UpdateState ( const Eigen::VectorXd  strain,
const unsigned int  cond 
)
virtual

Update the section state for this iteration.

Parameters
strainVector with the strain components at this Gauss-point.
condIf the the elastic/plastic material components will be updated.
Note
This function computes the strain and tanget stiffness matrix once the trial strain converged.

Implements Section.

Member Data Documentation

◆ Strain

Eigen::VectorXd Lin3DThinArea::Strain
private

Generalized Strain vector.

◆ t

double Lin3DThinArea::t
private

Thickness.

◆ theMaterial

std::unique_ptr<Material> Lin3DThinArea::theMaterial
private

The section's material.