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

Class for creating a triaxial isotropic linear elastic material in for tri-dimensional elements. More...

#include <Elastic3DLinear.hpp>

Inheritance diagram for Elastic3DLinear:
Collaboration diagram for Elastic3DLinear:

Public Member Functions

 Elastic3DLinear (const double E, const double nu, const double rho=0.0)
 Creates a Elastic3DLinear material to be specified at a Gauss-point in an Element. More...
 
 ~Elastic3DLinear ()
 Destroys this Elastic3DLinear material. More...
 
std::unique_ptr< MaterialCopyMaterial ()
 
double GetDensity () const
 Access material density. More...
 
double GetPoissonRatio () const
 Returns the Poisson's ratio. More...
 
double GetBulkModulus () const
 Access bulk modulus. More...
 
double GetShearModulus () const
 Access shear modulus. More...
 
double GetElasticityModulus () const
 Access modulus of elasticity. More...
 
double GetEnergy () const
 Access the material's energy at current strain. More...
 
Eigen::MatrixXd GetDamping () const
 Returns the material viscous damping. More...
 
Eigen::VectorXd GetStrain () const
 Returns the material strain. More...
 
Eigen::VectorXd GetStress () const
 Returns the material stress. More...
 
Eigen::VectorXd GetStrainRate () const
 Returns the material strain rate. More...
 
Eigen::VectorXd GetTotalStress () const
 Computes the material total stress. More...
 
Eigen::MatrixXd GetTangentStiffness () const
 Returns the material stiffness. More...
 
Eigen::MatrixXd GetInitialTangentStiffness () const
 Returns the initial material stiffness. More...
 
void CommitState ()
 Perform converged material state update. More...
 
void ReverseState ()
 Reverse the material states to previous converged state. More...
 
void InitialState ()
 Brings the material states to its initial state in the element. More...
 
void UpdateState (const Eigen::VectorXd strain, const unsigned int cond)
 Update the material state for this iteration. More...
 
- Public Member Functions inherited from Material
 Material (std::string name, bool model)
 Creates a Material to be specified at a Gauss-point in an Element. More...
 
virtual ~Material ()=0
 Destroys this Material object. More...
 
std::string GetName ()
 Gets material information. More...
 
bool IsViscous ()
 Gets material stress model. More...
 

Private Attributes

double E
 Modulus of elasticity. More...
 
double nu
 Poisson's ratio. More...
 
double Rho
 Material density. More...
 
Eigen::VectorXd Strain
 Strain vector. More...
 
Eigen::VectorXd newStrain
 Commited Strain vector. More...
 
Eigen::MatrixXd TangentStiffness
 Tangent stiffness matrix. More...
 

Detailed Description

Class for creating a triaxial isotropic linear elastic material in for tri-dimensional elements.

See also
Material.hpp

Constructor & Destructor Documentation

◆ Elastic3DLinear()

Elastic3DLinear::Elastic3DLinear ( const double  E,
const double  nu,
const double  rho = 0.0 
)

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

Parameters
EThe material elasticity modulus.
nuThe material Poisson's ratio.
rhoThe material density.
See also
Elastic3DLinear::E, Elastic3DLinear::nu, Elastic3DLinear::Rho.

◆ ~Elastic3DLinear()

Elastic3DLinear::~Elastic3DLinear ( )

Destroys this Elastic3DLinear material.

Member Function Documentation

◆ CommitState()

void Elastic3DLinear::CommitState ( )
virtual

Perform converged material state update.

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

Implements Material.

◆ CopyMaterial()

std::unique_ptr<Material> Elastic3DLinear::CopyMaterial ( )
virtual
Returns
A Material pointer to the Elastic3DLinear derived class.
See also
Material, Elastic3DLinear.

Implements Material.

◆ GetBulkModulus()

double Elastic3DLinear::GetBulkModulus ( ) const
virtual

Access bulk modulus.

Returns
The material bulk's (K) modulus.

Implements Material.

◆ GetDamping()

Eigen::MatrixXd Elastic3DLinear::GetDamping ( ) const
virtual

Returns the material viscous damping.

Returns
Vector with the material damping components.

Implements Material.

◆ GetDensity()

double Elastic3DLinear::GetDensity ( ) const
virtual

Access material density.

Returns
The material density value.
See also
Elastic3DLinear::Rho.

Implements Material.

◆ GetElasticityModulus()

double Elastic3DLinear::GetElasticityModulus ( ) const
virtual

Access modulus of elasticity.

Returns
The material Elasticity's (E) modulus.
See also
Elastic3DLinear::E.

Implements Material.

◆ GetEnergy()

double Elastic3DLinear::GetEnergy ( ) const
virtual

Access the material's energy at current strain.

Returns
Scalar with the material energy value.

Implements Material.

◆ GetInitialTangentStiffness()

Eigen::MatrixXd Elastic3DLinear::GetInitialTangentStiffness ( ) const
virtual

Returns the initial material stiffness.

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

Implements Material.

◆ GetPoissonRatio()

double Elastic3DLinear::GetPoissonRatio ( ) const
virtual

Returns the Poisson's ratio.

Returns
The material poisson's ratio.
See also
Elastic3DLinear::nu.

Implements Material.

◆ GetShearModulus()

double Elastic3DLinear::GetShearModulus ( ) const
virtual

Access shear modulus.

Returns
The material shear's (G) modulus.

Implements Material.

◆ GetStrain()

Eigen::VectorXd Elastic3DLinear::GetStrain ( ) const
virtual

Returns the material strain.

Returns
Vector with the material strain components.
Note
The strain can be revisited in Elastic3DLinear.

Implements Material.

◆ GetStrainRate()

Eigen::VectorXd Elastic3DLinear::GetStrainRate ( ) const
virtual

Returns the material strain rate.

Returns
Vector with the material strain-rate components.
Note
The strain-rate can be revisited in Elastic3DLinear.

Implements Material.

◆ GetStress()

Eigen::VectorXd Elastic3DLinear::GetStress ( ) const
virtual

Returns the material stress.

Returns
Vector with the material stress components.
Note
The stress can be revisited in Elastic3DLinear.

Implements Material.

◆ GetTangentStiffness()

Eigen::MatrixXd Elastic3DLinear::GetTangentStiffness ( ) const
virtual

Returns the material stiffness.

Returns
Matrix with the material tangent stiffness matrix.
Note
The stiffness matrix can be revisited in Elastic3DLinear.

Implements Material.

◆ GetTotalStress()

Eigen::VectorXd Elastic3DLinear::GetTotalStress ( ) const
virtual

Computes the material total stress.

Returns
Vector with the material total stress components.

Implements Material.

◆ InitialState()

void Elastic3DLinear::InitialState ( )
virtual

Brings the material states to its initial state in the element.

Note
This funtion returns the material states to the beginning.

Implements Material.

◆ ReverseState()

void Elastic3DLinear::ReverseState ( )
virtual

Reverse the material states to previous converged state.

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

Implements Material.

◆ UpdateState()

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

Update the material 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 Material.

Member Data Documentation

◆ E

double Elastic3DLinear::E
private

Modulus of elasticity.

◆ newStrain

Eigen::VectorXd Elastic3DLinear::newStrain
private

Commited Strain vector.

◆ nu

double Elastic3DLinear::nu
private

Poisson's ratio.

◆ Rho

double Elastic3DLinear::Rho
private

Material density.

◆ Strain

Eigen::VectorXd Elastic3DLinear::Strain
private

Strain vector.

◆ TangentStiffness

Eigen::MatrixXd Elastic3DLinear::TangentStiffness
private

Tangent stiffness matrix.